FieldProperty Struct
| 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_connect as connect } from 'aws-cdk-lib';
declare const emptyValue: any;
const fieldProperty: connect.CfnRule.FieldProperty = {
id: 'id',
value: {
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_connect as connect
# empty_value: Any
field_property = connect.CfnRule.FieldProperty(
id="id",
value=connect.CfnRule.FieldValueProperty(
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.connect.*;
Object emptyValue;
FieldProperty fieldProperty = FieldProperty.builder()
.id("id")
.value(FieldValueProperty.builder()
.booleanValue(false)
.doubleValue(123)
.emptyValue(emptyValue)
.stringValue("stringValue")
.build())
.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.Connect;
var emptyValue;
var fieldProperty = new FieldProperty {
Id = "id",
Value = new FieldValueProperty {
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{}
fieldProperty := &FieldProperty{
Id: jsii.String("id"),
Value: &FieldValueProperty{
BooleanValue: jsii.Boolean(false),
DoubleValue: jsii.Number(123),
EmptyValue: emptyValue,
StringValue: jsii.String("stringValue"),
},
}
Properties
valueIResolvable | CfnRule.FieldValuePropertyvaluetyping.Union[IResolvable, FieldValueProperty]valueIResolvableValueIResolvableValueinterface{} required #Object for case field values.