AwsVpcSubnetSpecs
AwsVpcSubnetSpecs = Record<string, AwsVpcSubnetSpecArgs>Stable, keyed subnet definitions for one VPC capability.
Remarks
Keys are stable Pulumi child identities. They are sorted before forwarding values to AWSX, so declaration order cannot change the subnet Name tag resource identity or its attachment.
Example
CODE
import * as awsx from '@pulumi/awsx';
import type { AwsVpcSubnetSpecs } from '@jobcloud/aws-vpc';
const subnetSpecs: AwsVpcSubnetSpecs = {
edge: { type: awsx.ec2.SubnetType.Public, name: 'edge' },
application: { type: awsx.ec2.SubnetType.Private, name: 'application' },
};