interface CfnResourcePolicyProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnResourcePolicyProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnResourcePolicyProps |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnResourcePolicyProps |
Python | aws_cdk.aws_bedrockagentcore.CfnResourcePolicyProps |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » 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_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const cfnResourcePolicyProps: bedrockagentcore.CfnResourcePolicyProps = {
policy: 'policy',
resourceArn: 'resourceArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| policy | string | The resource policy to create or update. |
| resource | string | The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy. |
policy
Type:
string
The resource policy to create or update.
resourceArn
Type:
string
The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.

.NET
Go
Java
Python
TypeScript