driftctl/pkg/resource/aws/aws_iam_role_policy_attachm...

19 lines
477 B
Go
Raw Normal View History

// GENERATED, DO NOT EDIT THIS FILE
package aws
const AwsIamRolePolicyAttachmentResourceType = "aws_iam_role_policy_attachment"
type AwsIamRolePolicyAttachment struct {
Id string `cty:"id" computed:"true"`
PolicyArn *string `cty:"policy_arn"`
Role *string `cty:"role"`
}
func (r *AwsIamRolePolicyAttachment) TerraformId() string {
return r.Id
}
func (r *AwsIamRolePolicyAttachment) TerraformType() string {
return AwsIamRolePolicyAttachmentResourceType
}