Bundle Instance
ec2_bundle_instance | R Documentation |
Bundles an Amazon instance store-backed Windows instance¶
Description¶
Bundles an Amazon instance store-backed Windows instance.
During bundling, only the root device volume (C:\ is bundled. Data on other instance store volumes is not preserved.
This action is not applicable for Linux/Unix instances or Windows instances that are backed by Amazon EBS.
Usage¶
ec2_bundle_instance(InstanceId, Storage, DryRun)
Arguments¶
InstanceId |
[required] The ID of the instance to bundle. Default: None |
Storage |
[required] The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error. |
DryRun |
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
|
Value¶
A list with the following syntax:
list(
BundleTask = list(
InstanceId = "string",
BundleId = "string",
State = "pending"|"waiting-for-shutdown"|"bundling"|"storing"|"cancelling"|"complete"|"failed",
StartTime = as.POSIXct(
"2015-01-01"
),
UpdateTime = as.POSIXct(
"2015-01-01"
),
Storage = list(
S3 = list(
AWSAccessKeyId = "string",
Bucket = "string",
Prefix = "string",
UploadPolicy = raw,
UploadPolicySignature = "string"
)
),
Progress = "string",
BundleTaskError = list(
Code = "string",
Message = "string"
)
)
)
Request syntax¶
svc$bundle_instance(
InstanceId = "string",
Storage = list(
S3 = list(
AWSAccessKeyId = "string",
Bucket = "string",
Prefix = "string",
UploadPolicy = raw,
UploadPolicySignature = "string"
)
),
DryRun = TRUE|FALSE
)