How to use the @aws-cdk/cx-api.VpcSubnetGroupType function in @aws-cdk/cx-api

To help you get started, we’ve selected a few @aws-cdk/cx-api examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aws / aws-cdk / packages / aws-cdk / lib / context-providers / vpcs.ts View on Github external
function subnetTypeToVpcSubnetType(type: SubnetType): cxapi.VpcSubnetGroupType {
  switch (type) {
    case SubnetType.Isolated: return cxapi.VpcSubnetGroupType.ISOLATED;
    case SubnetType.Private: return cxapi.VpcSubnetGroupType.PRIVATE;
    case SubnetType.Public: return cxapi.VpcSubnetGroupType.PUBLIC;
  }
}
github aws / aws-cdk / packages / aws-cdk / lib / context-providers / vpcs.ts View on Github external
function subnetTypeToVpcSubnetType(type: SubnetType): cxapi.VpcSubnetGroupType {
  switch (type) {
    case SubnetType.Isolated: return cxapi.VpcSubnetGroupType.ISOLATED;
    case SubnetType.Private: return cxapi.VpcSubnetGroupType.PRIVATE;
    case SubnetType.Public: return cxapi.VpcSubnetGroupType.PUBLIC;
  }
}
github aws / aws-cdk / packages / aws-cdk / lib / context-providers / vpcs.ts View on Github external
function subnetTypeToVpcSubnetType(type: SubnetType): cxapi.VpcSubnetGroupType {
  switch (type) {
    case SubnetType.Isolated: return cxapi.VpcSubnetGroupType.ISOLATED;
    case SubnetType.Private: return cxapi.VpcSubnetGroupType.PRIVATE;
    case SubnetType.Public: return cxapi.VpcSubnetGroupType.PUBLIC;
  }
}