Builder
class Builder
Properties
Link copied to clipboard
Indicates whether the IMDS endpoint for an instance is enabled or disabled. When disabled, the instance metadata can't be accessed.
Link copied to clipboard
The maximum number of hops that the metadata token can travel.
Link copied to clipboard
Indicates whether IMDSv2 is required.
Link copied to clipboard
Indicates whether to enforce the requirement of IMDSv2 on an instance at the time of launch. When enforcement is enabled, the instance can't launch unless IMDSv2 (HttpTokens) is set to required.
Link copied to clipboard
Indicates whether access to instance tags from the instance metadata is enabled or disabled. For more information, see View tags for your EC2 instances using instance metadata in the Amazon EC2 User Guide.
Link copied to clipboard
The customized exception message that is specified in the declarative policy.