package awslogs // Properties for defining a `CfnResourcePolicy`. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // cfnResourcePolicyProps := &CfnResourcePolicyProps{ // PolicyDocument: jsii.String("policyDocument"), // PolicyName: jsii.String("policyName"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-resourcepolicy.html // type CfnResourcePolicyProps struct { // The details of the policy. // // It must be formatted in JSON, and you must use backslashes to escape characters that need to be escaped in JSON strings, such as double quote marks. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-resourcepolicy.html#cfn-logs-resourcepolicy-policydocument // PolicyDocument *string `field:"required" json:"policyDocument" yaml:"policyDocument"` // The name of the resource policy. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-resourcepolicy.html#cfn-logs-resourcepolicy-policyname // PolicyName *string `field:"required" json:"policyName" yaml:"policyName"` }