InstanceMetadataDefaultsState constructor

const InstanceMetadataDefaultsState({
  1. Input<String?>? httpEndpoint,
  2. Input<int?>? httpPutResponseHopLimit,
  3. Input<String?>? httpTokens,
  4. Input<String?>? instanceMetadataTags,
  5. Input<String?>? region,
})

Creates a new InstanceMetadataDefaultsState. 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 InstanceMetadataDefaultsState({
  this.httpEndpoint,
  this.httpPutResponseHopLimit,
  this.httpTokens,
  this.instanceMetadataTags,
  this.region,
});