SpotInstanceRequestMetadataOptionsArgs

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

Constructors

Link copied to clipboard
constructor(httpEndpoint: 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

Whether the metadata service is available. Valid values include enabled or disabled. Defaults to enabled.

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

Desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Valid values are integer from 1 to 64. Defaults to 1.

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

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

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

Enables or disables access to instance tags from the instance metadata service. Valid values include enabled or disabled. Defaults to disabled. For more information, see the documentation on the Instance Metadata Service.

Functions

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