driftctl/pkg/resource/aws/aws_iam_role_policy.go

28 lines
682 B
Go
Raw Normal View History

// GENERATED, DO NOT EDIT THIS FILE
package aws
2021-03-25 11:13:52 +00:00
import "github.com/zclconf/go-cty/cty"
const AwsIamRolePolicyResourceType = "aws_iam_role_policy"
type AwsIamRolePolicy struct {
2021-03-25 11:13:52 +00:00
Id string `cty:"id" computed:"true"`
Name *string `cty:"name" computed:"true"`
NamePrefix *string `cty:"name_prefix"`
Policy *string `cty:"policy" jsonstring:"true"`
Role *string `cty:"role"`
CtyVal *cty.Value `diff:"-"`
}
func (r *AwsIamRolePolicy) TerraformId() string {
return r.Id
}
func (r *AwsIamRolePolicy) TerraformType() string {
return AwsIamRolePolicyResourceType
}
2021-03-25 11:13:52 +00:00
func (r *AwsIamRolePolicy) CtyValue() *cty.Value {
return r.CtyVal
}