in ec2_ialb_aga_custom_r53/network_stack.py [0:0]
def __init__(self, scope: core.Construct, construct_id: str, cidr, **kwargs) -> None:
super().__init__(scope, construct_id, **kwargs)
# VPC - 2 AZs, 4 subnets (2 public, 2 private with 2 NatGateways)
self.vpc = ec2.Vpc(
self, "BlogVPC",
cidr=str(cidr),
max_azs=2
)
core.CfnOutput(self, "Output",
value=self.vpc.vpc_id)