Skip to content
v2.274.0

CfnResourcePolicyProps Struct ​

Properties for defining a CfnResourcePolicy.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const cfnResourcePolicyProps: bedrockagentcore.CfnResourcePolicyProps = {
  policy: 'policy',
  resourceArn: 'resourceArn',
};

Properties ​

policystringpolicystrpolicyStringPolicystringPolicy*stringrequired#
The resource policy to create or update.
resourceArnstringresource_arnstrresourceArnStringResourceArnstringResourceArn*stringrequired#
The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.