Module Values_2.ImageCriterionRequestSource

The criteria that are evaluated to determine which AMIs are discoverable and usable in your account for the specified Amazon Web Services Region. The ImageCriteria can include up to: 10 ImageCriterion Each ImageCriterion can include up to: 200 values for ImageProviders 50 values for ImageNames 50 values for MarketplaceProductCodes For more information, see How Allowed AMIs works in the Amazon EC2 User Guide.

Sourcetype nonrec t = {
  1. imageProviders : Values_1.ImageProviderRequestList.t option;
    (*

    The image providers whose images are allowed. Possible values: amazon: Allow AMIs created by Amazon or verified providers. aws-marketplace: Allow AMIs created by verified providers in the Amazon Web Services Marketplace. aws-backup-vault: Allow AMIs created by Amazon Web Services Backup. 12-digit account ID: Allow AMIs created by the specified accounts. One or more account IDs can be specified. none: Allow AMIs created by your own account only. When none is specified, no other values can be specified. Maximum: 200 values

    *)
  2. marketplaceProductCodes : Values_1.MarketplaceProductCodeRequestList.t option;
    (*

    The Amazon Web Services Marketplace product codes for allowed images. Length: 1-25 characters Valid characters: Letters (A–Z, a–z) and numbers (0–9) Maximum: 50 values

    *)
  3. imageNames : Values_1.ImageNameCriteriaRequestList.t option;
    (*

    The names of allowed images. Names can include wildcards (? and *). Length: 1–128 characters. With ?, the minimum is 3 characters. Valid characters: Letters: A–Z, a–z Numbers: 0–9 Special characters: ( ) [ ] . / - ' @ _ * ? Spaces Maximum: 50 values

    *)
  4. deprecationTimeCondition : Values_1.DeprecationTimeConditionRequest.t option;
    (*

    The maximum period since deprecation for allowed images.

    *)
  5. creationDateCondition : Values_1.CreationDateConditionRequest.t option;
    (*

    The maximum age for allowed images.

    *)
}
Sourceval make : ?imageProviders:??? -> ?marketplaceProductCodes:??? -> ?imageNames:??? -> ?deprecationTimeCondition:??? -> ?creationDateCondition:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of Values_0.ImageProviderRequest.t ] list | `Structure of (string * [> `Integer of Values_0.MaximumDaysSinceDeprecatedValue.t ]) list ]) 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