Skip to content

/AWS1/CL_MHR=>CREATEAPPLICATION()

About CreateApplication

Creates an Amazon Web Services Migration Hub Refactor Spaces application. The account that owns the environment also owns the applications created inside the environment, regardless of the account that creates the application. Refactor Spaces provisions an Amazon API Gateway, API Gateway VPC link, and Network Load Balancer for the application proxy inside your account.

In environments created with a CreateEnvironment:NetworkFabricType of NONE you need to configure VPC to VPC connectivity between your service VPC and the application proxy VPC to route traffic through the application proxy to a service with a private URL endpoint. For more information, see Create an application in the Refactor Spaces User Guide.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/MHRAPPLICATIONNAME /AWS1/MHRAPPLICATIONNAME

The name to use for the application.

IV_ENVIRONMENTIDENTIFIER TYPE /AWS1/MHRENVIRONMENTID /AWS1/MHRENVIRONMENTID

The unique identifier of the environment.

IV_VPCID TYPE /AWS1/MHRVPCID /AWS1/MHRVPCID

The ID of the virtual private cloud (VPC).

IV_PROXYTYPE TYPE /AWS1/MHRPROXYTYPE /AWS1/MHRPROXYTYPE

The proxy type of the proxy created within the application.

Optional arguments:

IO_APIGATEWAYPROXY TYPE REF TO /AWS1/CL_MHRAPIGWPROXYINPUT /AWS1/CL_MHRAPIGWPROXYINPUT

A wrapper object holding the API Gateway endpoint type and stage name for the proxy.

IT_TAGS TYPE /AWS1/CL_MHRTAGMAP_W=>TT_TAGMAP TT_TAGMAP

The tags to assign to the application. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.

IV_CLIENTTOKEN TYPE /AWS1/MHRCLIENTTOKEN /AWS1/MHRCLIENTTOKEN

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MHRCREAPPLICATIONRSP /AWS1/CL_MHRCREAPPLICATIONRSP