SubSlotTypeCompositionProperty Struct
Subslot type composition.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from 'aws-cdk-lib';
const subSlotTypeCompositionProperty: lex.CfnBot.SubSlotTypeCompositionProperty = {
name: 'name',
// the properties below are optional
slotTypeId: 'slotTypeId',
slotTypeName: 'slotTypeName',
};
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_lex as lex
sub_slot_type_composition_property = lex.CfnBot.SubSlotTypeCompositionProperty(
name="name",
# the properties below are optional
slot_type_id="slotTypeId",
slot_type_name="slotTypeName"
)
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.lex.*;
SubSlotTypeCompositionProperty subSlotTypeCompositionProperty = SubSlotTypeCompositionProperty.builder()
.name("name")
// the properties below are optional
.slotTypeId("slotTypeId")
.slotTypeName("slotTypeName")
.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.Lex;
var subSlotTypeCompositionProperty = new SubSlotTypeCompositionProperty {
Name = "name",
// the properties below are optional
SlotTypeId = "slotTypeId",
SlotTypeName = "slotTypeName"
};
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"
subSlotTypeCompositionProperty := &SubSlotTypeCompositionProperty{
Name: jsii.String("name"),
// the properties below are optional
SlotTypeId: jsii.String("slotTypeId"),
SlotTypeName: jsii.String("slotTypeName"),
}
Properties
Name of a constituent sub slot inside a composite slot.
slotTypeIdoptionalstringslot_type_idoptionalstrslotTypeIdoptionalStringSlotTypeIdoptionalstringSlotTypeIdoptional*string#The unique identifier assigned to a slot type.
This refers to either a built-in slot type or the unique slotTypeId of a custom slot type.
slotTypeNameoptionalstringslot_type_nameoptionalstrslotTypeNameoptionalStringSlotTypeNameoptionalstringSlotTypeNameoptional*string#