Skip to content

/AWS1/CL_EC2SCHDINSTSLAUNCHS00

Describes the launch specification for a Scheduled Instance.

If you are launching the Scheduled Instance in EC2-VPC, you must specify the ID of the subnet. You can specify the subnet using either SubnetId or NetworkInterface.

CONSTRUCTOR

IMPORTING

Required arguments:

IV_IMAGEID TYPE /AWS1/EC2IMAGEID /AWS1/EC2IMAGEID

The ID of the Amazon Machine Image (AMI).

Optional arguments:

IT_BLOCKDEVICEMAPPINGS TYPE /AWS1/CL_EC2SCHDINSTSBLKDEVMAP=>TT_SCHDDINSTSBLOCKDEVICEMAPSET TT_SCHDDINSTSBLOCKDEVICEMAPSET

The block device mapping entries.

IV_EBSOPTIMIZED TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Indicates whether the instances are 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_EC2SCHDINSTSIAMINST00 /AWS1/CL_EC2SCHDINSTSIAMINST00

The IAM instance profile.

IV_INSTANCETYPE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The instance type.

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_EC2SCHDDINSTANCESMON /AWS1/CL_EC2SCHDDINSTANCESMON

Enable or disable monitoring for the instances.

IT_NETWORKINTERFACES TYPE /AWS1/CL_EC2SCHDINSTSNETWORK00=>TT_SCHDINSTSNETWORKINTERFACE00 TT_SCHDINSTSNETWORKINTERFACE00

The network interfaces.

IO_PLACEMENT TYPE REF TO /AWS1/CL_EC2SCHDDINSTSPLCMT /AWS1/CL_EC2SCHDDINSTSPLCMT

The placement information.

IV_RAMDISKID TYPE /AWS1/EC2RAMDISKID /AWS1/EC2RAMDISKID

The ID of the RAM disk.

IT_SECURITYGROUPIDS TYPE /AWS1/CL_EC2SCHDINSTSSECGRID00=>TT_SCHDDINSTSSECGROUPIDSET TT_SCHDDINSTSSECGROUPIDSET

The IDs of the security groups.

IV_SUBNETID TYPE /AWS1/EC2SUBNETID /AWS1/EC2SUBNETID

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

IV_USERDATA TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The base64-encoded MIME user data.


Queryable Attributes

BlockDeviceMappings

The block device mapping entries.

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 instances are 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 Amazon Machine Image (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.

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

Enable or disable monitoring for the instances.

Accessible with the following methods

Method Description
GET_MONITORING() Getter for MONITORING

NetworkInterfaces

The network interfaces.

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.

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

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

SubnetId

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

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 MIME user data.

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