Class CfnInstance.MetadataOptionsProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.CfnInstance.MetadataOptionsProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnInstance.MetadataOptionsProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnInstance.MetadataOptionsProperty
@Stability(Stable)
@Internal
public static final class CfnInstance.MetadataOptionsProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnInstance.MetadataOptionsProperty
An implementation for
CfnInstance.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.CfnInstance.MetadataOptionsProperty
CfnInstance.MetadataOptionsProperty.Builder, CfnInstance.MetadataOptionsProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnInstance.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 number of network hops that the metadata token can travel.final StringIndicates whether IMDSv2 is required.final StringIndicates whether tags from the instance are propagated to the EBS volumes.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 theCfnInstance.MetadataOptionsProperty.Builder.
-
-
Method Details
-
getHttpEndpoint
Description copied from interface:CfnInstance.MetadataOptionsPropertyEnables or disables the HTTP metadata endpoint on your instances.If you specify a value of disabled, you cannot access your instance metadata.
- Specified by:
getHttpEndpointin interfaceCfnInstance.MetadataOptionsProperty- See Also:
-
getHttpProtocolIpv6
Description copied from interface:CfnInstance.MetadataOptionsPropertyEnables or disables the IPv6 endpoint for the instance metadata service.To use this option, the instance must be a Nitro-based instance launched in a subnet that supports IPv6.
- Specified by:
getHttpProtocolIpv6in interfaceCfnInstance.MetadataOptionsProperty- See Also:
-
getHttpPutResponseHopLimit
Description copied from interface:CfnInstance.MetadataOptionsPropertyThe number of network hops that the metadata token can travel.Maximum is 64.
Default: - 1
- Specified by:
getHttpPutResponseHopLimitin interfaceCfnInstance.MetadataOptionsProperty- See Also:
-
getHttpTokens
Description copied from interface:CfnInstance.MetadataOptionsPropertyIndicates whether IMDSv2 is required.- Specified by:
getHttpTokensin interfaceCfnInstance.MetadataOptionsProperty- See Also:
-
getInstanceMetadataTags
Description copied from interface:CfnInstance.MetadataOptionsPropertyIndicates whether tags from the instance are propagated to the EBS volumes.- Specified by:
getInstanceMetadataTagsin interfaceCfnInstance.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()
-