@Stability(value=Stable) public static final class CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty |
build()
Builds the configured instance.
|
CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty.Builder |
httpPutResponseHopLimit(Number httpPutResponseHopLimit)
|
CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty.Builder |
httpTokens(String httpTokens)
|
@Stability(value=Stable) public CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty.Builder httpPutResponseHopLimit(Number httpPutResponseHopLimit)
CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty.getHttpPutResponseHopLimit()httpPutResponseHopLimit - Limit the number of hops that an instance metadata request can traverse to reach its destination.this@Stability(value=Stable) public CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty.Builder httpTokens(String httpTokens)
httpTokens - Indicates whether a signed token header is required for instance metadata retrieval requests.
The values affect the response as follows:
The default setting is optional .
this@Stability(value=Stable) public CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty build()
build in interface software.amazon.jsii.Builder<CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty>CfnInfrastructureConfiguration.InstanceMetadataOptionsPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.