DefaultFieldValueProperty Struct
Describes a default field and its corresponding value.
| 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';
const defaultFieldValueProperty: connect.CfnTaskTemplate.DefaultFieldValueProperty = {
defaultValue: 'defaultValue',
id: {
name: 'name',
},
};
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
default_field_value_property = connect.CfnTaskTemplate.DefaultFieldValueProperty(
default_value="defaultValue",
id=connect.CfnTaskTemplate.FieldIdentifierProperty(
name="name"
)
)
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.*;
DefaultFieldValueProperty defaultFieldValueProperty = DefaultFieldValueProperty.builder()
.defaultValue("defaultValue")
.id(FieldIdentifierProperty.builder()
.name("name")
.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 defaultFieldValueProperty = new DefaultFieldValueProperty {
DefaultValue = "defaultValue",
Id = new FieldIdentifierProperty {
Name = "name"
}
};
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"
defaultFieldValueProperty := &DefaultFieldValueProperty{
DefaultValue: jsii.String("defaultValue"),
Id: &FieldIdentifierProperty{
Name: jsii.String("name"),
},
}
Properties
defaultValuestringdefault_valuestrdefaultValueStringDefaultValuestringDefaultValue*string required #Default value for the field.
idIResolvable | CfnTaskTemplate.idtyping.Union[IResolvable, FieldIdentifierProperty]idIResolvableIdIResolvableIdinterface{} required #Identifier of a field.