Skip to content

/AWS1/CL_VL=>CREATESERVICENETWORK()

About CreateServiceNetwork

Creates a service network. A service network is a logical boundary for a collection of services. You can associate services and VPCs with a service network.

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

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/VL_SERVICENETWORKNAME /AWS1/VL_SERVICENETWORKNAME

The name of the service network. The name must be unique to 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.

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.

IT_TAGS TYPE /AWS1/CL_VL_TAGMAP_W=>TT_TAGMAP TT_TAGMAP

The tags for the service network.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_VL_CRESVCNETWORKRSP /AWS1/CL_VL_CRESVCNETWORKRSP