2021-02-04 15:11:51 +00:00
|
|
|
// GENERATED, DO NOT EDIT THIS FILE
|
|
|
|
package aws
|
|
|
|
|
2021-03-25 11:13:52 +00:00
|
|
|
import "github.com/zclconf/go-cty/cty"
|
|
|
|
|
2021-02-04 15:11:51 +00:00
|
|
|
const AwsSnsTopicPolicyResourceType = "aws_sns_topic_policy"
|
|
|
|
|
|
|
|
type AwsSnsTopicPolicy struct {
|
2021-03-25 11:13:52 +00:00
|
|
|
Arn *string `cty:"arn"`
|
|
|
|
Id string `cty:"id" computed:"true"`
|
|
|
|
Policy *string `cty:"policy" jsonstring:"true"`
|
|
|
|
CtyVal *cty.Value `diff:"-"`
|
2021-02-04 15:11:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (r *AwsSnsTopicPolicy) TerraformId() string {
|
|
|
|
return r.Id
|
|
|
|
}
|
|
|
|
|
|
|
|
func (r *AwsSnsTopicPolicy) TerraformType() string {
|
|
|
|
return AwsSnsTopicPolicyResourceType
|
|
|
|
}
|
2021-03-25 11:13:52 +00:00
|
|
|
|
|
|
|
func (r *AwsSnsTopicPolicy) CtyValue() *cty.Value {
|
|
|
|
return r.CtyVal
|
|
|
|
}
|