SpotInstanceRequestMetadataOptions class

Constructors

SpotInstanceRequestMetadataOptions({Input<String?>? httpEndpoint, Input<String?>? httpProtocolIpv6, Input<int?>? httpPutResponseHopLimit, Input<String?>? httpTokens, Input<String?>? instanceMetadataTags})
Creates a new SpotInstanceRequestMetadataOptions. httpEndpoint Whether the metadata service is available. Valid values include enabled or disabled. Defaults to enabled. httpProtocolIpv6 Whether the IPv6 endpoint for the instance metadata service is enabled. Defaults to disabled. httpPutResponseHopLimit 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. httpTokens 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. instanceMetadataTags Enables or disables access to instance tags from the instance metadata service. Valid values include enabled or disabled. Defaults to disabled.
const
SpotInstanceRequestMetadataOptions.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
httpEndpoint → Input<String?>?
Whether the metadata service is available. Valid values include enabled or disabled. Defaults to enabled.
final
httpProtocolIpv6 → Input<String?>?
Whether the IPv6 endpoint for the instance metadata service is enabled. Defaults to disabled.
final
httpPutResponseHopLimit → Input<int?>?
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.
final
httpTokens → Input<String?>?
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.
final
instanceMetadataTags → Input<String?>?
Enables or disables access to instance tags from the instance metadata service. Valid values include enabled or disabled. Defaults to disabled.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited