CfnAutomatedReasoningPolicyProps
- class aws_cdk.aws_bedrock.CfnAutomatedReasoningPolicyProps(*, name, description=None, force_delete=None, kms_key_id=None, policy_definition=None, tags=None)
Bases:
objectProperties for defining a
CfnAutomatedReasoningPolicy.- Parameters:
name (
str) – The name of the policy.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: - falsekms_key_id (
Optional[str]) – The KMS key with which the Policy’s assets will be encrypted at rest.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:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # 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", force_delete=False, kms_key_id="kmsKeyId", 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.
- 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
- kms_key_id
The KMS key with which the Policy’s assets will be encrypted at rest.
- name
The name of the policy.
- policy_definition
The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents.
- tags
The tags associated with the Automated Reasoning policy.