Instance Metadata Options
data class InstanceMetadataOptions(val httpEndpoint: String? = null, val httpPutResponseHopLimit: Int? = null, val httpTokens: String? = null, val instanceMetadataTags: String? = null)
Properties
Link copied to clipboard
Whether the metadata service is available. Valid values include enabled
or disabled
. Defaults to enabled
.
Link copied to clipboard
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
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
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.