Class CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.imagebuilder.CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty
@Stability(Stable)
@Internal
public static final class CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty
An implementation for
CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty-
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.imagebuilder.CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty
CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty.Builder, CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnInfrastructureConfiguration.InstanceMetadataOptionsProperty.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 NumberLimit the number of hops that an instance metadata request can traverse to reach its destination.final StringIndicates whether a signed token header is required for instance metadata retrieval requests.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
protected Jsii$Proxy(CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnInfrastructureConfiguration.InstanceMetadataOptionsProperty.Builder.
-
-
Method Details
-
getHttpPutResponseHopLimit
Description copied from interface:CfnInfrastructureConfiguration.InstanceMetadataOptionsPropertyLimit the number of hops that an instance metadata request can traverse to reach its destination.The default is one hop. However, if HTTP tokens are required, container image builds need a minimum of two hops.
- Specified by:
getHttpPutResponseHopLimitin interfaceCfnInfrastructureConfiguration.InstanceMetadataOptionsProperty- See Also:
-
getHttpTokens
Description copied from interface:CfnInfrastructureConfiguration.InstanceMetadataOptionsPropertyIndicates whether a signed token header is required for instance metadata retrieval requests.The values affect the response as follows:
- required – When you retrieve the IAM role credentials, version 2.0 credentials are returned in all cases.
- optional – You can include a signed token header in your request to retrieve instance metadata, or you can leave it out. If you include it, version 2.0 credentials are returned for the IAM role. Otherwise, version 1.0 credentials are returned.
The default setting is optional .
- Specified by:
getHttpTokensin interfaceCfnInfrastructureConfiguration.InstanceMetadataOptionsProperty- 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()
-