InstanceMetadataDefaultsArgs constructor
Creates a new InstanceMetadataDefaultsArgs.
httpEndpoint Whether the metadata service is available. Can be "enabled", "disabled", or "no-preference". Default: "no-preference".
httpPutResponseHopLimit The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Can be an integer from 1 to 64, or -1 to indicate no preference. Default: -1.
httpTokens Whether the metadata service requires session tokens, also referred to as Instance Metadata Service Version 2 (IMDSv2). Can be "optional", "required", or "no-preference". Default: "no-preference".
instanceMetadataTags Enables or disables access to instance tags from the instance metadata service. Can be "enabled", "disabled", or "no-preference". Default: "no-preference".
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
Implementation
const InstanceMetadataDefaultsArgs({
this.httpEndpoint,
this.httpPutResponseHopLimit,
this.httpTokens,
this.instanceMetadataTags,
this.region,
});