Module: AWSCDK::EC2::LaunchTemplateHttpTokens

Defined in:
ec2/launch_template_http_tokens.rb

Overview

The state of token usage for your instance metadata requests.

Constant Summary collapse

OPTIONAL =
Deprecated.
Note:

Default:

If the state is optional, you can choose to retrieve instance metadata with or without a signed token header on your request.

Jsii::Enum.new("aws-cdk-lib.aws_ec2.LaunchTemplateHttpTokens", "OPTIONAL")
REQUIRED =
Deprecated.
Note:

Default:

If the state is required, you must send a signed token header with any instance metadata retrieval requests.

In this state, retrieving the IAM role credentials always returns the version 2.0 credentials; the version 1.0 credentials are not available.

Jsii::Enum.new("aws-cdk-lib.aws_ec2.LaunchTemplateHttpTokens", "REQUIRED")