Skip to content

/AWS1/CL_EC2REQSPOTLAUNCHSPEC

Describes the launch specification for an instance.

CONSTRUCTOR

IMPORTING

Optional arguments:

IT_SECURITYGROUPIDS TYPE /AWS1/CL_EC2REQSPOTLAUNCHSPE00=>TT_REQSPOTLAUNCHSPECSECGRIDLST TT_REQSPOTLAUNCHSPECSECGRIDLST

The IDs of the security groups.

IT_SECURITYGROUPS TYPE /AWS1/CL_EC2REQSPOTLAUNCHSPE01=>TT_REQSPOTLAUNCHSPECSECGRPLIST TT_REQSPOTLAUNCHSPECSECGRPLIST

Not supported.

IV_ADDRESSINGTYPE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

Deprecated.

IT_BLOCKDEVICEMAPPINGS TYPE /AWS1/CL_EC2BLOCKDEVICEMAPPING=>TT_BLOCKDEVICEMAPPINGLIST TT_BLOCKDEVICEMAPPINGLIST

The block device mapping entries. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.

IV_EBSOPTIMIZED TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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 EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Default: false

IO_IAMINSTANCEPROFILE TYPE REF TO /AWS1/CL_EC2IAMINSTPROFILESPEC /AWS1/CL_EC2IAMINSTPROFILESPEC

The IAM instance profile.

IV_IMAGEID TYPE /AWS1/EC2IMAGEID /AWS1/EC2IMAGEID

The ID of the AMI.

IV_INSTANCETYPE TYPE /AWS1/EC2INSTANCETYPE /AWS1/EC2INSTANCETYPE

The instance type. Only one instance type can be specified.

IV_KERNELID TYPE /AWS1/EC2KERNELID /AWS1/EC2KERNELID

The ID of the kernel.

IV_KEYNAME TYPE /AWS1/EC2KEYPAIRNAME /AWS1/EC2KEYPAIRNAME

The name of the key pair.

IO_MONITORING TYPE REF TO /AWS1/CL_EC2RUNINSTSMONENABLED /AWS1/CL_EC2RUNINSTSMONENABLED

Indicates whether basic or detailed monitoring is enabled for the instance.

Default: Disabled

IT_NETWORKINTERFACES TYPE /AWS1/CL_EC2INSTNETWORKINTER03=>TT_INSTNETWORKINTERFACESPECLST TT_INSTNETWORKINTERFACESPECLST

The network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

IO_PLACEMENT TYPE REF TO /AWS1/CL_EC2SPOTPLACEMENT /AWS1/CL_EC2SPOTPLACEMENT

The placement information for the instance.

IV_RAMDISKID TYPE /AWS1/EC2RAMDISKID /AWS1/EC2RAMDISKID

The ID of the RAM disk.

IV_SUBNETID TYPE /AWS1/EC2SUBNETID /AWS1/EC2SUBNETID

The ID of the subnet in which to launch the instance.

IV_USERDATA TYPE /AWS1/EC2SENSITIVEUSERDATA /AWS1/EC2SENSITIVEUSERDATA

The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.


Queryable Attributes

SecurityGroupIds

The IDs of the security groups.

Accessible with the following methods

Method Description
GET_SECURITYGROUPIDS() Getter for SECURITYGROUPIDS, with configurable default
ASK_SECURITYGROUPIDS() Getter for SECURITYGROUPIDS w/ exceptions if field has no va
HAS_SECURITYGROUPIDS() Determine if SECURITYGROUPIDS has a value

SecurityGroups

Not supported.

Accessible with the following methods

Method Description
GET_SECURITYGROUPS() Getter for SECURITYGROUPS, with configurable default
ASK_SECURITYGROUPS() Getter for SECURITYGROUPS w/ exceptions if field has no valu
HAS_SECURITYGROUPS() Determine if SECURITYGROUPS has a value

AddressingType

Deprecated.

Accessible with the following methods

Method Description
GET_ADDRESSINGTYPE() Getter for ADDRESSINGTYPE, with configurable default
ASK_ADDRESSINGTYPE() Getter for ADDRESSINGTYPE w/ exceptions if field has no valu
HAS_ADDRESSINGTYPE() Determine if ADDRESSINGTYPE has a value

BlockDeviceMappings

The block device mapping entries. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.

Accessible with the following methods

Method Description
GET_BLOCKDEVICEMAPPINGS() Getter for BLOCKDEVICEMAPPINGS, with configurable default
ASK_BLOCKDEVICEMAPPINGS() Getter for BLOCKDEVICEMAPPINGS w/ exceptions if field has no
HAS_BLOCKDEVICEMAPPINGS() Determine if BLOCKDEVICEMAPPINGS has a value

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 EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Default: false

Accessible with the following methods

Method Description
GET_EBSOPTIMIZED() Getter for EBSOPTIMIZED, with configurable default
ASK_EBSOPTIMIZED() Getter for EBSOPTIMIZED w/ exceptions if field has no value
HAS_EBSOPTIMIZED() Determine if EBSOPTIMIZED has a value

IamInstanceProfile

The IAM instance profile.

Accessible with the following methods

Method Description
GET_IAMINSTANCEPROFILE() Getter for IAMINSTANCEPROFILE

ImageId

The ID of the AMI.

Accessible with the following methods

Method Description
GET_IMAGEID() Getter for IMAGEID, with configurable default
ASK_IMAGEID() Getter for IMAGEID w/ exceptions if field has no value
HAS_IMAGEID() Determine if IMAGEID has a value

InstanceType

The instance type. Only one instance type can be specified.

Accessible with the following methods

Method Description
GET_INSTANCETYPE() Getter for INSTANCETYPE, with configurable default
ASK_INSTANCETYPE() Getter for INSTANCETYPE w/ exceptions if field has no value
HAS_INSTANCETYPE() Determine if INSTANCETYPE has a value

KernelId

The ID of the kernel.

Accessible with the following methods

Method Description
GET_KERNELID() Getter for KERNELID, with configurable default
ASK_KERNELID() Getter for KERNELID w/ exceptions if field has no value
HAS_KERNELID() Determine if KERNELID has a value

KeyName

The name of the key pair.

Accessible with the following methods

Method Description
GET_KEYNAME() Getter for KEYNAME, with configurable default
ASK_KEYNAME() Getter for KEYNAME w/ exceptions if field has no value
HAS_KEYNAME() Determine if KEYNAME has a value

Monitoring

Indicates whether basic or detailed monitoring is enabled for the instance.

Default: Disabled

Accessible with the following methods

Method Description
GET_MONITORING() Getter for MONITORING

NetworkInterfaces

The network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

Accessible with the following methods

Method Description
GET_NETWORKINTERFACES() Getter for NETWORKINTERFACES, with configurable default
ASK_NETWORKINTERFACES() Getter for NETWORKINTERFACES w/ exceptions if field has no v
HAS_NETWORKINTERFACES() Determine if NETWORKINTERFACES has a value

Placement

The placement information for the instance.

Accessible with the following methods

Method Description
GET_PLACEMENT() Getter for PLACEMENT

RamdiskId

The ID of the RAM disk.

Accessible with the following methods

Method Description
GET_RAMDISKID() Getter for RAMDISKID, with configurable default
ASK_RAMDISKID() Getter for RAMDISKID w/ exceptions if field has no value
HAS_RAMDISKID() Determine if RAMDISKID has a value

SubnetId

The ID of the subnet in which to launch the instance.

Accessible with the following methods

Method Description
GET_SUBNETID() Getter for SUBNETID, with configurable default
ASK_SUBNETID() Getter for SUBNETID w/ exceptions if field has no value
HAS_SUBNETID() Determine if SUBNETID has a value

UserData

The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.

Accessible with the following methods

Method Description
GET_USERDATA() Getter for USERDATA, with configurable default
ASK_USERDATA() Getter for USERDATA w/ exceptions if field has no value
HAS_USERDATA() Determine if USERDATA has a value