AWSEC2BundleInstanceRequest

@interface AWSEC2BundleInstanceRequest

Contains the parameters for BundleInstance.

Required parameters: [InstanceId, Storage]

  • 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.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nullable dryRun;

    Swift

    var dryRun: NSNumber? { get set }
  • The ID of the instance to bundle.

    Type: String

    Default: None

    Required: Yes

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable instanceId;

    Swift

    var instanceId: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) AWSEC2Storage *_Nullable storage;

    Swift

    var storage: AWSEC2Storage? { get set }