CfnResourcePolicyProps
- class aws_cdk.aws_bedrockagentcore.CfnResourcePolicyProps(*, policy, resource_arn)
Bases:
objectProperties for defining a
CfnResourcePolicy.- Parameters:
policy (
str) – The resource policy to create or update.resource_arn (
str) – The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.
- 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_bedrockagentcore as bedrockagentcore cfn_resource_policy_props = bedrockagentcore.CfnResourcePolicyProps( policy="policy", resource_arn="resourceArn" )
Attributes
- policy
The resource policy to create or update.
- resource_arn
The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.