Slide 33
Slide 33 text
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Tokens
const vpc = new Vpc(this, vpcName, {
name: vpcName,
publicSubnets: ["10.0.1.0/24", "10.0.2.0/24"],
});
new Eks(this, "EksModule", {
clusterName: "my-kubernetes-cluster",
subnets: Token.asList(vpc.publicSubnetsOutput),
clusterLogRetentionInDays: logRetention.numberValue,
});