/AWS1/CL_EC2FLEETINSTMETOPTS00¶
Describes the metadata options for the instances. Supported only for fleets of type
instant.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_httptokens TYPE /AWS1/EC2FLEETHTTPTOKENSSTATE /AWS1/EC2FLEETHTTPTOKENSSTATE¶
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.
iv_httpputresponsehoplimit TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER¶
The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
Default:
1Possible values: Integers from 1 to 64
iv_httpendpoint TYPE /AWS1/EC2FLEETINSTMETENDPTSTAT /AWS1/EC2FLEETINSTMETENDPTSTAT¶
Enables or disables the HTTP metadata endpoint on your instances.
enabled- The HTTP metadata endpoint is enabled.
disabled- The HTTP metadata endpoint is disabled.
Queryable Attributes¶
HttpTokens¶
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HTTPTOKENS() |
Getter for HTTPTOKENS, with configurable default |
ASK_HTTPTOKENS() |
Getter for HTTPTOKENS w/ exceptions if field has no value |
HAS_HTTPTOKENS() |
Determine if HTTPTOKENS has a value |
HttpPutResponseHopLimit¶
The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
Default:
1Possible values: Integers from 1 to 64
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HTTPPUTRESPONSEHOPLIMIT() |
Getter for HTTPPUTRESPONSEHOPLIMIT, with configurable defaul |
ASK_HTTPPUTRESPONSEHOPLIMIT() |
Getter for HTTPPUTRESPONSEHOPLIMIT w/ exceptions if field ha |
HAS_HTTPPUTRESPONSEHOPLIMIT() |
Determine if HTTPPUTRESPONSEHOPLIMIT has a value |
HttpEndpoint¶
Enables or disables the HTTP metadata endpoint on your instances.
enabled- The HTTP metadata endpoint is enabled.
disabled- The HTTP metadata endpoint is disabled.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HTTPENDPOINT() |
Getter for HTTPENDPOINT, with configurable default |
ASK_HTTPENDPOINT() |
Getter for HTTPENDPOINT w/ exceptions if field has no value |
HAS_HTTPENDPOINT() |
Determine if HTTPENDPOINT has a value |