Show / Hide Table of Contents

Class CfnCaseRulePropsMixin.RequiredCaseRuleProperty

Required rule type, used to indicate whether a field is required.

Inheritance
object
CfnCaseRulePropsMixin.RequiredCaseRuleProperty
Implements
CfnCaseRulePropsMixin.IRequiredCaseRuleProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.Cases.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnCaseRulePropsMixin.RequiredCaseRuleProperty : CfnCaseRulePropsMixin.IRequiredCaseRuleProperty
Syntax (vb)
Public Class CfnCaseRulePropsMixin.RequiredCaseRuleProperty Implements CfnCaseRulePropsMixin.IRequiredCaseRuleProperty
Remarks

In the Amazon Connect admin website, case rules are known as case field conditions . For more information about case field conditions, see Add case field conditions to a case template .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-requiredcaserule.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.Cases.Mixins;

             var emptyValue;

             var requiredCaseRuleProperty = new RequiredCaseRuleProperty {
                 Conditions = new [] { new BooleanConditionProperty {
                     EqualTo = new BooleanOperandsProperty {
                         OperandOne = new OperandOneProperty {
                             FieldId = "fieldId"
                         },
                         OperandTwo = new OperandTwoProperty {
                             BooleanValue = false,
                             DoubleValue = 123,
                             EmptyValue = emptyValue,
                             StringValue = "stringValue"
                         },
                         Result = false
                     },
                     NotEqualTo = new BooleanOperandsProperty {
                         OperandOne = new OperandOneProperty {
                             FieldId = "fieldId"
                         },
                         OperandTwo = new OperandTwoProperty {
                             BooleanValue = false,
                             DoubleValue = 123,
                             EmptyValue = emptyValue,
                             StringValue = "stringValue"
                         },
                         Result = false
                     }
                 } },
                 DefaultValue = false
             };

Synopsis

Constructors

RequiredCaseRuleProperty()

Required rule type, used to indicate whether a field is required.

Properties

Conditions

List of conditions for the required rule;

DefaultValue

The value of the rule (that is, whether the field is required) should none of the conditions evaluate to true.

Constructors

RequiredCaseRuleProperty()

Required rule type, used to indicate whether a field is required.

public RequiredCaseRuleProperty()
Remarks

In the Amazon Connect admin website, case rules are known as case field conditions . For more information about case field conditions, see Add case field conditions to a case template .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-requiredcaserule.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.Cases.Mixins;

             var emptyValue;

             var requiredCaseRuleProperty = new RequiredCaseRuleProperty {
                 Conditions = new [] { new BooleanConditionProperty {
                     EqualTo = new BooleanOperandsProperty {
                         OperandOne = new OperandOneProperty {
                             FieldId = "fieldId"
                         },
                         OperandTwo = new OperandTwoProperty {
                             BooleanValue = false,
                             DoubleValue = 123,
                             EmptyValue = emptyValue,
                             StringValue = "stringValue"
                         },
                         Result = false
                     },
                     NotEqualTo = new BooleanOperandsProperty {
                         OperandOne = new OperandOneProperty {
                             FieldId = "fieldId"
                         },
                         OperandTwo = new OperandTwoProperty {
                             BooleanValue = false,
                             DoubleValue = 123,
                             EmptyValue = emptyValue,
                             StringValue = "stringValue"
                         },
                         Result = false
                     }
                 } },
                 DefaultValue = false
             };

Properties

Conditions

List of conditions for the required rule;

public object? Conditions { get; set; }
Property Value

object

Remarks

the first condition to evaluate to true dictates the value of the rule.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-requiredcaserule.html#cfn-cases-caserule-requiredcaserule-conditions

Type union: either IResolvable or (either IResolvable or CfnCaseRulePropsMixin.IBooleanConditionProperty)[]

DefaultValue

The value of the rule (that is, whether the field is required) should none of the conditions evaluate to true.

public object? DefaultValue { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-requiredcaserule.html#cfn-cases-caserule-requiredcaserule-defaultvalue

Type union: either bool or IResolvable

Implements

CfnCaseRulePropsMixin.IRequiredCaseRuleProperty
Back to top Generated by DocFX