@pulumi/awsx
Version:
[](https://github.com/pulumi/pulumi-awsx/actions) [](https://slack.pulumi.com) [;
exports.SubnetType = exports.SubnetAllocationStrategy = exports.NatGatewayStrategy = void 0;
exports.NatGatewayStrategy = {
/**
* Do not create any NAT Gateways. Resources in private subnets will not be able to access the internet.
*/
None: "None",
/**
* Create a single NAT Gateway for the entire VPC. This configuration is not recommended for production infrastructure as it creates a single point of failure.
*/
Single: "Single",
/**
* Create a NAT Gateway in each availability zone. This is the recommended configuration for production infrastructure.
*/
OnePerAz: "OnePerAz",
};
exports.SubnetAllocationStrategy = {
/**
* Group private subnets first, followed by public subnets, followed by isolated subnets.
*/
Legacy: "Legacy",
/**
* Order remains as specified by specs, allowing gaps where required.
*/
Auto: "Auto",
/**
* Whole range of VPC must be accounted for, using "Unused" spec types for deliberate gaps.
*/
Exact: "Exact",
};
exports.SubnetType = {
/**
* A subnet whose hosts can directly communicate with the internet.
*/
Public: "Public",
/**
* A subnet whose hosts can not directly communicate with the internet, but can initiate outbound network traffic via a NAT Gateway.
*/
Private: "Private",
/**
* A subnet whose hosts have no connectivity with the internet.
*/
Isolated: "Isolated",
/**
* A subnet range which is reserved, but no subnet will be created.
*/
Unused: "Unused",
};
//# sourceMappingURL=index.js.map