SlotType constructor
SlotType(
- String name, {
- SlotTypeArgs? args,
- CustomResourceOptions? options,
Creates a new SlotType.
name The Pulumi resource name.
args Arguments used to configure this SlotType. The set of arguments for SlotType.
options Resource options controlling this resource's behavior.
Implementation
SlotType(
String name, {
SlotTypeArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:lex/slotType:SlotType',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
checksum = registerOutput<String>('checksum');
createVersion = registerOutput<bool?>('createVersion');
createdDate = registerOutput<String>('createdDate');
description = registerOutput<String?>('description');
enumerationValues = registerOutput<List<SlotTypeEnumerationValue>>('enumerationValues', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<SlotTypeEnumerationValue>(guardedValue, (value) => SlotTypeEnumerationValue.fromMap((value as Map).cast<String, dynamic>())); });
lastUpdatedDate = registerOutput<String>('lastUpdatedDate');
this.name = registerOutput<String>('name');
region = registerOutput<String>('region');
valueSelectionStrategy = registerOutput<String?>('valueSelectionStrategy');
version = registerOutput<String>('version');
}