package awsvpclattice // 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" // // var policy interface{} // // cfnResourcePolicyProps := &CfnResourcePolicyProps{ // Policy: policy, // ResourceArn: jsii.String("resourceArn"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcepolicy.html // type CfnResourcePolicyProps struct { // The Amazon Resource Name (ARN) of the service network or service. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcepolicy.html#cfn-vpclattice-resourcepolicy-policy // Policy interface{} `field:"required" json:"policy" yaml:"policy"` // An IAM policy. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcepolicy.html#cfn-vpclattice-resourcepolicy-resourcearn // ResourceArn *string `field:"required" json:"resourceArn" yaml:"resourceArn"` }