AWSEC2BundleInstanceRequest

Objective-C

@interface AWSEC2BundleInstanceRequest

Swift

class 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 (nonatomic, strong) NSNumber *_Nullable dryRun;

    Swift

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

    Default: None

    Declaration

    Objective-C

    @property (nonatomic, strong) 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 (nonatomic, strong) AWSEC2Storage *_Nullable storage;

    Swift

    var storage: AWSEC2Storage? { get set }