AWSEC2Instance Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSEC2Model.h
AWSEC2Model.m

Overview

Describes an instance.

  amiLaunchIndex

The AMI launch index, which can be used to find this instance in the launch group.

@property (nonatomic, strong) NSNumber *amiLaunchIndex

Declared In

AWSEC2Model.h

  architecture

The architecture of the image.

@property (nonatomic, assign) AWSEC2ArchitectureValues architecture

Declared In

AWSEC2Model.h

  blockDeviceMappings

Any block device mapping entries for the instance.

@property (nonatomic, strong) NSArray<AWSEC2InstanceBlockDeviceMapping*> *blockDeviceMappings

Declared In

AWSEC2Model.h

  clientToken

The idempotency token you provided when you launched the instance, if applicable.

@property (nonatomic, strong) NSString *clientToken

Declared In

AWSEC2Model.h

  ebsOptimized

Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

@property (nonatomic, strong) NSNumber *ebsOptimized

Declared In

AWSEC2Model.h

  hypervisor

The hypervisor type of the instance.

@property (nonatomic, assign) AWSEC2HypervisorType hypervisor

Declared In

AWSEC2Model.h

  iamInstanceProfile

The IAM instance profile associated with the instance, if applicable.

@property (nonatomic, strong) AWSEC2IamInstanceProfile *iamInstanceProfile

Declared In

AWSEC2Model.h

  imageId

The ID of the AMI used to launch the instance.

@property (nonatomic, strong) NSString *imageId

Declared In

AWSEC2Model.h

  instanceId

The ID of the instance.

@property (nonatomic, strong) NSString *instanceId

Declared In

AWSEC2Model.h

  instanceLifecycle

Indicates whether this is a Spot instance or a Scheduled Instance.

@property (nonatomic, assign) AWSEC2InstanceLifecycleType instanceLifecycle

Declared In

AWSEC2Model.h

  instanceType

The instance type.

@property (nonatomic, assign) AWSEC2InstanceType instanceType

Declared In

AWSEC2Model.h

  kernelId

The kernel associated with this instance, if applicable.

@property (nonatomic, strong) NSString *kernelId

Declared In

AWSEC2Model.h

  keyName

The name of the key pair, if this instance was launched with an associated key pair.

@property (nonatomic, strong) NSString *keyName

Declared In

AWSEC2Model.h

  launchTime

The time the instance was launched.

@property (nonatomic, strong) NSDate *launchTime

Declared In

AWSEC2Model.h

  monitoring

The monitoring information for the instance.

@property (nonatomic, strong) AWSEC2Monitoring *monitoring

Declared In

AWSEC2Model.h

  networkInterfaces

[EC2-VPC] One or more network interfaces for the instance.

@property (nonatomic, strong) NSArray<AWSEC2InstanceNetworkInterface*> *networkInterfaces

Declared In

AWSEC2Model.h

  placement

The location where the instance launched, if applicable.

@property (nonatomic, strong) AWSEC2Placement *placement

Declared In

AWSEC2Model.h

  platform

The value is Windows for Windows instances; otherwise blank.

@property (nonatomic, assign) AWSEC2PlatformValues platform

Declared In

AWSEC2Model.h

  privateDnsName

The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state. For EC2-VPC, this name is only available if you've enabled DNS hostnames for your VPC.

@property (nonatomic, strong) NSString *privateDnsName

Declared In

AWSEC2Model.h

  privateIpAddress

The private IP address assigned to the instance.

@property (nonatomic, strong) NSString *privateIpAddress

Declared In

AWSEC2Model.h

  productCodes

The product codes attached to this instance, if applicable.

@property (nonatomic, strong) NSArray<AWSEC2ProductCode*> *productCodes

Declared In

AWSEC2Model.h

  publicDnsName

The public DNS name assigned to the instance. This name is not available until the instance enters the running state. For EC2-VPC, this name is only available if you've enabled DNS hostnames for your VPC.

@property (nonatomic, strong) NSString *publicDnsName

Declared In

AWSEC2Model.h

  publicIpAddress

The public IP address assigned to the instance, if applicable.

@property (nonatomic, strong) NSString *publicIpAddress

Declared In

AWSEC2Model.h

  ramdiskId

The RAM disk associated with this instance, if applicable.

@property (nonatomic, strong) NSString *ramdiskId

Declared In

AWSEC2Model.h

  rootDeviceName

The root device name (for example, /dev/sda1 or /dev/xvda).

@property (nonatomic, strong) NSString *rootDeviceName

Declared In

AWSEC2Model.h

  rootDeviceType

The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.

@property (nonatomic, assign) AWSEC2DeviceType rootDeviceType

Declared In

AWSEC2Model.h

  securityGroups

One or more security groups for the instance.

@property (nonatomic, strong) NSArray<AWSEC2GroupIdentifier*> *securityGroups

Declared In

AWSEC2Model.h

  sourceDestCheck

Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

@property (nonatomic, strong) NSNumber *sourceDestCheck

Declared In

AWSEC2Model.h

  spotInstanceRequestId

If the request is a Spot instance request, the ID of the request.

@property (nonatomic, strong) NSString *spotInstanceRequestId

Declared In

AWSEC2Model.h

  sriovNetSupport

Specifies whether enhanced networking is enabled.

@property (nonatomic, strong) NSString *sriovNetSupport

Declared In

AWSEC2Model.h

  state

The current state of the instance.

@property (nonatomic, strong) AWSEC2InstanceState *state

Declared In

AWSEC2Model.h

  stateReason

The reason for the most recent state transition.

@property (nonatomic, strong) AWSEC2StateReason *stateReason

Declared In

AWSEC2Model.h

  stateTransitionReason

The reason for the most recent state transition. This might be an empty string.

@property (nonatomic, strong) NSString *stateTransitionReason

Declared In

AWSEC2Model.h

  subnetId

[EC2-VPC] The ID of the subnet in which the instance is running.

@property (nonatomic, strong) NSString *subnetId

Declared In

AWSEC2Model.h

  tags

Any tags assigned to the instance.

@property (nonatomic, strong) NSArray<AWSEC2Tag*> *tags

Declared In

AWSEC2Model.h

  virtualizationType

The virtualization type of the instance.

@property (nonatomic, assign) AWSEC2VirtualizationType virtualizationType

Declared In

AWSEC2Model.h

  vpcId

[EC2-VPC] The ID of the VPC in which the instance is running.

@property (nonatomic, strong) NSString *vpcId

Declared In

AWSEC2Model.h