Class: Aws::SecurityHub::Types::AwsEc2LaunchTemplateDataMetadataOptionsDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsEc2LaunchTemplateDataMetadataOptionsDetails
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-securityhub/types.rb
Overview
Specifies the metadata options for an Amazon EC2 instance.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#http_endpoint ⇒ String
Enables or disables the HTTP metadata endpoint on your instances.
-
#http_protocol_ipv_6 ⇒ String
Enables or disables the IPv6 endpoint for the instance metadata service.
-
#http_put_response_hop_limit ⇒ Integer
The desired HTTP PUT response hop limit for instance metadata requests.
-
#http_tokens ⇒ String
The state of token usage for your instance metadata requests.
-
#instance_metadata_tags ⇒ String
When set to ‘enabled`, this parameter allows access to instance tags from the instance metadata.
Instance Attribute Details
#http_endpoint ⇒ String
Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled, and you won’t be able to access your instance metadata.
7813 7814 7815 7816 7817 7818 7819 7820 7821 |
# File 'lib/aws-sdk-securityhub/types.rb', line 7813 class AwsEc2LaunchTemplateDataMetadataOptionsDetails < Struct.new( :http_endpoint, :http_protocol_ipv_6, :http_tokens, :http_put_response_hop_limit, :instance_metadata_tags) SENSITIVE = [] include Aws::Structure end |
#http_protocol_ipv_6 ⇒ String
Enables or disables the IPv6 endpoint for the instance metadata service.
7813 7814 7815 7816 7817 7818 7819 7820 7821 |
# File 'lib/aws-sdk-securityhub/types.rb', line 7813 class AwsEc2LaunchTemplateDataMetadataOptionsDetails < Struct.new( :http_endpoint, :http_protocol_ipv_6, :http_tokens, :http_put_response_hop_limit, :instance_metadata_tags) SENSITIVE = [] include Aws::Structure end |
#http_put_response_hop_limit ⇒ Integer
The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
7813 7814 7815 7816 7817 7818 7819 7820 7821 |
# File 'lib/aws-sdk-securityhub/types.rb', line 7813 class AwsEc2LaunchTemplateDataMetadataOptionsDetails < Struct.new( :http_endpoint, :http_protocol_ipv_6, :http_tokens, :http_put_response_hop_limit, :instance_metadata_tags) SENSITIVE = [] include Aws::Structure end |
#http_tokens ⇒ String
The state of token usage for your instance metadata requests.
7813 7814 7815 7816 7817 7818 7819 7820 7821 |
# File 'lib/aws-sdk-securityhub/types.rb', line 7813 class AwsEc2LaunchTemplateDataMetadataOptionsDetails < Struct.new( :http_endpoint, :http_protocol_ipv_6, :http_tokens, :http_put_response_hop_limit, :instance_metadata_tags) SENSITIVE = [] include Aws::Structure end |
#instance_metadata_tags ⇒ String
When set to ‘enabled`, this parameter allows access to instance tags from the instance metadata. When set to `disabled`, it turns off access to instance tags from the instance metadata. For more information, see [Work with instance tags in instance metadata] in the *Amazon EC2 User Guide*.
[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS
7813 7814 7815 7816 7817 7818 7819 7820 7821 |
# File 'lib/aws-sdk-securityhub/types.rb', line 7813 class AwsEc2LaunchTemplateDataMetadataOptionsDetails < Struct.new( :http_endpoint, :http_protocol_ipv_6, :http_tokens, :http_put_response_hop_limit, :instance_metadata_tags) SENSITIVE = [] include Aws::Structure end |