RequestLaunchTemplateData#

Information to include in the launch template.

Contents#

  • BlockDeviceMapping.N — The block device mapping.

  • 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.

  • SecurityGroupId.N — The IDs of security groups.

    • Type: Array of strings

    • Required: No

  • Placement — The placement of the instance.

  • TagSpecification.N — The tags assigned to the resource when it is created.

  • 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