Module Values.CreateExportImageTaskRequestSource

Creates a task to export a WorkSpaces Applications image to an EC2 AMI. This allows you to use your customized WorkSpaces Applications images with other AWS services or for backup purposes.

Sourcetype nonrec t = {
  1. imageName : Name.t;
    (*

    The name of the WorkSpaces Applications image to export. The image must be in an available state and owned by your account.

    *)
  2. amiName : AmiName.t;
    (*

    The name for the exported EC2 AMI. This is a required field that must be unique within your account and region.

    *)
  3. iamRoleArn : Arn.t;
    (*

    The ARN of the IAM role that allows WorkSpaces Applications to create the AMI. The role must have permissions to copy images, describe images, and create tags, with a trust relationship allowing appstream.amazonaws.com to assume the role.

    *)
  4. tagSpecifications : Tags.t option;
    (*

    The tags to apply to the exported AMI. These tags help you organize and manage your EC2 AMIs.

    *)
  5. amiDescription : Description.t option;
    (*

    An optional description for the exported AMI. This description will be applied to the resulting EC2 AMI.

    *)
}
Sourceval context_ : string
Sourceval make : ?tagSpecifications:??? -> ?amiDescription:??? -> imageName:Name.t -> amiName:AmiName.t -> iamRoleArn:Arn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of Name.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