Module Values_4.ModifyInstanceMetadataDefaultsRequestSource

Modifies the default instance metadata service (IMDS) settings at the account level in the specified Amazon Web Services
 Region. To remove a parameter's account-level default setting, specify no-preference. If an account-level setting is cleared with no-preference, then the instance launch considers the other instance metadata settings. For more information, see Order of precedence for instance metadata options in the Amazon EC2 User Guide.

Sourcetype nonrec t = {
  1. httpTokens : Values_3.MetadataDefaultHttpTokensState.t option;
    (*

    Indicates whether IMDSv2 is required. optional – IMDSv2 is optional, which means that you can use either IMDSv2 or IMDSv1. required – IMDSv2 is required, which means that IMDSv1 is disabled, and you must use IMDSv2.

    *)
  2. httpPutResponseHopLimit : Values_1.BoxedInteger.t option;
    (*

    The maximum number of hops that the metadata token can travel. To indicate no preference, specify -1. Possible values: Integers from 1 to 64, and -1 to indicate no preference

    *)
  3. httpEndpoint : Values_3.DefaultInstanceMetadataEndpointState.t option;
    (*

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

    *)
  4. instanceMetadataTags : Values_3.DefaultInstanceMetadataTagsState.t option;
    (*

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

    *)
  5. dryRun : Values_0.Boolean.t option;
    (*

    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.

    *)
  6. httpTokensEnforced : Values_3.DefaultHttpTokensEnforcedState.t option;
    (*

    Specifies 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. For more information, see Enforce IMDSv2 at the account level in the Amazon EC2 User Guide.

    *)
}
Sourceval make : ?httpTokens:??? -> ?httpPutResponseHopLimit:??? -> ?httpEndpoint:??? -> ?instanceMetadataTags:??? -> ?dryRun:??? -> ?httpTokensEnforced:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `Integer of Values_1.BoxedInteger.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t