RequestLaunchTemplateData
In this article:
RequestLaunchTemplateData#
Information to include in the launch template.
Contents#
BlockDeviceMapping.N — The block device mapping.
Type: List of BlockDeviceMapping objects
Required: No
DisableApiTermination — Indicates whether it is possible to terminate an instance via API.
Type: Boolean
Required: No
HighAvailable — The high availability mode.
Type: Boolean
Required: No
imageId — The image ID.
Type: String
Required: Yes
InstanceInitiatedShutdownBehavior — Indicates whether the instance will be stopped or terminated when you run the shutdown command using the operating system.
Type: String
Required: No
Valid values:
stop
|terminate
InstanceType — The instance type..
Type: String
Required: No
KeyName — The name of the key pair.
Type: String
Required: No
Monitoring.Enabled — Enables the monitoring for instance and attached volumes.
Type: Boolean
Default value:
True
Required: No
NetworkInterface.N — The network interfaces.
Type: List of LaunchTemplateInstanceNetworkInterfaceSpecificationRequest objects
Required: No
Placement — The placement of the instance.
Type: Placement object
Required: No
RamMonitoring — Indicates whether RAM monitoring is enabled for the instance. Monitoring requires to additional configuration of the instance created from such a template.
Type: Boolean
Default value:
False
Required: No
SecurityGroupId.N — The IDs of security groups.
Type: Array of strings
Required: No
TagSpecification.N — The tags assigned to the resource when it is created.
Type: List of TagSpecification objects
Required: No
UserData — The user data. You must pass base64-encoded text in this parameter. The text length must not exceed 16 KB.
Type: String
Required: No
VirtualizationType — The virtualization type.
Type: String
Possible values:
hvm
|hvm-legacy
Required: No