AWSEC2InstanceMetadataDefaultsResponse
Objective-C
@interface AWSEC2InstanceMetadataDefaultsResponse
Swift
class AWSEC2InstanceMetadataDefaultsResponse
The default instance metadata service (IMDS) settings that were set at the account level in the specified Amazon Web Services Region.
-
Indicates whether the IMDS endpoint for an instance is enabled or disabled. When disabled, the instance metadata can’t be accessed.
Declaration
Objective-C
@property (nonatomic) AWSEC2InstanceMetadataEndpointState httpEndpoint;
Swift
var httpEndpoint: AWSEC2InstanceMetadataEndpointState { get set }
-
The maximum number of hops that the metadata token can travel.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable httpPutResponseHopLimit;
Swift
var httpPutResponseHopLimit: NSNumber? { get set }
-
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.
Declaration
Objective-C
@property (nonatomic) AWSEC2HttpTokensState httpTokens;
Swift
var httpTokens: AWSEC2HttpTokensState { get set }
-
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 in the Amazon EC2 User Guide.
Declaration
Objective-C
@property (nonatomic) AWSEC2InstanceMetadataTagsState instanceMetadataTags;
Swift
var instanceMetadataTags: AWSEC2InstanceMetadataTagsState { get set }