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 StringIndicates whether IMDSv2 is required.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- See Also:
-
getHttpProtocolIpv6
Description copied from interface:CfnLaunchTemplate.MetadataOptionsPropertyEnables or disables the IPv6 endpoint for the instance metadata service.Default:
disabled- Specified by:
getHttpProtocolIpv6in interfaceCfnLaunchTemplate.MetadataOptionsProperty- See Also:
-
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- See Also:
-
getHttpTokens
Description copied from interface:CfnLaunchTemplate.MetadataOptionsPropertyIndicates whether IMDSv2 is required.optional- IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials.required- IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.
Default: If the value of
ImdsSupportfor the Amazon Machine Image (AMI) for your instance isv2.0, the default isrequired.- Specified by:
getHttpTokensin interfaceCfnLaunchTemplate.MetadataOptionsProperty- See Also:
-
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 View tags for your EC2 instances using instance metadata .Default:
disabled- Specified by:
getInstanceMetadataTagsin interfaceCfnLaunchTemplate.MetadataOptionsProperty- See Also:
-
$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()
-