Enable Control Plane Logging via EKS Blueprint #27713
Unanswered
jwilms1971
asked this question in
Q&A
Replies: 1 comment
-
This is the correct syntax: .enableControlPlaneLogTypes(ControlPlaneLogType.API, ControlPlaneLogType.AUDIT) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to enable control plane logging using CDK with EKS Blueprints.
const blueprint = blueprints.EksBlueprint.builder()
.account(account)
.region(region)
.addOns(...addOns)
.clusterProvider(clusterProvider)
.enableControlPlaneLogTypes([{ControlPlaneLogType: 'api'},{ControlPlaneLogType: 'audit'}])
.useDefaultSecretEncryption(true) // set to false to turn secret encryption off (non-production/demo cases)
.build(app, clusterName);
I think I am getting the syntax for enableControlPlaneLogTypes method wrong (I did import ControlPlaneLogType), and was hoping for some guidance. I am still very new to CDK.
Beta Was this translation helpful? Give feedback.
All reactions