LaunchTemplateMetadataOptions

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

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

Whether the metadata service is available. Can be enabled or disabled.

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. Can be an integer from 1 to 64.

Link copied to clipboard
val httpTokens: String? = null

Whether or not the metadata service requires session tokens, also referred to as Instance Metadata Service Version 2 (IMDSv2). Can be optional or required.

Link copied to clipboard

Enables or disables access to instance tags from the instance metadata service. (Default: disabled). For more information, see the documentation on the Instance Metadata Service.