interface CfnResourcePolicyProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.CfnResourcePolicyProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnResourcePolicyProps |
Java | software.amazon.awscdk.services.bedrock.CfnResourcePolicyProps |
Python | aws_cdk.aws_bedrock.CfnResourcePolicyProps |
TypeScript | aws-cdk-lib » aws_bedrock » 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_bedrock as bedrock } from 'aws-cdk-lib';
declare const policyDocument: any;
const cfnResourcePolicyProps: bedrock.CfnResourcePolicyProps = {
policyDocument: policyDocument,
resourceArn: 'resourceArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| policy | any | The IAM policy document defining access permissions for the guardrail and guardrail profile resources. |
| resource | string | The ARN of the Bedrock Guardrail or Guardrail Profile resource. |
policyDocument
Type:
any
The IAM policy document defining access permissions for the guardrail and guardrail profile resources.
resourceArn
Type:
string
The ARN of the Bedrock Guardrail or Guardrail Profile resource.

.NET
Go
Java
Python
TypeScript