Skip to content

Support for Resource-type access logs #720

Open
@jpswing954

Description

@jpswing954

Access logs currently allow for both "Service" and "Resource" type logs, which can be selected from using the CreateAccessLogSubscription API's "serviceNetworkLogType" field:

https://docs.aws.amazon.com/vpc-lattice/latest/APIReference/API_CreateAccessLogSubscription.html

But the current code only allows for passing the request elements "resourceIdentifier", "destinationArn", and "tags":

https://github.com/aws/aws-application-networking-k8s/blob/b0957fc21609d1c1f43cb34ac3e09be6ee18843a/pkg/deploy/lattice/access_log_subscription_manager.go#L54C1-L55C1

When "serviceNetworkLogType" is not specified in an API request, the "Service" type log is assumed, which means there is no way to add "Resource" type logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions