Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-ec2-alpha/lib/subnet-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,9 @@ const subnetTypeMap: { [key in SubnetType | DeprecatedSubnetType]: (vpc: IVpcV2,
['Deprecated_Isolated']: (vpc: IVpcV2, subnet: SubnetV2) => vpc.isolatedSubnets.push(subnet),
['Deprecated_Private']: (vpc: IVpcV2, subnet: SubnetV2) => vpc.privateSubnets.push(subnet),
[SubnetType.PRIVATE_WITH_NAT]: (vpc: IVpcV2, subnet: SubnetV2) => vpc.privateSubnets.push(subnet),
[SubnetType.PUBLIC_OUTPOST]: (vpc: IVpcV2, subnet: SubnetV2) => vpc.publicSubnets.push(subnet),
[SubnetType.PRIVATE_OUTPOST_WITH_EGRESS]: (vpc: IVpcV2, subnet: SubnetV2) => vpc.privateSubnets.push(subnet),
[SubnetType.PRIVATE_OUTPOST_ISOLATED]: (vpc: IVpcV2, subnet: SubnetV2) => vpc.isolatedSubnets.push(subnet),
};

/**
Expand Down
31,101 changes: 31,101 additions & 0 deletions packages/@aws-cdk/cli-lib-alpha/THIRD_PARTY_LICENSES

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions packages/aws-cdk-lib/aws-ec2/lib/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ export function defaultSubnetName(type: SubnetType) {
case SubnetType.PRIVATE_ISOLATED:
case SubnetType.ISOLATED:
return 'Isolated';
case SubnetType.PUBLIC_OUTPOST: return 'PublicOutpost';
case SubnetType.PRIVATE_OUTPOST_WITH_EGRESS: return 'PrivateOutpost';
case SubnetType.PRIVATE_OUTPOST_ISOLATED: return 'IsolatedOutpost';
}
}

Expand Down
Loading
Loading