interface CfnResourcePolicyProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.VpcLattice.CfnResourcePolicyProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsvpclattice#CfnResourcePolicyProps |
Java | software.amazon.awscdk.services.vpclattice.CfnResourcePolicyProps |
Python | aws_cdk.aws_vpclattice.CfnResourcePolicyProps |
TypeScript | aws-cdk-lib » aws_vpclattice » CfnResourcePolicyProps |
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 { aws_vpclattice as vpclattice } from 'aws-cdk-lib';
declare const policy: any;
const cfnResourcePolicyProps: vpclattice.CfnResourcePolicyProps = {
policy: policy,
resourceArn: 'resourceArn',
};
Properties
Name | Type | Description |
---|---|---|
policy | any | The Amazon Resource Name (ARN) of the service network or service. |
resource | string | An IAM policy. |
policy
Type:
any
The Amazon Resource Name (ARN) of the service network or service.
resourceArn
Type:
string
An IAM policy.