Skip to content

/AWS1/CL_M2=>CREATEENVIRONMENT()

About CreateEnvironment

Creates a runtime environment for a given runtime engine.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/M2_ENTITYNAME /AWS1/M2_ENTITYNAME

The name of the runtime environment. Must be unique within the account.

IV_INSTANCETYPE TYPE /AWS1/M2_STRING20 /AWS1/M2_STRING20

The type of instance for the runtime environment.

IV_ENGINETYPE TYPE /AWS1/M2_ENGINETYPE /AWS1/M2_ENGINETYPE

The engine type for the runtime environment.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/M2_ENTITYDESCRIPTION /AWS1/M2_ENTITYDESCRIPTION

The description of the runtime environment.

IV_ENGINEVERSION TYPE /AWS1/M2_ENGINEVERSION /AWS1/M2_ENGINEVERSION

The version of the engine type for the runtime environment.

IT_SUBNETIDS TYPE /AWS1/CL_M2_STRING50LIST_W=>TT_STRING50LIST TT_STRING50LIST

The list of subnets associated with the VPC for this runtime environment.

IT_SECURITYGROUPIDS TYPE /AWS1/CL_M2_STRING50LIST_W=>TT_STRING50LIST TT_STRING50LIST

The list of security groups for the VPC associated with this runtime environment.

IT_STORAGECONFIGURATIONS TYPE /AWS1/CL_M2_STORAGECONF=>TT_STORAGECONFIGURATIONLIST TT_STORAGECONFIGURATIONLIST

Optional. The storage configurations for this runtime environment.

IV_PUBLICLYACCESSIBLE TYPE /AWS1/M2_BOOLEAN /AWS1/M2_BOOLEAN

Specifies whether the runtime environment is publicly accessible.

IO_HIGHAVAILABILITYCONFIG TYPE REF TO /AWS1/CL_M2_HIGHAVAILABILITY00 /AWS1/CL_M2_HIGHAVAILABILITY00

The details of a high availability configuration for this runtime environment.

IT_TAGS TYPE /AWS1/CL_M2_TAGMAP_W=>TT_TAGMAP TT_TAGMAP

The tags for the runtime environment.

IV_PREFERREDMAINTENANCEWIN00 TYPE /AWS1/M2_STRING50 /AWS1/M2_STRING50

Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:mi and must be less than 24 hours. The following two examples are valid maintenance windows: sun:23:45-mon:00:15 or sat:01:00-sat:03:00.

If you do not provide a value, a random system-generated value will be assigned.

IV_CLIENTTOKEN TYPE /AWS1/M2_STRING /AWS1/M2_STRING

Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create an environment. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.

IV_KMSKEYID TYPE /AWS1/M2_STRING /AWS1/M2_STRING

The identifier of a customer managed key.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_M2_CREENVIRONMENTRSP /AWS1/CL_M2_CREENVIRONMENTRSP