Module Values_2.ImageCriterionSource

The criteria that are evaluated to determine which AMIs are discoverable and usable in your account for the specified Amazon Web Services Region. For more information, see How Allowed AMIs works in the Amazon EC2 User Guide.

Sourcetype nonrec t = {
  1. imageProviders : Values_1.ImageProviderList.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 this account. One or more account IDs can be specified. none: Allow AMIs created by your own account only. Maximum: 200 values

    *)
  2. marketplaceProductCodes : Values_1.MarketplaceProductCodeList.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.ImageNameList.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.DeprecationTimeCondition.t option;
    (*

    The maximum period since deprecation for allowed images.

    *)
  5. creationDateCondition : Values_1.CreationDateCondition.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.ImageProvider.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