Skip to content

/AWS1/CL_SMSSERVERLAUNCHCONF

Launch configuration for a server.

CONSTRUCTOR

IMPORTING

Optional arguments:

io_server TYPE REF TO /AWS1/CL_SMSSERVER /AWS1/CL_SMSSERVER

The ID of the server with which the launch configuration is associated.

iv_logicalid TYPE /AWS1/SMSLOGICALID /AWS1/SMSLOGICALID

The logical ID of the server in the CloudFormation template.

iv_vpc TYPE /AWS1/SMSVPC /AWS1/SMSVPC

The ID of the VPC into which the server should be launched.

iv_subnet TYPE /AWS1/SMSSUBNET /AWS1/SMSSUBNET

The ID of the subnet the server should be launched into.

iv_securitygroup TYPE /AWS1/SMSSECURITYGROUP /AWS1/SMSSECURITYGROUP

The ID of the security group that applies to the launched server.

iv_ec2keyname TYPE /AWS1/SMSEC2KEYNAME /AWS1/SMSEC2KEYNAME

The name of the Amazon EC2 SSH key to be used for connecting to the launched server.

io_userdata TYPE REF TO /AWS1/CL_SMSUSERDATA /AWS1/CL_SMSUSERDATA

Location of the user-data script to be executed when launching the server.

iv_instancetype TYPE /AWS1/SMSINSTANCETYPE /AWS1/SMSINSTANCETYPE

The instance type to use when launching the server.

iv_associatepublicipaddress TYPE /AWS1/SMSASSOCPUBLICIPADDRESS /AWS1/SMSASSOCPUBLICIPADDRESS

Indicates whether a publicly accessible IP address is created when launching the server.

iv_iaminstanceprofilename TYPE /AWS1/SMSROLENAME /AWS1/SMSROLENAME

The name of the IAM instance profile.

io_configurescript TYPE REF TO /AWS1/CL_SMSS3LOCATION /AWS1/CL_SMSS3LOCATION

configureScript

iv_configurescripttype TYPE /AWS1/SMSSCRIPTTYPE /AWS1/SMSSCRIPTTYPE

The type of configuration script.


Queryable Attributes

server

The ID of the server with which the launch configuration is associated.

Accessible with the following methods

Method Description
GET_SERVER() Getter for SERVER

logicalId

The logical ID of the server in the CloudFormation template.

Accessible with the following methods

Method Description
GET_LOGICALID() Getter for LOGICALID, with configurable default
ASK_LOGICALID() Getter for LOGICALID w/ exceptions if field has no value
HAS_LOGICALID() Determine if LOGICALID has a value

vpc

The ID of the VPC into which the server should be launched.

Accessible with the following methods

Method Description
GET_VPC() Getter for VPC, with configurable default
ASK_VPC() Getter for VPC w/ exceptions if field has no value
HAS_VPC() Determine if VPC has a value

subnet

The ID of the subnet the server should be launched into.

Accessible with the following methods

Method Description
GET_SUBNET() Getter for SUBNET, with configurable default
ASK_SUBNET() Getter for SUBNET w/ exceptions if field has no value
HAS_SUBNET() Determine if SUBNET has a value

securityGroup

The ID of the security group that applies to the launched server.

Accessible with the following methods

Method Description
GET_SECURITYGROUP() Getter for SECURITYGROUP, with configurable default
ASK_SECURITYGROUP() Getter for SECURITYGROUP w/ exceptions if field has no value
HAS_SECURITYGROUP() Determine if SECURITYGROUP has a value

ec2KeyName

The name of the Amazon EC2 SSH key to be used for connecting to the launched server.

Accessible with the following methods

Method Description
GET_EC2KEYNAME() Getter for EC2KEYNAME, with configurable default
ASK_EC2KEYNAME() Getter for EC2KEYNAME w/ exceptions if field has no value
HAS_EC2KEYNAME() Determine if EC2KEYNAME has a value

userData

Location of the user-data script to be executed when launching the server.

Accessible with the following methods

Method Description
GET_USERDATA() Getter for USERDATA

instanceType

The instance type to use when launching the server.

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

associatePublicIpAddress

Indicates whether a publicly accessible IP address is created when launching the server.

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

iamInstanceProfileName

The name of the IAM instance profile.

Accessible with the following methods

Method Description
GET_IAMINSTANCEPROFILENAME() Getter for IAMINSTANCEPROFILENAME, with configurable default
ASK_IAMINSTANCEPROFILENAME() Getter for IAMINSTANCEPROFILENAME w/ exceptions if field has
HAS_IAMINSTANCEPROFILENAME() Determine if IAMINSTANCEPROFILENAME has a value

configureScript

configureScript

Accessible with the following methods

Method Description
GET_CONFIGURESCRIPT() Getter for CONFIGURESCRIPT

configureScriptType

The type of configuration script.

Accessible with the following methods

Method Description
GET_CONFIGURESCRIPTTYPE() Getter for CONFIGURESCRIPTTYPE, with configurable default
ASK_CONFIGURESCRIPTTYPE() Getter for CONFIGURESCRIPTTYPE w/ exceptions if field has no
HAS_CONFIGURESCRIPTTYPE() Determine if CONFIGURESCRIPTTYPE has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_SERVERLAUNCHCONFIGURATIONS

TYPES TT_SERVERLAUNCHCONFIGURATIONS TYPE STANDARD TABLE OF REF TO /AWS1/CL_SMSSERVERLAUNCHCONF WITH DEFAULT KEY
.