CfnPolicyMixinProps

class aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnPolicyMixinProps(*, definition=None, description=None, name=None, policy_engine_id=None, validation_mode=None)

Bases: object

Properties for CfnPolicyPropsMixin.

Parameters:
  • definition (Union[IResolvable, PolicyDefinitionProperty, Dict[str, Any], None]) – The definition structure for policies. Encapsulates different policy formats.

  • description (Optional[str]) – A human-readable description of the policy’s purpose and functionality.

  • name (Optional[str]) – The customer-assigned immutable name for the policy. Must be unique within the policy engine.

  • policy_engine_id (Optional[str]) – The identifier of the policy engine which contains this policy.

  • validation_mode (Optional[str]) – The validation mode for the policy. Determines how Cedar analyzer validation results are handled.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-policy.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_policy_mixin_props = bedrockagentcore.CfnPolicyMixinProps(
    definition=bedrockagentcore.CfnPolicyPropsMixin.PolicyDefinitionProperty(
        cedar=bedrockagentcore.CfnPolicyPropsMixin.CedarPolicyProperty(
            statement="statement"
        )
    ),
    description="description",
    name="name",
    policy_engine_id="policyEngineId",
    validation_mode="validationMode"
)

Attributes

definition

The definition structure for policies.

Encapsulates different policy formats.

See:

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

description

A human-readable description of the policy’s purpose and functionality.

See:

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

name

The customer-assigned immutable name for the policy.

Must be unique within the policy engine.

See:

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

policy_engine_id

The identifier of the policy engine which contains this policy.

See:

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

validation_mode

The validation mode for the policy.

Determines how Cedar analyzer validation results are handled.

See:

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