interface SubSlotTypeCompositionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.SubSlotTypeCompositionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_SubSlotTypeCompositionProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.SubSlotTypeCompositionProperty |
Python | aws_cdk.aws_lex.CfnBot.SubSlotTypeCompositionProperty |
TypeScript | aws-cdk-lib » aws_lex » CfnBot » SubSlotTypeCompositionProperty |
Subslot type composition.
Example
// 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',
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Name of a constituent sub slot inside a composite slot. |
| slot | string | The unique identifier assigned to a slot type. |
| slot | string |
name
Type:
string
Name of a constituent sub slot inside a composite slot.
slotTypeId?
Type:
string
(optional)
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.
slotTypeName?
Type:
string
(optional)

.NET
Go
Java
Python
TypeScript