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.
ec2_bundle_instance(InstanceId, Storage, DryRun)
A list with the following syntax:
list(
BundleTask = list(
BundleId = "string",
BundleTaskError = list(
Code = "string",
Message = "string"
),
InstanceId = "string",
Progress = "string",
StartTime = as.POSIXct(
"2015-01-01"
),
State = "pending"|"waiting-for-shutdown"|"bundling"|"storing"|"cancelling"|"complete"|"failed",
Storage = list(
S3 = list(
AWSAccessKeyId = "string",
Bucket = "string",
Prefix = "string",
UploadPolicy = raw,
UploadPolicySignature = "string"
)
),
UpdateTime = as.POSIXct(
"2015-01-01"
)
)
)
[required] The ID of the instance to bundle.
Type: String
Default: None
Required: Yes
[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.
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
.
svc$bundle_instance(
InstanceId = "string",
Storage = list(
S3 = list(
AWSAccessKeyId = "string",
Bucket = "string",
Prefix = "string",
UploadPolicy = raw,
UploadPolicySignature = "string"
)
),
DryRun = TRUE|FALSE
)