LaunchTemplateMetadataOptionsArgs

data class LaunchTemplateMetadataOptionsArgs(val httpEndpoint: Output<String>? = null, val httpProtocolIpv6: Output<String>? = null, val httpPutResponseHopLimit: Output<Int>? = null, val httpTokens: Output<String>? = null, val instanceMetadataTags: Output<String>? = null) : ConvertibleToJava<LaunchTemplateMetadataOptionsArgs>

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: Output<String>? = null, httpProtocolIpv6: Output<String>? = null, httpPutResponseHopLimit: Output<Int>? = null, httpTokens: Output<String>? = null, instanceMetadataTags: Output<String>? = null)

Properties

Link copied to clipboard
val httpEndpoint: Output<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
val httpProtocolIpv6: Output<String>? = null

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

Link copied to clipboard
val httpPutResponseHopLimit: Output<Int>? = null

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: Output<String>? = null

Indicates whether IMDSv2 is required.

Link copied to clipboard
val instanceMetadataTags: Output<String>? = null

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`

Functions

Link copied to clipboard
open override fun toJava(): LaunchTemplateMetadataOptionsArgs