CfnCaseRuleProps
- class aws_cdk.aws_cases.CfnCaseRuleProps(*, name, rule, description=None, domain_id=None, tags=None)
Bases:
objectProperties for defining a
CfnCaseRule.- Parameters:
name (
str) – Name of the case rule.rule (
Union[IResolvable,CaseRuleDetailsProperty,Dict[str,Any]]) – Represents what rule type should take place, under what conditions.description (
Optional[str]) – Description of a case rule.domain_id (
Optional[str]) – Unique identifier of a Cases domain.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to this resource.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-caserule.html
- 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_cases as cases # empty_value: Any cfn_case_rule_props = cases.CfnCaseRuleProps( name="name", rule=cases.CfnCaseRule.CaseRuleDetailsProperty( hidden=cases.CfnCaseRule.HiddenCaseRuleProperty( conditions=[cases.CfnCaseRule.BooleanConditionProperty( equal_to=cases.CfnCaseRule.BooleanOperandsProperty( operand_one=cases.CfnCaseRule.OperandOneProperty( field_id="fieldId" ), operand_two=cases.CfnCaseRule.OperandTwoProperty( boolean_value=False, double_value=123, empty_value=empty_value, string_value="stringValue" ), result=False ), not_equal_to=cases.CfnCaseRule.BooleanOperandsProperty( operand_one=cases.CfnCaseRule.OperandOneProperty( field_id="fieldId" ), operand_two=cases.CfnCaseRule.OperandTwoProperty( boolean_value=False, double_value=123, empty_value=empty_value, string_value="stringValue" ), result=False ) )], default_value=False ), required=cases.CfnCaseRule.RequiredCaseRuleProperty( conditions=[cases.CfnCaseRule.BooleanConditionProperty( equal_to=cases.CfnCaseRule.BooleanOperandsProperty( operand_one=cases.CfnCaseRule.OperandOneProperty( field_id="fieldId" ), operand_two=cases.CfnCaseRule.OperandTwoProperty( boolean_value=False, double_value=123, empty_value=empty_value, string_value="stringValue" ), result=False ), not_equal_to=cases.CfnCaseRule.BooleanOperandsProperty( operand_one=cases.CfnCaseRule.OperandOneProperty( field_id="fieldId" ), operand_two=cases.CfnCaseRule.OperandTwoProperty( boolean_value=False, double_value=123, empty_value=empty_value, string_value="stringValue" ), result=False ) )], default_value=False ) ), # the properties below are optional description="description", domain_id="domainId", tags=[CfnTag( key="key", value="value" )] )
Attributes
- description
Description of a case rule.
- domain_id
Unique identifier of a Cases domain.
- name
Name of the case rule.
- rule
Represents what rule type should take place, under what conditions.
- tags
An array of key-value pairs to apply to this resource.