driftctl/pkg/resource/aws/aws_iam_user_policy_attachm...

26 lines
640 B
Go

// GENERATED, DO NOT EDIT THIS FILE
package aws
import "github.com/zclconf/go-cty/cty"
const AwsIamUserPolicyAttachmentResourceType = "aws_iam_user_policy_attachment"
type AwsIamUserPolicyAttachment struct {
Id string `cty:"id" computed:"true"`
PolicyArn *string `cty:"policy_arn"`
User *string `cty:"user"`
CtyVal *cty.Value `diff:"-"`
}
func (r *AwsIamUserPolicyAttachment) TerraformId() string {
return r.Id
}
func (r *AwsIamUserPolicyAttachment) TerraformType() string {
return AwsIamUserPolicyAttachmentResourceType
}
func (r *AwsIamUserPolicyAttachment) CtyValue() *cty.Value {
return r.CtyVal
}