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.
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.