Skip to content

/AWS1/CL_VL=>CREATEACCESSLOGSUBSCRIPTION()

About CreateAccessLogSubscription

Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose. The service network owner can use the access logs to audit the services in the network. The service network owner can only see access logs from clients and services that are associated with their service network. Access log entries represent traffic originated from VPCs associated with that network. For more information, see Access logs in the Amazon VPC Lattice User Guide.

Method Signature

IMPORTING

Required arguments:

IV_RESOURCEIDENTIFIER TYPE /AWS1/VL_RESOURCEIDENTIFIER /AWS1/VL_RESOURCEIDENTIFIER

The ID or Amazon Resource Name (ARN) of the service network or service.

IV_DESTINATIONARN TYPE /AWS1/VL_ACCESSLOGDSTARN /AWS1/VL_ACCESSLOGDSTARN

The Amazon Resource Name (ARN) of the destination. The supported destination types are CloudWatch Log groups, Kinesis Data Firehose delivery streams, and Amazon S3 buckets.

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 access log subscription.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_VL_CREACCLOGSUBSCRI01 /AWS1/CL_VL_CREACCLOGSUBSCRI01