package awsiot // Properties for defining a `CfnPolicy`. // // 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" // // var policyDocument interface{} // // cfnPolicyProps := &CfnPolicyProps{ // PolicyDocument: policyDocument, // // // the properties below are optional // PolicyName: jsii.String("policyName"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policy.html // type CfnPolicyProps struct { // The JSON document that describes the policy. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policy.html#cfn-iot-policy-policydocument // PolicyDocument interface{} `field:"required" json:"policyDocument" yaml:"policyDocument"` // The policy name. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policy.html#cfn-iot-policy-policyname // PolicyName *string `field:"optional" json:"policyName" yaml:"policyName"` }