AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Bedrock::ResourcePolicy

CfnResourcePolicy

Definition of AWS::Bedrock::ResourcePolicy Resource Type.

Import

import { CfnResourcePolicy } from 'aws-cdk-lib/aws-bedrock';

Or use the module namespace:

import * as bedrock from 'aws-cdk-lib/aws-bedrock';
// bedrock.CfnResourcePolicy

Properties

Configuration passed to the constructor as CfnResourcePolicyProps.

policyDocumentRequired
any

The IAM policy document defining access permissions for the guardrail and guardrail profile resources.

resourceArnRequired
string

The ARN of the Bedrock Guardrail or Guardrail Profile resource.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter