Show / Hide Table of Contents

Enum LaunchTemplateHttpTokens

The state of token usage for your instance metadata requests.

Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum LaunchTemplateHttpTokens
Syntax (vb)
Public Enum LaunchTemplateHttpTokens
Remarks

See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-metadataoptions.html#cfn-ec2-launchtemplate-launchtemplatedata-metadataoptions-httptokens

ExampleMetadata: infused

Examples
new LaunchTemplate(this, "LaunchTemplate", new LaunchTemplateProps {
                 HttpEndpoint = true,
                 HttpProtocolIpv6 = true,
                 HttpPutResponseHopLimit = 1,
                 HttpTokens = LaunchTemplateHttpTokens.REQUIRED,
                 InstanceMetadataTags = true
             });

Synopsis

Fields

OPTIONAL

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

REQUIRED

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

Fields

Name Description
OPTIONAL

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

REQUIRED

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

Back to top Generated by DocFX