CreateRestoreImageTaskRequest
import type { CreateRestoreImageTaskRequest } from "https://aws-api.deno.dev/v0.3/services/ec2.ts?docs=full";
interface CreateRestoreImageTaskRequest {
Bucket: string;
DryRun?: boolean | null;
Name?: string | null;
ObjectKey: string;
TagSpecifications?: TagSpecification[] | null;
}§Properties
§
DryRun?: boolean | null
[src]Checks whether you have the required permissions for the action, 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
.
§
Name?: string | null
[src]The name for the restored AMI. The name must be unique for AMIs in the Region for this account. If you do not provide a name, the new AMI gets the same name as the original AMI.
§
TagSpecifications?: TagSpecification[] | null
[src]The tags to apply to the AMI and snapshots on restoration. You can tag the AMI, the snapshots, or both.
- To tag the AMI, the value for
ResourceType
must beimage
. - To tag the snapshots, the value for
ResourceType
must besnapshot
. The same tag is applied to all of the snapshots that are created.