Class CfnInfrastructureConfigurationPropsMixin.InstanceMetadataOptionsProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.imagebuilder.CfnInfrastructureConfigurationPropsMixin.InstanceMetadataOptionsProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnInfrastructureConfigurationPropsMixin.InstanceMetadataOptionsProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnInfrastructureConfigurationPropsMixin.InstanceMetadataOptionsProperty
@Stability(Stable)
@Internal
public static final class CfnInfrastructureConfigurationPropsMixin.InstanceMetadataOptionsProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnInfrastructureConfigurationPropsMixin.InstanceMetadataOptionsProperty
An implementation for
CfnInfrastructureConfigurationPropsMixin.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.cfnpropertymixins.services.imagebuilder.CfnInfrastructureConfigurationPropsMixin.InstanceMetadataOptionsProperty
CfnInfrastructureConfigurationPropsMixin.InstanceMetadataOptionsProperty.Builder, CfnInfrastructureConfigurationPropsMixin.InstanceMetadataOptionsProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnInfrastructureConfigurationPropsMixin.InstanceMetadataOptionsProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnInfrastructureConfigurationPropsMixin.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(CfnInfrastructureConfigurationPropsMixin.InstanceMetadataOptionsProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnInfrastructureConfigurationPropsMixin.InstanceMetadataOptionsProperty.Builder.
-
-
Method Details
-
getHttpPutResponseHopLimit
Description copied from interface:CfnInfrastructureConfigurationPropsMixin.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 interfaceCfnInfrastructureConfigurationPropsMixin.InstanceMetadataOptionsProperty- See Also:
-
getHttpTokens
Description copied from interface:CfnInfrastructureConfigurationPropsMixin.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 interfaceCfnInfrastructureConfigurationPropsMixin.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()
-