CfnResourcePolicyProps
- class aws_cdk.aws_bedrock.CfnResourcePolicyProps(*, policy_document, resource_arn)
Bases:
objectProperties for defining a
CfnResourcePolicy.- Parameters:
policy_document (
Any) – The IAM policy document defining access permissions for the guardrail and guardrail profile resources.resource_arn (
str) – The ARN of the Bedrock Guardrail or Guardrail Profile resource.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_bedrock as bedrock # policy_document: Any cfn_resource_policy_props = bedrock.CfnResourcePolicyProps( policy_document=policy_document, resource_arn="resourceArn" )
Attributes
- policy_document
The IAM policy document defining access permissions for the guardrail and guardrail profile resources.
- resource_arn
The ARN of the Bedrock Guardrail or Guardrail Profile resource.