AWSx

Pulumi Official
Package maintained by Pulumi
v1.0.0-beta.1 published on Friday, Apr 29, 2022 by Pulumi

DefaultVpc

Pseudo resource representing the default VPC and associated subnets for an account and region. This does not create any resources. This will be replaced with getDefaultVpc in the future.

Create a DefaultVpc Resource

new DefaultVpc(name: string, args?: DefaultVpcArgs, opts?: CustomResourceOptions);
@overload
def DefaultVpc(resource_name: str,
               opts: Optional[ResourceOptions] = None)
@overload
def DefaultVpc(resource_name: str,
               args: Optional[DefaultVpcArgs] = None,
               opts: Optional[ResourceOptions] = None)
func NewDefaultVpc(ctx *Context, name string, args *DefaultVpcArgs, opts ...ResourceOption) (*DefaultVpc, error)
public DefaultVpc(string name, DefaultVpcArgs? args = null, CustomResourceOptions? opts = null)
public DefaultVpc(String name, DefaultVpcArgs args)
public DefaultVpc(String name, DefaultVpcArgs args, CustomResourceOptions options)
type: awsx:ec2:DefaultVpc
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DefaultVpcArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DefaultVpcArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DefaultVpcArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DefaultVpcArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DefaultVpcArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DefaultVpc Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DefaultVpc resource accepts the following input properties:

Outputs

All input properties are implicitly available as output properties. Additionally, the DefaultVpc resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

PrivateSubnetIds List<string>
PublicSubnetIds List<string>
VpcId string

The VPC ID for the default VPC

Id string

The provider-assigned unique ID for this managed resource.

PrivateSubnetIds []string
PublicSubnetIds []string
VpcId string

The VPC ID for the default VPC

id String

The provider-assigned unique ID for this managed resource.

privateSubnetIds List
publicSubnetIds List
vpcId String

The VPC ID for the default VPC

id string

The provider-assigned unique ID for this managed resource.

privateSubnetIds string[]
publicSubnetIds string[]
vpcId string

The VPC ID for the default VPC

id str

The provider-assigned unique ID for this managed resource.

private_subnet_ids Sequence[str]
public_subnet_ids Sequence[str]
vpc_id str

The VPC ID for the default VPC

id String

The provider-assigned unique ID for this managed resource.

privateSubnetIds List
publicSubnetIds List
vpcId String

The VPC ID for the default VPC

Package Details

Repository
https://github.com/pulumi/pulumi-awsx
License
Apache-2.0