driftctl/pkg/resource/aws/aws_iam_policy.go

23 lines
601 B
Go

// GENERATED, DO NOT EDIT THIS FILE
package aws
const AwsIamPolicyResourceType = "aws_iam_policy"
type AwsIamPolicy struct {
Arn *string `cty:"arn" computed:"true"`
Description *string `cty:"description"`
Id string `cty:"id" computed:"true"`
Name *string `cty:"name" computed:"true"`
NamePrefix *string `cty:"name_prefix" diff:"-"`
Path *string `cty:"path"`
Policy *string `cty:"policy" jsonstring:"true"`
}
func (r *AwsIamPolicy) TerraformId() string {
return r.Id
}
func (r *AwsIamPolicy) TerraformType() string {
return AwsIamPolicyResourceType
}