Class CfnLaunchTemplate.MetadataOptionsProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.CfnLaunchTemplate.MetadataOptionsProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLaunchTemplate.MetadataOptionsProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnLaunchTemplate.MetadataOptionsProperty
@Stability(Stable)
@Internal
public static final class CfnLaunchTemplate.MetadataOptionsProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnLaunchTemplate.MetadataOptionsProperty
An implementation for
CfnLaunchTemplate.MetadataOptionsProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.CfnLaunchTemplate.MetadataOptionsProperty
CfnLaunchTemplate.MetadataOptionsProperty.Builder, CfnLaunchTemplate.MetadataOptionsProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnLaunchTemplate.MetadataOptionsProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringEnables or disables the HTTP metadata endpoint on your instances.final StringEnables or disables the IPv6 endpoint for the instance metadata service.final NumberThe desired HTTP PUT response hop limit for instance metadata requests.final StringIMDSv2 uses token-backed sessions.final StringSet toenabledto allow access to instance tags from the instance metadata.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnLaunchTemplate.MetadataOptionsProperty.Builder.
-
-
Method Details
-
getHttpEndpoint
Description copied from interface:CfnLaunchTemplate.MetadataOptionsPropertyEnables or disables the HTTP metadata endpoint on your instances.If the parameter is not specified, the default state is
enabled.If you specify a value of
disabled, you will not be able to access your instance metadata.- Specified by:
getHttpEndpointin interfaceCfnLaunchTemplate.MetadataOptionsProperty
-
getHttpProtocolIpv6
Description copied from interface:CfnLaunchTemplate.MetadataOptionsPropertyEnables or disables the IPv6 endpoint for the instance metadata service.Default:
disabled- Specified by:
getHttpProtocolIpv6in interfaceCfnLaunchTemplate.MetadataOptionsProperty
-
getHttpPutResponseHopLimit
Description copied from interface:CfnLaunchTemplate.MetadataOptionsPropertyThe 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
- Specified by:
getHttpPutResponseHopLimitin interfaceCfnLaunchTemplate.MetadataOptionsProperty
-
getHttpTokens
Description copied from interface:CfnLaunchTemplate.MetadataOptionsPropertyIMDSv2 uses token-backed sessions.Set the use of HTTP tokens to
optional(in other words, set the use of IMDSv2 tooptional) orrequired(in other words, set the use of IMDSv2 torequired).optional- When IMDSv2 is optional, you can choose to retrieve instance metadata with or without a session token in your request. If you retrieve the IAM role credentials without a token, the IMDSv1 role credentials are returned. If you retrieve the IAM role credentials using a valid session token, the IMDSv2 role credentials are returned.required- When IMDSv2 is required, you must send a session token with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.
Default:
optional- Specified by:
getHttpTokensin interfaceCfnLaunchTemplate.MetadataOptionsProperty
-
getInstanceMetadataTags
Description copied from interface:CfnLaunchTemplate.MetadataOptionsPropertySet toenabledto allow access to instance tags from the instance metadata.Set to
disabledto turn off access to instance tags from the instance metadata. For more information, see Work with instance tags using the instance metadata .Default:
disabled- Specified by:
getInstanceMetadataTagsin interfaceCfnLaunchTemplate.MetadataOptionsProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-