CfnAutomatedReasoningPolicyProps

class aws_cdk.aws_bedrock.CfnAutomatedReasoningPolicyProps(*, name, description=None, policy_definition=None, tags=None)

Bases: object

Properties for defining a CfnAutomatedReasoningPolicy.

Parameters:
  • name (str) – The name of the policy.

  • description (Optional[str]) – The description 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 import aws_bedrock as bedrock

cfn_automated_reasoning_policy_props = bedrock.CfnAutomatedReasoningPolicyProps(
    name="name",

    # the properties below are optional
    description="description",
    policy_definition=bedrock.CfnAutomatedReasoningPolicy.PolicyDefinitionProperty(
        rules=[bedrock.CfnAutomatedReasoningPolicy.PolicyDefinitionRuleProperty(
            expression="expression",
            id="id",

            # the properties below are optional
            alternate_expression="alternateExpression"
        )],
        types=[bedrock.CfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty(
            name="name",
            values=[bedrock.CfnAutomatedReasoningPolicy.PolicyDefinitionTypeValueProperty(
                value="value",

                # the properties below are optional
                description="description"
            )],

            # the properties below are optional
            description="description"
        )],
        variables=[bedrock.CfnAutomatedReasoningPolicy.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

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