InstanceMetadataOptionsResponseArgs

data class InstanceMetadataOptionsResponseArgs(val httpEndpoint: Output<InstanceMetadataEndpointStateEnumValueArgs>? = null, val httpProtocolIpv6: Output<InstanceMetadataProtocolStateEnumValueArgs>? = null, val httpPutResponseHopLimit: Output<Int>? = null, val httpTokens: Output<HttpTokensStateEnumValueArgs>? = null, val instanceMetadataTags: Output<InstanceMetadataTagsStateEnumValueArgs>? = null, val state: Output<InstanceMetadataOptionsStateEnumValueArgs>? = null) : ConvertibleToJava<InstanceMetadataOptionsResponseArgs>

Definition of InstanceMetadataOptionsResponse

Constructors

Link copied to clipboard
constructor(httpEndpoint: Output<InstanceMetadataEndpointStateEnumValueArgs>? = null, httpProtocolIpv6: Output<InstanceMetadataProtocolStateEnumValueArgs>? = null, httpPutResponseHopLimit: Output<Int>? = null, httpTokens: Output<HttpTokensStateEnumValueArgs>? = null, instanceMetadataTags: Output<InstanceMetadataTagsStateEnumValueArgs>? = null, state: Output<InstanceMetadataOptionsStateEnumValueArgs>? = null)

Properties

Link copied to clipboard

Indicates whether the HTTP metadata endpoint on your instances is enabled or disabled.

If the value is disabled, you cannot access your instance metadata.

Link copied to clipboard

Indicates whether the IPv6 endpoint for the instance metadata service is enabled or disabled.

Default: disabled

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

The maximum number of hops that the metadata token can travel.

Possible values: Integers from 1 to 64

Link copied to clipboard

Indicates whether IMDSv2 is required.

  • optional - IMDSv2 is optional, which means that you can use either IMDSv2 or IMDSv1.

  • required - IMDSv2 is required, which means that IMDSv1 is disabled, and you must use IMDSv2.

Link copied to clipboard

Indicates whether access to instance tags from the instance metadata is enabled or disabled. For more information, see Work with instance tags using the instance metadata.

Link copied to clipboard

The state of the metadata option changes.

pending - The metadata options are being updated and the instance is not ready to process metadata traffic with the new selection.

applied - The metadata options have been successfully applied on the instance.

Functions

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