package awsiam // Properties for defining a `CfnUserPolicy`. // // 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{} // // cfnUserPolicyProps := &CfnUserPolicyProps{ // PolicyName: jsii.String("policyName"), // UserName: jsii.String("userName"), // // // the properties below are optional // PolicyDocument: policyDocument, // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-userpolicy.html // type CfnUserPolicyProps struct { // The name of the policy document. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-userpolicy.html#cfn-iam-userpolicy-policyname // PolicyName *string `field:"required" json:"policyName" yaml:"policyName"` // The name of the user to associate the policy with. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-userpolicy.html#cfn-iam-userpolicy-username // UserName *string `field:"required" json:"userName" yaml:"userName"` // The policy document. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-userpolicy.html#cfn-iam-userpolicy-policydocument // PolicyDocument interface{} `field:"optional" json:"policyDocument" yaml:"policyDocument"` }