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.

Constructors

Link copied to clipboard
fun LaunchTemplateMetadataOptions(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.

Link copied to clipboard

Enables or disables the IPv6 endpoint for the instance metadata service.

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.

Link copied to clipboard
val httpTokens: String? = null

IMDSv2 uses token-backed sessions.

Link copied to clipboard

Set to enabled to allow access to instance tags from the instance metadata.