driftctl/pkg/resource/aws/aws_s3_bucket_policy.go

19 lines
447 B
Go

// GENERATED, DO NOT EDIT THIS FILE
package aws
const AwsS3BucketPolicyResourceType = "aws_s3_bucket_policy"
type AwsS3BucketPolicy struct {
Bucket *string `cty:"bucket" diff:"-"`
Id string `cty:"id" diff:"-" computed:"true"`
Policy *string `cty:"policy" jsonstring:"true"`
}
func (r *AwsS3BucketPolicy) TerraformId() string {
return r.Id
}
func (r *AwsS3BucketPolicy) TerraformType() string {
return AwsS3BucketPolicyResourceType
}