CfnResourcePolicyMixinProps

class aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnResourcePolicyMixinProps(*, policy=None, resource_arn=None)

Bases: object

Properties for CfnResourcePolicyPropsMixin.

Parameters:
  • policy (Optional[str]) – The resource policy to create or update.

  • resource_arn (Optional[str]) – The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-resourcepolicy.html

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.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore

cfn_resource_policy_mixin_props = bedrockagentcore.CfnResourcePolicyMixinProps(
    policy="policy",
    resource_arn="resourceArn"
)

Attributes

policy

The resource policy to create or update.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-resourcepolicy.html#cfn-bedrockagentcore-resourcepolicy-policy

resource_arn

The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-resourcepolicy.html#cfn-bedrockagentcore-resourcepolicy-resourcearn