// 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
}
