LaunchTemplateMetadataOptions

data class LaunchTemplateMetadataOptions(val httpEndpoint: String? = null, val httpProtocolIpv6: String? = null, val httpPutResponseHopLimit: Int? = null, val httpTokens: String? = null, val instanceMetadataTags: String? = null)

The metadata options for the instance. For more information, see Instance metadata and user data in the Amazon EC2 User Guide. `MetadataOptions` is a property of AWS::EC2::LaunchTemplate LaunchTemplateData.

Constructors

Link copied to clipboard
constructor(httpEndpoint: String? = null, httpProtocolIpv6: String? = null, httpPutResponseHopLimit: Int? = null, httpTokens: String? = null, instanceMetadataTags: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val httpEndpoint: String? = null

Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is `enabled`. If you specify a value of `disabled`, you will not be able to access your instance metadata.

Link copied to clipboard

Enables or disables the IPv6 endpoint for the instance metadata service. Default: `disabled`

Link copied to clipboard

The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Default: `1` Possible values: Integers from 1 to 64

Link copied to clipboard
val httpTokens: String? = null

Indicates whether IMDSv2 is required.

Link copied to clipboard

Set to `enabled` to allow access to instance tags from the instance metadata. Set to `disabled` to turn off access to instance tags from the instance metadata. For more information, see Work with instance tags using the instance metadata. Default: `disabled`