Skip to content

/AWS1/CL_VL=>CREATESERVICE()

About CreateService

Creates a service. A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC).

For more information, see Services in the Amazon VPC Lattice User Guide.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/VL_SERVICENAME /AWS1/VL_SERVICENAME

The name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

Optional arguments:

IV_CLIENTTOKEN TYPE /AWS1/VL_CLIENTTOKEN /AWS1/VL_CLIENTTOKEN

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

IT_TAGS TYPE /AWS1/CL_VL_TAGMAP_W=>TT_TAGMAP TT_TAGMAP

The tags for the service.

IV_CUSTOMDOMAINNAME TYPE /AWS1/VL_SVCCUSTOMDOMAINNAME /AWS1/VL_SVCCUSTOMDOMAINNAME

The custom domain name of the service.

IV_CERTIFICATEARN TYPE /AWS1/VL_CERTIFICATEARN /AWS1/VL_CERTIFICATEARN

The Amazon Resource Name (ARN) of the certificate.

IV_AUTHTYPE TYPE /AWS1/VL_AUTHTYPE /AWS1/VL_AUTHTYPE

The type of IAM policy.

  • NONE: The resource does not use an IAM policy. This is the default.

  • AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_VL_CREATESERVICERSP /AWS1/CL_VL_CREATESERVICERSP