OperandTwoProperty Struct
Represents the right hand operand in the condition.
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 .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cases as cases } from 'aws-cdk-lib';
declare const emptyValue: any;
const operandTwoProperty: cases.CfnCaseRule.OperandTwoProperty = {
booleanValue: false,
doubleValue: 123,
emptyValue: emptyValue,
stringValue: 'stringValue',
};
python
# 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
operand_two_property = cases.CfnCaseRule.OperandTwoProperty(
boolean_value=False,
double_value=123,
empty_value=empty_value,
string_value="stringValue"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cases.*;
Object emptyValue;
OperandTwoProperty operandTwoProperty = OperandTwoProperty.builder()
.booleanValue(false)
.doubleValue(123)
.emptyValue(emptyValue)
.stringValue("stringValue")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cases;
var emptyValue;
var operandTwoProperty = new OperandTwoProperty {
BooleanValue = false,
DoubleValue = 123,
EmptyValue = emptyValue,
StringValue = "stringValue"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var emptyValue interface{}
operandTwoProperty := &OperandTwoProperty{
BooleanValue: jsii.Boolean(false),
DoubleValue: jsii.Number(123),
EmptyValue: emptyValue,
StringValue: jsii.String("stringValue"),
}
Properties
booleanValueoptionalboolean | IResolvableboolean_valueoptionaltyping.Union[bool, IResolvable]booleanValueoptionalBooleanBooleanValueoptionalboolBooleanValueoptionalinterface{} #Boolean value type.
doubleValueoptionalnumberdouble_valueoptionalint | floatdoubleValueoptionalNumberDoubleValueoptionaldoubleDoubleValueoptional*float64 #Double value type.
emptyValueoptionalanyempty_valueoptionalAnyemptyValueoptionalObjectEmptyValueoptionalobjectEmptyValueoptionalinterface{} #Represents an empty operand value.
notes
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 .
stringValueoptionalstringstring_valueoptionalstrstringValueoptionalStringStringValueoptionalstringStringValueoptional*string #String value type.