CfnAutomatedReasoningPolicyMixinProps

class aws_cdk.mixins_preview.aws_bedrock.mixins.CfnAutomatedReasoningPolicyMixinProps(*, description=None, force_delete=None, kms_key_id=None, name=None, policy_definition=None, tags=None)

Bases: object

Properties for CfnAutomatedReasoningPolicyPropsMixin.

Parameters:
  • description (Optional[str]) – The description of the policy.

  • force_delete (Union[bool, IResolvable, None]) – Specifies whether to force delete the automated reasoning policy even if it has active resources. When false , Amazon Bedrock validates if all artifacts have been deleted (e.g. policy version, test case, test result) for a policy before deletion. When true , Amazon Bedrock will delete the policy and all its artifacts without validation. Default is false Default: - false

  • kms_key_id (Optional[str]) – The KMS key with which the Policy’s assets will be encrypted at rest.

  • name (Optional[str]) – The name of the policy.

  • policy_definition (Union[IResolvable, PolicyDefinitionProperty, Dict[str, Any], None]) – The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags associated with the Automated Reasoning policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-automatedreasoningpolicy.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.mixins_preview.aws_bedrock import mixins as bedrock_mixins

cfn_automated_reasoning_policy_mixin_props = bedrock_mixins.CfnAutomatedReasoningPolicyMixinProps(
    description="description",
    force_delete=False,
    kms_key_id="kmsKeyId",
    name="name",
    policy_definition=bedrock_mixins.CfnAutomatedReasoningPolicyPropsMixin.PolicyDefinitionProperty(
        rules=[bedrock_mixins.CfnAutomatedReasoningPolicyPropsMixin.PolicyDefinitionRuleProperty(
            alternate_expression="alternateExpression",
            expression="expression",
            id="id"
        )],
        types=[bedrock_mixins.CfnAutomatedReasoningPolicyPropsMixin.PolicyDefinitionTypeProperty(
            description="description",
            name="name",
            values=[bedrock_mixins.CfnAutomatedReasoningPolicyPropsMixin.PolicyDefinitionTypeValueProperty(
                description="description",
                value="value"
            )]
        )],
        variables=[bedrock_mixins.CfnAutomatedReasoningPolicyPropsMixin.PolicyDefinitionVariableProperty(
            description="description",
            name="name",
            type="type"
        )],
        version="version"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

The description of the policy.

See:

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

force_delete

Specifies whether to force delete the automated reasoning policy even if it has active resources.

When false , Amazon Bedrock validates if all artifacts have been deleted (e.g. policy version, test case, test result) for a policy before deletion. When true , Amazon Bedrock will delete the policy and all its artifacts without validation. Default is false

Default:
  • false

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-automatedreasoningpolicy.html#cfn-bedrock-automatedreasoningpolicy-forcedelete

kms_key_id

The KMS key with which the Policy’s assets will be encrypted at rest.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-automatedreasoningpolicy.html#cfn-bedrock-automatedreasoningpolicy-kmskeyid

name

The name of the policy.

See:

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

policy_definition

The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-automatedreasoningpolicy.html#cfn-bedrock-automatedreasoningpolicy-policydefinition

tags

The tags associated with the Automated Reasoning policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-automatedreasoningpolicy.html#cfn-bedrock-automatedreasoningpolicy-tags