Builder

class Builder

Properties

Link copied to clipboard

Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Link copied to clipboard

Enables or disables the IMDS endpoint on an instance. When disabled, the instance metadata can't be accessed.

Link copied to clipboard

The maximum number of hops that the metadata token can travel. To indicate no preference, specify -1.

Link copied to clipboard

Indicates whether IMDSv2 is required.

Link copied to clipboard

Enables or disables access to an instance's tags from the instance metadata. For more information, see Work with instance tags using the instance metadata in the Amazon EC2 User Guide.