# SpecificationsProperty

Subslot specifications.

- Source: Generated at build time
- Type last changed: v2.234.0 · 8 Jan 2026

## Example

TypeScript:

```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 specificationsProperty: lex.CfnBot.SpecificationsProperty = {
  valueElicitationSetting: {
    defaultValueSpecification: {
      defaultValueList: [{
        defaultValue: 'defaultValue',
      }],
    },
    promptSpecification: {
      maxRetries: 123,
      messageGroupsList: [{
        message: {
          customPayload: {
            value: 'value',
          },
          imageResponseCard: {
            title: 'title',

            // the properties below are optional
            buttons: [{
              text: 'text',
              value: 'value',
            }],
            imageUrl: 'imageUrl',
            subtitle: 'subtitle',
          },
          plainTextMessage: {
            value: 'value',
          },
          ssmlMessage: {
            value: 'value',
          },
        },

        // the properties below are optional
        variations: [{
          customPayload: {
            value: 'value',
          },
          imageResponseCard: {
            title: 'title',

            // the properties below are optional
            buttons: [{
              text: 'text',
              value: 'value',
            }],
            imageUrl: 'imageUrl',
            subtitle: 'subtitle',
          },
          plainTextMessage: {
            value: 'value',
          },
          ssmlMessage: {
            value: 'value',
          },
        }],
      }],

      // the properties below are optional
      allowInterrupt: false,
      messageSelectionStrategy: 'messageSelectionStrategy',
      promptAttemptsSpecification: {
        promptAttemptsSpecificationKey: {
          allowedInputTypes: {
            allowAudioInput: false,
            allowDtmfInput: false,
          },

          // the properties below are optional
          allowInterrupt: false,
          audioAndDtmfInputSpecification: {
            startTimeoutMs: 123,

            // the properties below are optional
            audioSpecification: {
              endTimeoutMs: 123,
              maxLengthMs: 123,
            },
            dtmfSpecification: {
              deletionCharacter: 'deletionCharacter',
              endCharacter: 'endCharacter',
              endTimeoutMs: 123,
              maxLength: 123,
            },
          },
          textInputSpecification: {
            startTimeoutMs: 123,
          },
        },
      },
    },
    sampleUtterances: [{
      utterance: 'utterance',
    }],
    waitAndContinueSpecification: {
      continueResponse: {
        messageGroupsList: [{
          message: {
            customPayload: {
              value: 'value',
            },
            imageResponseCard: {
              title: 'title',

              // the properties below are optional
              buttons: [{
                text: 'text',
                value: 'value',
              }],
              imageUrl: 'imageUrl',
              subtitle: 'subtitle',
            },
            plainTextMessage: {
              value: 'value',
            },
            ssmlMessage: {
              value: 'value',
            },
          },

          // the properties below are optional
          variations: [{
            customPayload: {
              value: 'value',
            },
            imageResponseCard: {
              title: 'title',

              // the properties below are optional
              buttons: [{
                text: 'text',
                value: 'value',
              }],
              imageUrl: 'imageUrl',
              subtitle: 'subtitle',
            },
            plainTextMessage: {
              value: 'value',
            },
            ssmlMessage: {
              value: 'value',
            },
          }],
        }],

        // the properties below are optional
        allowInterrupt: false,
      },
      isActive: false,
      stillWaitingResponse: {
        frequencyInSeconds: 123,
        messageGroupsList: [{
          message: {
            customPayload: {
              value: 'value',
            },
            imageResponseCard: {
              title: 'title',

              // the properties below are optional
              buttons: [{
                text: 'text',
                value: 'value',
              }],
              imageUrl: 'imageUrl',
              subtitle: 'subtitle',
            },
            plainTextMessage: {
              value: 'value',
            },
            ssmlMessage: {
              value: 'value',
            },
          },

          // the properties below are optional
          variations: [{
            customPayload: {
              value: 'value',
            },
            imageResponseCard: {
              title: 'title',

              // the properties below are optional
              buttons: [{
                text: 'text',
                value: 'value',
              }],
              imageUrl: 'imageUrl',
              subtitle: 'subtitle',
            },
            plainTextMessage: {
              value: 'value',
            },
            ssmlMessage: {
              value: 'value',
            },
          }],
        }],
        timeoutInSeconds: 123,

        // the properties below are optional
        allowInterrupt: false,
      },
      waitingResponse: {
        messageGroupsList: [{
          message: {
            customPayload: {
              value: 'value',
            },
            imageResponseCard: {
              title: 'title',

              // the properties below are optional
              buttons: [{
                text: 'text',
                value: 'value',
              }],
              imageUrl: 'imageUrl',
              subtitle: 'subtitle',
            },
            plainTextMessage: {
              value: 'value',
            },
            ssmlMessage: {
              value: 'value',
            },
          },

          // the properties below are optional
          variations: [{
            customPayload: {
              value: 'value',
            },
            imageResponseCard: {
              title: 'title',

              // the properties below are optional
              buttons: [{
                text: 'text',
                value: 'value',
              }],
              imageUrl: 'imageUrl',
              subtitle: 'subtitle',
            },
            plainTextMessage: {
              value: 'value',
            },
            ssmlMessage: {
              value: 'value',
            },
          }],
        }],

        // the properties below are optional
        allowInterrupt: false,
      },
    },
  },

  // the properties below are optional
  slotTypeId: 'slotTypeId',
  slotTypeName: 'slotTypeName',
};
```

Python:

```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

specifications_property = lex.CfnBot.SpecificationsProperty(
    value_elicitation_setting=lex.CfnBot.SubSlotValueElicitationSettingProperty(
        default_value_specification=lex.CfnBot.SlotDefaultValueSpecificationProperty(
            default_value_list=[lex.CfnBot.SlotDefaultValueProperty(
                default_value="defaultValue"
            )]
        ),
        prompt_specification=lex.CfnBot.PromptSpecificationProperty(
            max_retries=123,
            message_groups_list=[lex.CfnBot.MessageGroupProperty(
                message=lex.CfnBot.MessageProperty(
                    custom_payload=lex.CfnBot.CustomPayloadProperty(
                        value="value"
                    ),
                    image_response_card=lex.CfnBot.ImageResponseCardProperty(
                        title="title",

                        # the properties below are optional
                        buttons=[lex.CfnBot.ButtonProperty(
                            text="text",
                            value="value"
                        )],
                        image_url="imageUrl",
                        subtitle="subtitle"
                    ),
                    plain_text_message=lex.CfnBot.PlainTextMessageProperty(
                        value="value"
                    ),
                    ssml_message=lex.CfnBot.SSMLMessageProperty(
                        value="value"
                    )
                ),

                # the properties below are optional
                variations=[lex.CfnBot.MessageProperty(
                    custom_payload=lex.CfnBot.CustomPayloadProperty(
                        value="value"
                    ),
                    image_response_card=lex.CfnBot.ImageResponseCardProperty(
                        title="title",

                        # the properties below are optional
                        buttons=[lex.CfnBot.ButtonProperty(
                            text="text",
                            value="value"
                        )],
                        image_url="imageUrl",
                        subtitle="subtitle"
                    ),
                    plain_text_message=lex.CfnBot.PlainTextMessageProperty(
                        value="value"
                    ),
                    ssml_message=lex.CfnBot.SSMLMessageProperty(
                        value="value"
                    )
                )]
            )],

            # the properties below are optional
            allow_interrupt=False,
            message_selection_strategy="messageSelectionStrategy",
            prompt_attempts_specification={
                "prompt_attempts_specification_key": lex.CfnBot.PromptAttemptSpecificationProperty(
                    allowed_input_types=lex.CfnBot.AllowedInputTypesProperty(
                        allow_audio_input=False,
                        allow_dtmf_input=False
                    ),

                    # the properties below are optional
                    allow_interrupt=False,
                    audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty(
                        start_timeout_ms=123,

                        # the properties below are optional
                        audio_specification=lex.CfnBot.AudioSpecificationProperty(
                            end_timeout_ms=123,
                            max_length_ms=123
                        ),
                        dtmf_specification=lex.CfnBot.DTMFSpecificationProperty(
                            deletion_character="deletionCharacter",
                            end_character="endCharacter",
                            end_timeout_ms=123,
                            max_length=123
                        )
                    ),
                    text_input_specification=lex.CfnBot.TextInputSpecificationProperty(
                        start_timeout_ms=123
                    )
                )
            }
        ),
        sample_utterances=[lex.CfnBot.SampleUtteranceProperty(
            utterance="utterance"
        )],
        wait_and_continue_specification=lex.CfnBot.WaitAndContinueSpecificationProperty(
            continue_response=lex.CfnBot.ResponseSpecificationProperty(
                message_groups_list=[lex.CfnBot.MessageGroupProperty(
                    message=lex.CfnBot.MessageProperty(
                        custom_payload=lex.CfnBot.CustomPayloadProperty(
                            value="value"
                        ),
                        image_response_card=lex.CfnBot.ImageResponseCardProperty(
                            title="title",

                            # the properties below are optional
                            buttons=[lex.CfnBot.ButtonProperty(
                                text="text",
                                value="value"
                            )],
                            image_url="imageUrl",
                            subtitle="subtitle"
                        ),
                        plain_text_message=lex.CfnBot.PlainTextMessageProperty(
                            value="value"
                        ),
                        ssml_message=lex.CfnBot.SSMLMessageProperty(
                            value="value"
                        )
                    ),

                    # the properties below are optional
                    variations=[lex.CfnBot.MessageProperty(
                        custom_payload=lex.CfnBot.CustomPayloadProperty(
                            value="value"
                        ),
                        image_response_card=lex.CfnBot.ImageResponseCardProperty(
                            title="title",

                            # the properties below are optional
                            buttons=[lex.CfnBot.ButtonProperty(
                                text="text",
                                value="value"
                            )],
                            image_url="imageUrl",
                            subtitle="subtitle"
                        ),
                        plain_text_message=lex.CfnBot.PlainTextMessageProperty(
                            value="value"
                        ),
                        ssml_message=lex.CfnBot.SSMLMessageProperty(
                            value="value"
                        )
                    )]
                )],

                # the properties below are optional
                allow_interrupt=False
            ),
            is_active=False,
            still_waiting_response=lex.CfnBot.StillWaitingResponseSpecificationProperty(
                frequency_in_seconds=123,
                message_groups_list=[lex.CfnBot.MessageGroupProperty(
                    message=lex.CfnBot.MessageProperty(
                        custom_payload=lex.CfnBot.CustomPayloadProperty(
                            value="value"
                        ),
                        image_response_card=lex.CfnBot.ImageResponseCardProperty(
                            title="title",

                            # the properties below are optional
                            buttons=[lex.CfnBot.ButtonProperty(
                                text="text",
                                value="value"
                            )],
                            image_url="imageUrl",
                            subtitle="subtitle"
                        ),
                        plain_text_message=lex.CfnBot.PlainTextMessageProperty(
                            value="value"
                        ),
                        ssml_message=lex.CfnBot.SSMLMessageProperty(
                            value="value"
                        )
                    ),

                    # the properties below are optional
                    variations=[lex.CfnBot.MessageProperty(
                        custom_payload=lex.CfnBot.CustomPayloadProperty(
                            value="value"
                        ),
                        image_response_card=lex.CfnBot.ImageResponseCardProperty(
                            title="title",

                            # the properties below are optional
                            buttons=[lex.CfnBot.ButtonProperty(
                                text="text",
                                value="value"
                            )],
                            image_url="imageUrl",
                            subtitle="subtitle"
                        ),
                        plain_text_message=lex.CfnBot.PlainTextMessageProperty(
                            value="value"
                        ),
                        ssml_message=lex.CfnBot.SSMLMessageProperty(
                            value="value"
                        )
                    )]
                )],
                timeout_in_seconds=123,

                # the properties below are optional
                allow_interrupt=False
            ),
            waiting_response=lex.CfnBot.ResponseSpecificationProperty(
                message_groups_list=[lex.CfnBot.MessageGroupProperty(
                    message=lex.CfnBot.MessageProperty(
                        custom_payload=lex.CfnBot.CustomPayloadProperty(
                            value="value"
                        ),
                        image_response_card=lex.CfnBot.ImageResponseCardProperty(
                            title="title",

                            # the properties below are optional
                            buttons=[lex.CfnBot.ButtonProperty(
                                text="text",
                                value="value"
                            )],
                            image_url="imageUrl",
                            subtitle="subtitle"
                        ),
                        plain_text_message=lex.CfnBot.PlainTextMessageProperty(
                            value="value"
                        ),
                        ssml_message=lex.CfnBot.SSMLMessageProperty(
                            value="value"
                        )
                    ),

                    # the properties below are optional
                    variations=[lex.CfnBot.MessageProperty(
                        custom_payload=lex.CfnBot.CustomPayloadProperty(
                            value="value"
                        ),
                        image_response_card=lex.CfnBot.ImageResponseCardProperty(
                            title="title",

                            # the properties below are optional
                            buttons=[lex.CfnBot.ButtonProperty(
                                text="text",
                                value="value"
                            )],
                            image_url="imageUrl",
                            subtitle="subtitle"
                        ),
                        plain_text_message=lex.CfnBot.PlainTextMessageProperty(
                            value="value"
                        ),
                        ssml_message=lex.CfnBot.SSMLMessageProperty(
                            value="value"
                        )
                    )]
                )],

                # the properties below are optional
                allow_interrupt=False
            )
        )
    ),

    # the properties below are optional
    slot_type_id="slotTypeId",
    slot_type_name="slotTypeName"
)
```

Java:

```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.*;

SpecificationsProperty specificationsProperty = SpecificationsProperty.builder()
        .valueElicitationSetting(SubSlotValueElicitationSettingProperty.builder()
                .defaultValueSpecification(SlotDefaultValueSpecificationProperty.builder()
                        .defaultValueList(List.of(SlotDefaultValueProperty.builder()
                                .defaultValue("defaultValue")
                                .build()))
                        .build())
                .promptSpecification(PromptSpecificationProperty.builder()
                        .maxRetries(123)
                        .messageGroupsList(List.of(MessageGroupProperty.builder()
                                .message(MessageProperty.builder()
                                        .customPayload(CustomPayloadProperty.builder()
                                                .value("value")
                                                .build())
                                        .imageResponseCard(ImageResponseCardProperty.builder()
                                                .title("title")

                                                // the properties below are optional
                                                .buttons(List.of(ButtonProperty.builder()
                                                        .text("text")
                                                        .value("value")
                                                        .build()))
                                                .imageUrl("imageUrl")
                                                .subtitle("subtitle")
                                                .build())
                                        .plainTextMessage(PlainTextMessageProperty.builder()
                                                .value("value")
                                                .build())
                                        .ssmlMessage(SSMLMessageProperty.builder()
                                                .value("value")
                                                .build())
                                        .build())

                                // the properties below are optional
                                .variations(List.of(MessageProperty.builder()
                                        .customPayload(CustomPayloadProperty.builder()
                                                .value("value")
                                                .build())
                                        .imageResponseCard(ImageResponseCardProperty.builder()
                                                .title("title")

                                                // the properties below are optional
                                                .buttons(List.of(ButtonProperty.builder()
                                                        .text("text")
                                                        .value("value")
                                                        .build()))
                                                .imageUrl("imageUrl")
                                                .subtitle("subtitle")
                                                .build())
                                        .plainTextMessage(PlainTextMessageProperty.builder()
                                                .value("value")
                                                .build())
                                        .ssmlMessage(SSMLMessageProperty.builder()
                                                .value("value")
                                                .build())
                                        .build()))
                                .build()))

                        // the properties below are optional
                        .allowInterrupt(false)
                        .messageSelectionStrategy("messageSelectionStrategy")
                        .promptAttemptsSpecification(Map.of(
                                "promptAttemptsSpecificationKey", PromptAttemptSpecificationProperty.builder()
                                        .allowedInputTypes(AllowedInputTypesProperty.builder()
                                                .allowAudioInput(false)
                                                .allowDtmfInput(false)
                                                .build())

                                        // the properties below are optional
                                        .allowInterrupt(false)
                                        .audioAndDtmfInputSpecification(AudioAndDTMFInputSpecificationProperty.builder()
                                                .startTimeoutMs(123)

                                                // the properties below are optional
                                                .audioSpecification(AudioSpecificationProperty.builder()
                                                        .endTimeoutMs(123)
                                                        .maxLengthMs(123)
                                                        .build())
                                                .dtmfSpecification(DTMFSpecificationProperty.builder()
                                                        .deletionCharacter("deletionCharacter")
                                                        .endCharacter("endCharacter")
                                                        .endTimeoutMs(123)
                                                        .maxLength(123)
                                                        .build())
                                                .build())
                                        .textInputSpecification(TextInputSpecificationProperty.builder()
                                                .startTimeoutMs(123)
                                                .build())
                                        .build()))
                        .build())
                .sampleUtterances(List.of(SampleUtteranceProperty.builder()
                        .utterance("utterance")
                        .build()))
                .waitAndContinueSpecification(WaitAndContinueSpecificationProperty.builder()
                        .continueResponse(ResponseSpecificationProperty.builder()
                                .messageGroupsList(List.of(MessageGroupProperty.builder()
                                        .message(MessageProperty.builder()
                                                .customPayload(CustomPayloadProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .imageResponseCard(ImageResponseCardProperty.builder()
                                                        .title("title")

                                                        // the properties below are optional
                                                        .buttons(List.of(ButtonProperty.builder()
                                                                .text("text")
                                                                .value("value")
                                                                .build()))
                                                        .imageUrl("imageUrl")
                                                        .subtitle("subtitle")
                                                        .build())
                                                .plainTextMessage(PlainTextMessageProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .ssmlMessage(SSMLMessageProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .build())

                                        // the properties below are optional
                                        .variations(List.of(MessageProperty.builder()
                                                .customPayload(CustomPayloadProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .imageResponseCard(ImageResponseCardProperty.builder()
                                                        .title("title")

                                                        // the properties below are optional
                                                        .buttons(List.of(ButtonProperty.builder()
                                                                .text("text")
                                                                .value("value")
                                                                .build()))
                                                        .imageUrl("imageUrl")
                                                        .subtitle("subtitle")
                                                        .build())
                                                .plainTextMessage(PlainTextMessageProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .ssmlMessage(SSMLMessageProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .build()))
                                        .build()))

                                // the properties below are optional
                                .allowInterrupt(false)
                                .build())
                        .isActive(false)
                        .stillWaitingResponse(StillWaitingResponseSpecificationProperty.builder()
                                .frequencyInSeconds(123)
                                .messageGroupsList(List.of(MessageGroupProperty.builder()
                                        .message(MessageProperty.builder()
                                                .customPayload(CustomPayloadProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .imageResponseCard(ImageResponseCardProperty.builder()
                                                        .title("title")

                                                        // the properties below are optional
                                                        .buttons(List.of(ButtonProperty.builder()
                                                                .text("text")
                                                                .value("value")
                                                                .build()))
                                                        .imageUrl("imageUrl")
                                                        .subtitle("subtitle")
                                                        .build())
                                                .plainTextMessage(PlainTextMessageProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .ssmlMessage(SSMLMessageProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .build())

                                        // the properties below are optional
                                        .variations(List.of(MessageProperty.builder()
                                                .customPayload(CustomPayloadProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .imageResponseCard(ImageResponseCardProperty.builder()
                                                        .title("title")

                                                        // the properties below are optional
                                                        .buttons(List.of(ButtonProperty.builder()
                                                                .text("text")
                                                                .value("value")
                                                                .build()))
                                                        .imageUrl("imageUrl")
                                                        .subtitle("subtitle")
                                                        .build())
                                                .plainTextMessage(PlainTextMessageProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .ssmlMessage(SSMLMessageProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .build()))
                                        .build()))
                                .timeoutInSeconds(123)

                                // the properties below are optional
                                .allowInterrupt(false)
                                .build())
                        .waitingResponse(ResponseSpecificationProperty.builder()
                                .messageGroupsList(List.of(MessageGroupProperty.builder()
                                        .message(MessageProperty.builder()
                                                .customPayload(CustomPayloadProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .imageResponseCard(ImageResponseCardProperty.builder()
                                                        .title("title")

                                                        // the properties below are optional
                                                        .buttons(List.of(ButtonProperty.builder()
                                                                .text("text")
                                                                .value("value")
                                                                .build()))
                                                        .imageUrl("imageUrl")
                                                        .subtitle("subtitle")
                                                        .build())
                                                .plainTextMessage(PlainTextMessageProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .ssmlMessage(SSMLMessageProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .build())

                                        // the properties below are optional
                                        .variations(List.of(MessageProperty.builder()
                                                .customPayload(CustomPayloadProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .imageResponseCard(ImageResponseCardProperty.builder()
                                                        .title("title")

                                                        // the properties below are optional
                                                        .buttons(List.of(ButtonProperty.builder()
                                                                .text("text")
                                                                .value("value")
                                                                .build()))
                                                        .imageUrl("imageUrl")
                                                        .subtitle("subtitle")
                                                        .build())
                                                .plainTextMessage(PlainTextMessageProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .ssmlMessage(SSMLMessageProperty.builder()
                                                        .value("value")
                                                        .build())
                                                .build()))
                                        .build()))

                                // the properties below are optional
                                .allowInterrupt(false)
                                .build())
                        .build())
                .build())

        // the properties below are optional
        .slotTypeId("slotTypeId")
        .slotTypeName("slotTypeName")
        .build();
```

C# / .NET:

```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 specificationsProperty = new SpecificationsProperty {
    ValueElicitationSetting = new SubSlotValueElicitationSettingProperty {
        DefaultValueSpecification = new SlotDefaultValueSpecificationProperty {
            DefaultValueList = new [] { new SlotDefaultValueProperty {
                DefaultValue = "defaultValue"
            } }
        },
        PromptSpecification = new PromptSpecificationProperty {
            MaxRetries = 123,
            MessageGroupsList = new [] { new MessageGroupProperty {
                Message = new MessageProperty {
                    CustomPayload = new CustomPayloadProperty {
                        Value = "value"
                    },
                    ImageResponseCard = new ImageResponseCardProperty {
                        Title = "title",

                        // the properties below are optional
                        Buttons = new [] { new ButtonProperty {
                            Text = "text",
                            Value = "value"
                        } },
                        ImageUrl = "imageUrl",
                        Subtitle = "subtitle"
                    },
                    PlainTextMessage = new PlainTextMessageProperty {
                        Value = "value"
                    },
                    SsmlMessage = new SSMLMessageProperty {
                        Value = "value"
                    }
                },

                // the properties below are optional
                Variations = new [] { new MessageProperty {
                    CustomPayload = new CustomPayloadProperty {
                        Value = "value"
                    },
                    ImageResponseCard = new ImageResponseCardProperty {
                        Title = "title",

                        // the properties below are optional
                        Buttons = new [] { new ButtonProperty {
                            Text = "text",
                            Value = "value"
                        } },
                        ImageUrl = "imageUrl",
                        Subtitle = "subtitle"
                    },
                    PlainTextMessage = new PlainTextMessageProperty {
                        Value = "value"
                    },
                    SsmlMessage = new SSMLMessageProperty {
                        Value = "value"
                    }
                } }
            } },

            // the properties below are optional
            AllowInterrupt = false,
            MessageSelectionStrategy = "messageSelectionStrategy",
            PromptAttemptsSpecification = new Dictionary<string, object> {
                { "promptAttemptsSpecificationKey", new PromptAttemptSpecificationProperty {
                    AllowedInputTypes = new AllowedInputTypesProperty {
                        AllowAudioInput = false,
                        AllowDtmfInput = false
                    },

                    // the properties below are optional
                    AllowInterrupt = false,
                    AudioAndDtmfInputSpecification = new AudioAndDTMFInputSpecificationProperty {
                        StartTimeoutMs = 123,

                        // the properties below are optional
                        AudioSpecification = new AudioSpecificationProperty {
                            EndTimeoutMs = 123,
                            MaxLengthMs = 123
                        },
                        DtmfSpecification = new DTMFSpecificationProperty {
                            DeletionCharacter = "deletionCharacter",
                            EndCharacter = "endCharacter",
                            EndTimeoutMs = 123,
                            MaxLength = 123
                        }
                    },
                    TextInputSpecification = new TextInputSpecificationProperty {
                        StartTimeoutMs = 123
                    }
                } }
            }
        },
        SampleUtterances = new [] { new SampleUtteranceProperty {
            Utterance = "utterance"
        } },
        WaitAndContinueSpecification = new WaitAndContinueSpecificationProperty {
            ContinueResponse = new ResponseSpecificationProperty {
                MessageGroupsList = new [] { new MessageGroupProperty {
                    Message = new MessageProperty {
                        CustomPayload = new CustomPayloadProperty {
                            Value = "value"
                        },
                        ImageResponseCard = new ImageResponseCardProperty {
                            Title = "title",

                            // the properties below are optional
                            Buttons = new [] { new ButtonProperty {
                                Text = "text",
                                Value = "value"
                            } },
                            ImageUrl = "imageUrl",
                            Subtitle = "subtitle"
                        },
                        PlainTextMessage = new PlainTextMessageProperty {
                            Value = "value"
                        },
                        SsmlMessage = new SSMLMessageProperty {
                            Value = "value"
                        }
                    },

                    // the properties below are optional
                    Variations = new [] { new MessageProperty {
                        CustomPayload = new CustomPayloadProperty {
                            Value = "value"
                        },
                        ImageResponseCard = new ImageResponseCardProperty {
                            Title = "title",

                            // the properties below are optional
                            Buttons = new [] { new ButtonProperty {
                                Text = "text",
                                Value = "value"
                            } },
                            ImageUrl = "imageUrl",
                            Subtitle = "subtitle"
                        },
                        PlainTextMessage = new PlainTextMessageProperty {
                            Value = "value"
                        },
                        SsmlMessage = new SSMLMessageProperty {
                            Value = "value"
                        }
                    } }
                } },

                // the properties below are optional
                AllowInterrupt = false
            },
            IsActive = false,
            StillWaitingResponse = new StillWaitingResponseSpecificationProperty {
                FrequencyInSeconds = 123,
                MessageGroupsList = new [] { new MessageGroupProperty {
                    Message = new MessageProperty {
                        CustomPayload = new CustomPayloadProperty {
                            Value = "value"
                        },
                        ImageResponseCard = new ImageResponseCardProperty {
                            Title = "title",

                            // the properties below are optional
                            Buttons = new [] { new ButtonProperty {
                                Text = "text",
                                Value = "value"
                            } },
                            ImageUrl = "imageUrl",
                            Subtitle = "subtitle"
                        },
                        PlainTextMessage = new PlainTextMessageProperty {
                            Value = "value"
                        },
                        SsmlMessage = new SSMLMessageProperty {
                            Value = "value"
                        }
                    },

                    // the properties below are optional
                    Variations = new [] { new MessageProperty {
                        CustomPayload = new CustomPayloadProperty {
                            Value = "value"
                        },
                        ImageResponseCard = new ImageResponseCardProperty {
                            Title = "title",

                            // the properties below are optional
                            Buttons = new [] { new ButtonProperty {
                                Text = "text",
                                Value = "value"
                            } },
                            ImageUrl = "imageUrl",
                            Subtitle = "subtitle"
                        },
                        PlainTextMessage = new PlainTextMessageProperty {
                            Value = "value"
                        },
                        SsmlMessage = new SSMLMessageProperty {
                            Value = "value"
                        }
                    } }
                } },
                TimeoutInSeconds = 123,

                // the properties below are optional
                AllowInterrupt = false
            },
            WaitingResponse = new ResponseSpecificationProperty {
                MessageGroupsList = new [] { new MessageGroupProperty {
                    Message = new MessageProperty {
                        CustomPayload = new CustomPayloadProperty {
                            Value = "value"
                        },
                        ImageResponseCard = new ImageResponseCardProperty {
                            Title = "title",

                            // the properties below are optional
                            Buttons = new [] { new ButtonProperty {
                                Text = "text",
                                Value = "value"
                            } },
                            ImageUrl = "imageUrl",
                            Subtitle = "subtitle"
                        },
                        PlainTextMessage = new PlainTextMessageProperty {
                            Value = "value"
                        },
                        SsmlMessage = new SSMLMessageProperty {
                            Value = "value"
                        }
                    },

                    // the properties below are optional
                    Variations = new [] { new MessageProperty {
                        CustomPayload = new CustomPayloadProperty {
                            Value = "value"
                        },
                        ImageResponseCard = new ImageResponseCardProperty {
                            Title = "title",

                            // the properties below are optional
                            Buttons = new [] { new ButtonProperty {
                                Text = "text",
                                Value = "value"
                            } },
                            ImageUrl = "imageUrl",
                            Subtitle = "subtitle"
                        },
                        PlainTextMessage = new PlainTextMessageProperty {
                            Value = "value"
                        },
                        SsmlMessage = new SSMLMessageProperty {
                            Value = "value"
                        }
                    } }
                } },

                // the properties below are optional
                AllowInterrupt = false
            }
        }
    },

    // the properties below are optional
    SlotTypeId = "slotTypeId",
    SlotTypeName = "slotTypeName"
};
```

Golang:

```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"

specificationsProperty := &SpecificationsProperty{
	ValueElicitationSetting: &SubSlotValueElicitationSettingProperty{
		DefaultValueSpecification: &SlotDefaultValueSpecificationProperty{
			DefaultValueList: []interface{}{
				&SlotDefaultValueProperty{
					DefaultValue: jsii.String("defaultValue"),
				},
			},
		},
		PromptSpecification: &PromptSpecificationProperty{
			MaxRetries: jsii.Number(123),
			MessageGroupsList: []interface{}{
				&MessageGroupProperty{
					Message: &MessageProperty{
						CustomPayload: &CustomPayloadProperty{
							Value: jsii.String("value"),
						},
						ImageResponseCard: &ImageResponseCardProperty{
							Title: jsii.String("title"),

							// the properties below are optional
							Buttons: []interface{}{
								&ButtonProperty{
									Text: jsii.String("text"),
									Value: jsii.String("value"),
								},
							},
							ImageUrl: jsii.String("imageUrl"),
							Subtitle: jsii.String("subtitle"),
						},
						PlainTextMessage: &PlainTextMessageProperty{
							Value: jsii.String("value"),
						},
						SsmlMessage: &SSMLMessageProperty{
							Value: jsii.String("value"),
						},
					},

					// the properties below are optional
					Variations: []interface{}{
						&MessageProperty{
							CustomPayload: &CustomPayloadProperty{
								Value: jsii.String("value"),
							},
							ImageResponseCard: &ImageResponseCardProperty{
								Title: jsii.String("title"),

								// the properties below are optional
								Buttons: []interface{}{
									&ButtonProperty{
										Text: jsii.String("text"),
										Value: jsii.String("value"),
									},
								},
								ImageUrl: jsii.String("imageUrl"),
								Subtitle: jsii.String("subtitle"),
							},
							PlainTextMessage: &PlainTextMessageProperty{
								Value: jsii.String("value"),
							},
							SsmlMessage: &SSMLMessageProperty{
								Value: jsii.String("value"),
							},
						},
					},
				},
			},

			// the properties below are optional
			AllowInterrupt: jsii.Boolean(false),
			MessageSelectionStrategy: jsii.String("messageSelectionStrategy"),
			PromptAttemptsSpecification: map[string]interface{}{
				"promptAttemptsSpecificationKey": &PromptAttemptSpecificationProperty{
					"allowedInputTypes": &AllowedInputTypesProperty{
						"allowAudioInput": jsii.Boolean(false),
						"allowDtmfInput": jsii.Boolean(false),
					},

					// the properties below are optional
					"allowInterrupt": jsii.Boolean(false),
					"audioAndDtmfInputSpecification": &AudioAndDTMFInputSpecificationProperty{
						"startTimeoutMs": jsii.Number(123),

						// the properties below are optional
						"audioSpecification": &AudioSpecificationProperty{
							"endTimeoutMs": jsii.Number(123),
							"maxLengthMs": jsii.Number(123),
						},
						"dtmfSpecification": &DTMFSpecificationProperty{
							"deletionCharacter": jsii.String("deletionCharacter"),
							"endCharacter": jsii.String("endCharacter"),
							"endTimeoutMs": jsii.Number(123),
							"maxLength": jsii.Number(123),
						},
					},
					"textInputSpecification": &TextInputSpecificationProperty{
						"startTimeoutMs": jsii.Number(123),
					},
				},
			},
		},
		SampleUtterances: []interface{}{
			&SampleUtteranceProperty{
				Utterance: jsii.String("utterance"),
			},
		},
		WaitAndContinueSpecification: &WaitAndContinueSpecificationProperty{
			ContinueResponse: &ResponseSpecificationProperty{
				MessageGroupsList: []interface{}{
					&MessageGroupProperty{
						Message: &MessageProperty{
							CustomPayload: &CustomPayloadProperty{
								Value: jsii.String("value"),
							},
							ImageResponseCard: &ImageResponseCardProperty{
								Title: jsii.String("title"),

								// the properties below are optional
								Buttons: []interface{}{
									&ButtonProperty{
										Text: jsii.String("text"),
										Value: jsii.String("value"),
									},
								},
								ImageUrl: jsii.String("imageUrl"),
								Subtitle: jsii.String("subtitle"),
							},
							PlainTextMessage: &PlainTextMessageProperty{
								Value: jsii.String("value"),
							},
							SsmlMessage: &SSMLMessageProperty{
								Value: jsii.String("value"),
							},
						},

						// the properties below are optional
						Variations: []interface{}{
							&MessageProperty{
								CustomPayload: &CustomPayloadProperty{
									Value: jsii.String("value"),
								},
								ImageResponseCard: &ImageResponseCardProperty{
									Title: jsii.String("title"),

									// the properties below are optional
									Buttons: []interface{}{
										&ButtonProperty{
											Text: jsii.String("text"),
											Value: jsii.String("value"),
										},
									},
									ImageUrl: jsii.String("imageUrl"),
									Subtitle: jsii.String("subtitle"),
								},
								PlainTextMessage: &PlainTextMessageProperty{
									Value: jsii.String("value"),
								},
								SsmlMessage: &SSMLMessageProperty{
									Value: jsii.String("value"),
								},
							},
						},
					},
				},

				// the properties below are optional
				AllowInterrupt: jsii.Boolean(false),
			},
			IsActive: jsii.Boolean(false),
			StillWaitingResponse: &StillWaitingResponseSpecificationProperty{
				FrequencyInSeconds: jsii.Number(123),
				MessageGroupsList: []interface{}{
					&MessageGroupProperty{
						Message: &MessageProperty{
							CustomPayload: &CustomPayloadProperty{
								Value: jsii.String("value"),
							},
							ImageResponseCard: &ImageResponseCardProperty{
								Title: jsii.String("title"),

								// the properties below are optional
								Buttons: []interface{}{
									&ButtonProperty{
										Text: jsii.String("text"),
										Value: jsii.String("value"),
									},
								},
								ImageUrl: jsii.String("imageUrl"),
								Subtitle: jsii.String("subtitle"),
							},
							PlainTextMessage: &PlainTextMessageProperty{
								Value: jsii.String("value"),
							},
							SsmlMessage: &SSMLMessageProperty{
								Value: jsii.String("value"),
							},
						},

						// the properties below are optional
						Variations: []interface{}{
							&MessageProperty{
								CustomPayload: &CustomPayloadProperty{
									Value: jsii.String("value"),
								},
								ImageResponseCard: &ImageResponseCardProperty{
									Title: jsii.String("title"),

									// the properties below are optional
									Buttons: []interface{}{
										&ButtonProperty{
											Text: jsii.String("text"),
											Value: jsii.String("value"),
										},
									},
									ImageUrl: jsii.String("imageUrl"),
									Subtitle: jsii.String("subtitle"),
								},
								PlainTextMessage: &PlainTextMessageProperty{
									Value: jsii.String("value"),
								},
								SsmlMessage: &SSMLMessageProperty{
									Value: jsii.String("value"),
								},
							},
						},
					},
				},
				TimeoutInSeconds: jsii.Number(123),

				// the properties below are optional
				AllowInterrupt: jsii.Boolean(false),
			},
			WaitingResponse: &ResponseSpecificationProperty{
				MessageGroupsList: []interface{}{
					&MessageGroupProperty{
						Message: &MessageProperty{
							CustomPayload: &CustomPayloadProperty{
								Value: jsii.String("value"),
							},
							ImageResponseCard: &ImageResponseCardProperty{
								Title: jsii.String("title"),

								// the properties below are optional
								Buttons: []interface{}{
									&ButtonProperty{
										Text: jsii.String("text"),
										Value: jsii.String("value"),
									},
								},
								ImageUrl: jsii.String("imageUrl"),
								Subtitle: jsii.String("subtitle"),
							},
							PlainTextMessage: &PlainTextMessageProperty{
								Value: jsii.String("value"),
							},
							SsmlMessage: &SSMLMessageProperty{
								Value: jsii.String("value"),
							},
						},

						// the properties below are optional
						Variations: []interface{}{
							&MessageProperty{
								CustomPayload: &CustomPayloadProperty{
									Value: jsii.String("value"),
								},
								ImageResponseCard: &ImageResponseCardProperty{
									Title: jsii.String("title"),

									// the properties below are optional
									Buttons: []interface{}{
										&ButtonProperty{
											Text: jsii.String("text"),
											Value: jsii.String("value"),
										},
									},
									ImageUrl: jsii.String("imageUrl"),
									Subtitle: jsii.String("subtitle"),
								},
								PlainTextMessage: &PlainTextMessageProperty{
									Value: jsii.String("value"),
								},
								SsmlMessage: &SSMLMessageProperty{
									Value: jsii.String("value"),
								},
							},
						},
					},
				},

				// the properties below are optional
				AllowInterrupt: jsii.Boolean(false),
			},
		},
	},

	// the properties below are optional
	SlotTypeId: jsii.String("slotTypeId"),
	SlotTypeName: jsii.String("slotTypeName"),
}
```

## Properties

- `slotTypeId`: string — The unique identifier assigned to the slot type.

- `slotTypeName`: string

- `valueElicitationSetting`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.SubSlotValueElicitationSettingProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SubSlotValueElicitationSettingProperty.html) (required) — Specifies the elicitation setting details for constituent sub slots of a composite slot.
