InstanceMetadataOptions class
The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the Amazon EC2 Auto Scaling User Guide.
Constructors
- InstanceMetadataOptions.new({InstanceMetadataEndpointState? httpEndpoint, int? httpPutResponseHopLimit, InstanceMetadataHttpTokensState? httpTokens})
- InstanceMetadataOptions.fromXml(XmlElement elem)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpEndpoint → InstanceMetadataEndpointState?
-
This parameter enables or disables the HTTP metadata endpoint on your
instances. If the parameter is not specified, the default state is
enabled
.final - httpPutResponseHopLimit → int?
-
The desired HTTP PUT response hop limit for instance metadata requests. The
larger the number, the further instance metadata requests can travel.
final
- httpTokens → InstanceMetadataHttpTokensState?
-
The state of token usage for your instance metadata requests. If the
parameter is not specified in the request, the default state is
optional
.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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited