Skip to content

/AWS1/CL_M2=>CREATEAPPLICATION()

About CreateApplication

Creates a new application with given parameters. Requires an existing runtime environment and application definition file.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/M2_ENTITYNAME /AWS1/M2_ENTITYNAME

The unique identifier of the application.

IV_ENGINETYPE TYPE /AWS1/M2_ENGINETYPE /AWS1/M2_ENGINETYPE

The type of the target platform for this application.

IO_DEFINITION TYPE REF TO /AWS1/CL_M2_DEFINITION /AWS1/CL_M2_DEFINITION

The application definition for this application. You can specify either inline JSON or an S3 bucket location.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/M2_ENTITYDESCRIPTION /AWS1/M2_ENTITYDESCRIPTION

The description of the application.

IT_TAGS TYPE /AWS1/CL_M2_TAGMAP_W=>TT_TAGMAP TT_TAGMAP

A list of tags to apply to the application.

IV_CLIENTTOKEN TYPE /AWS1/M2_STRING /AWS1/M2_STRING

Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create an application. 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.

IV_ROLEARN TYPE /AWS1/M2_ARN /AWS1/M2_ARN

The Amazon Resource Name (ARN) that identifies a role that the application uses to access Amazon Web Services resources that are not part of the application or are in a different Amazon Web Services account.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_M2_CREAPPLICATIONRSP /AWS1/CL_M2_CREAPPLICATIONRSP