-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnResourcePolicyProps.go
30 lines (27 loc) · 1.23 KB
/
CfnResourcePolicyProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"`
}