/AWS1/CL_ASCLAUNCHCONF¶
Describes a launch configuration.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_launchconfigurationname
TYPE /AWS1/ASCXMLSTRINGMAXLEN255
/AWS1/ASCXMLSTRINGMAXLEN255
¶
The name of the launch configuration.
iv_imageid
TYPE /AWS1/ASCXMLSTRINGMAXLEN255
/AWS1/ASCXMLSTRINGMAXLEN255
¶
The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more information, see Find a Linux AMI in the Amazon EC2 User Guide.
iv_instancetype
TYPE /AWS1/ASCXMLSTRINGMAXLEN255
/AWS1/ASCXMLSTRINGMAXLEN255
¶
The instance type for the instances. For information about available instance types, see Available instance types in the Amazon EC2 User Guide.
iv_createdtime
TYPE /AWS1/ASCTIMESTAMPTYPE
/AWS1/ASCTIMESTAMPTYPE
¶
The creation date and time for the launch configuration.
Optional arguments:¶
iv_launchconfigurationarn
TYPE /AWS1/ASCRESOURCENAME
/AWS1/ASCRESOURCENAME
¶
The Amazon Resource Name (ARN) of the launch configuration.
iv_keyname
TYPE /AWS1/ASCXMLSTRINGMAXLEN255
/AWS1/ASCXMLSTRINGMAXLEN255
¶
The name of the key pair.
For more information, see Amazon EC2 key pairs and Amazon EC2 instances in the Amazon EC2 User Guide.
it_securitygroups
TYPE /AWS1/CL_ASCSECURITYGROUPS_W=>TT_SECURITYGROUPS
TT_SECURITYGROUPS
¶
A list that contains the security groups to assign to the instances in the Auto Scaling group. For more information, see Control traffic to your Amazon Web Services resources using security groups in the Amazon Virtual Private Cloud User Guide.
iv_classiclinkvpcid
TYPE /AWS1/ASCXMLSTRINGMAXLEN255
/AWS1/ASCXMLSTRINGMAXLEN255
¶
Available for backward compatibility.
it_classiclinkvpcsecgroups
TYPE /AWS1/CL_ASCCLICLINKVPCSECGR00=>TT_CLASSICLINKVPCSECGROUPS
TT_CLASSICLINKVPCSECGROUPS
¶
Available for backward compatibility.
iv_userdata
TYPE /AWS1/ASCXMLSTRINGUSERDATA
/AWS1/ASCXMLSTRINGUSERDATA
¶
The user data to make available to the launched EC2 instances. For more information, see Instance metadata and user data in the Amazon EC2 User Guide. If you are using a command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text. User data is limited to 16 KB.
iv_kernelid
TYPE /AWS1/ASCXMLSTRINGMAXLEN255
/AWS1/ASCXMLSTRINGMAXLEN255
¶
The ID of the kernel associated with the AMI.
iv_ramdiskid
TYPE /AWS1/ASCXMLSTRINGMAXLEN255
/AWS1/ASCXMLSTRINGMAXLEN255
¶
The ID of the RAM disk associated with the AMI.
it_blockdevicemappings
TYPE /AWS1/CL_ASCBLOCKDEVICEMAPPING=>TT_BLOCKDEVICEMAPPINGS
TT_BLOCKDEVICEMAPPINGS
¶
The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see Block device mappings in the Amazon EC2 User Guide.
io_instancemonitoring
TYPE REF TO /AWS1/CL_ASCINSTANCEMONITORING
/AWS1/CL_ASCINSTANCEMONITORING
¶
Controls whether instances in this group are launched with detailed (
true
) or basic (false
) monitoring.For more information, see Configure monitoring for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.
iv_spotprice
TYPE /AWS1/ASCSPOTPRICE
/AWS1/ASCSPOTPRICE
¶
The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot price. For more information, see Requesting Spot Instances for fault-tolerant and flexible applications in the Amazon EC2 Auto Scaling User Guide.
iv_iaminstanceprofile
TYPE /AWS1/ASCXMLSTRINGMAXLEN1600
/AWS1/ASCXMLSTRINGMAXLEN1600
¶
The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. For more information, see IAM role for applications that run on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.
iv_ebsoptimized
TYPE /AWS1/ASCEBSOPTIMIZED
/AWS1/ASCEBSOPTIMIZED
¶
Specifies whether the launch configuration is optimized for EBS I/O (
true
) or not (false
). For more information, see Amazon EBS-optimized instances in the Amazon EC2 User Guide.
iv_associatepublicipaddress
TYPE /AWS1/ASCASSOCPUBLICIPADDRESS
/AWS1/ASCASSOCPUBLICIPADDRESS
¶
Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet. For more information, see Provide network connectivity for your Auto Scaling instances using Amazon VPC in the Amazon EC2 Auto Scaling User Guide.
iv_placementtenancy
TYPE /AWS1/ASCXMLSTRINGMAXLEN64
/AWS1/ASCXMLSTRINGMAXLEN64
¶
The tenancy of the instance, either
default
ordedicated
. An instance withdedicated
tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC.
io_metadataoptions
TYPE REF TO /AWS1/CL_ASCINSTANCEMETOPTIONS
/AWS1/CL_ASCINSTANCEMETOPTIONS
¶
The metadata options for the instances. For more information, see Configure the instance metadata options in the Amazon EC2 Auto Scaling User Guide.
Queryable Attributes¶
LaunchConfigurationName¶
The name of the launch configuration.
Accessible with the following methods¶
Method | Description |
---|---|
GET_LAUNCHCONFIGURATIONNAME() |
Getter for LAUNCHCONFIGURATIONNAME, with configurable defaul |
ASK_LAUNCHCONFIGURATIONNAME() |
Getter for LAUNCHCONFIGURATIONNAME w/ exceptions if field ha |
HAS_LAUNCHCONFIGURATIONNAME() |
Determine if LAUNCHCONFIGURATIONNAME has a value |
LaunchConfigurationARN¶
The Amazon Resource Name (ARN) of the launch configuration.
Accessible with the following methods¶
Method | Description |
---|---|
GET_LAUNCHCONFIGURATIONARN() |
Getter for LAUNCHCONFIGURATIONARN, with configurable default |
ASK_LAUNCHCONFIGURATIONARN() |
Getter for LAUNCHCONFIGURATIONARN w/ exceptions if field has |
HAS_LAUNCHCONFIGURATIONARN() |
Determine if LAUNCHCONFIGURATIONARN has a value |
ImageId¶
The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more information, see Find a Linux AMI in the Amazon EC2 User Guide.
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 |
KeyName¶
The name of the key pair.
For more information, see Amazon EC2 key pairs and Amazon EC2 instances in the Amazon EC2 User Guide.
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 |
SecurityGroups¶
A list that contains the security groups to assign to the instances in the Auto Scaling group. For more information, see Control traffic to your Amazon Web Services resources using security groups in the Amazon Virtual Private Cloud User Guide.
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 |
ClassicLinkVPCId¶
Available for backward compatibility.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CLASSICLINKVPCID() |
Getter for CLASSICLINKVPCID, with configurable default |
ASK_CLASSICLINKVPCID() |
Getter for CLASSICLINKVPCID w/ exceptions if field has no va |
HAS_CLASSICLINKVPCID() |
Determine if CLASSICLINKVPCID has a value |
ClassicLinkVPCSecurityGroups¶
Available for backward compatibility.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CLASSICLINKVPCSECGROUPS() |
Getter for CLASSICLINKVPCSECURITYGROUPS, with configurable d |
ASK_CLASSICLINKVPCSECGROUPS() |
Getter for CLASSICLINKVPCSECURITYGROUPS w/ exceptions if fie |
HAS_CLASSICLINKVPCSECGROUPS() |
Determine if CLASSICLINKVPCSECURITYGROUPS has a value |
UserData¶
The user data to make available to the launched EC2 instances. For more information, see Instance metadata and user data in the Amazon EC2 User Guide. If you are using a command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text. 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 |
InstanceType¶
The instance type for the instances. For information about available instance types, see Available instance types in the Amazon EC2 User Guide.
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 associated with the AMI.
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 |
RamdiskId¶
The ID of the RAM disk associated with the AMI.
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 |
BlockDeviceMappings¶
The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see Block device mappings in the Amazon EC2 User Guide.
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 |
InstanceMonitoring¶
Controls whether instances in this group are launched with detailed (
true
) or basic (false
) monitoring.For more information, see Configure monitoring for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.
Accessible with the following methods¶
Method | Description |
---|---|
GET_INSTANCEMONITORING() |
Getter for INSTANCEMONITORING |
SpotPrice¶
The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot price. For more information, see Requesting Spot Instances for fault-tolerant and flexible applications in the Amazon EC2 Auto Scaling User Guide.
Accessible with the following methods¶
Method | Description |
---|---|
GET_SPOTPRICE() |
Getter for SPOTPRICE, with configurable default |
ASK_SPOTPRICE() |
Getter for SPOTPRICE w/ exceptions if field has no value |
HAS_SPOTPRICE() |
Determine if SPOTPRICE has a value |
IamInstanceProfile¶
The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. For more information, see IAM role for applications that run on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.
Accessible with the following methods¶
Method | Description |
---|---|
GET_IAMINSTANCEPROFILE() |
Getter for IAMINSTANCEPROFILE, with configurable default |
ASK_IAMINSTANCEPROFILE() |
Getter for IAMINSTANCEPROFILE w/ exceptions if field has no |
HAS_IAMINSTANCEPROFILE() |
Determine if IAMINSTANCEPROFILE has a value |
CreatedTime¶
The creation date and time for the launch configuration.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CREATEDTIME() |
Getter for CREATEDTIME, with configurable default |
ASK_CREATEDTIME() |
Getter for CREATEDTIME w/ exceptions if field has no value |
HAS_CREATEDTIME() |
Determine if CREATEDTIME has a value |
EbsOptimized¶
Specifies whether the launch configuration is optimized for EBS I/O (
true
) or not (false
). For more information, see Amazon EBS-optimized instances in the Amazon EC2 User Guide.
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 |
AssociatePublicIpAddress¶
Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet. For more information, see Provide network connectivity for your Auto Scaling instances using Amazon VPC in the Amazon EC2 Auto Scaling User Guide.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ASSOCIATEPUBLICIPADDRESS() |
Getter for ASSOCIATEPUBLICIPADDRESS, with configurable defau |
ASK_ASSOCIATEPUBLICIPADDRESS() |
Getter for ASSOCIATEPUBLICIPADDRESS w/ exceptions if field h |
HAS_ASSOCIATEPUBLICIPADDRESS() |
Determine if ASSOCIATEPUBLICIPADDRESS has a value |
PlacementTenancy¶
The tenancy of the instance, either
default
ordedicated
. An instance withdedicated
tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC.
Accessible with the following methods¶
Method | Description |
---|---|
GET_PLACEMENTTENANCY() |
Getter for PLACEMENTTENANCY, with configurable default |
ASK_PLACEMENTTENANCY() |
Getter for PLACEMENTTENANCY w/ exceptions if field has no va |
HAS_PLACEMENTTENANCY() |
Determine if PLACEMENTTENANCY has a value |
MetadataOptions¶
The metadata options for the instances. For more information, see Configure the instance metadata options in the Amazon EC2 Auto Scaling User Guide.
Accessible with the following methods¶
Method | Description |
---|---|
GET_METADATAOPTIONS() |
Getter for METADATAOPTIONS |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_LAUNCHCONFIGURATIONS
¶
TYPES TT_LAUNCHCONFIGURATIONS TYPE STANDARD TABLE OF REF TO /AWS1/CL_ASCLAUNCHCONF WITH DEFAULT KEY
.