awsx.ec2.getDefaultVpc

Deprecated:

Waiting for https://github.com/pulumi/pulumi/issues/7583. Use the DefaultVpc resource until resolved.

[NOT YET IMPLEMENTED] Get the Default VPC for a region.

Using getDefaultVpc

function getDefaultVpc(args: GetDefaultVpcArgs, opts?: InvokeOptions): Promise<GetDefaultVpcResult>
def get_default_vpc(opts: Optional[InvokeOptions] = None) -> GetDefaultVpcResult
func GetDefaultVpc(ctx *Context, args *GetDefaultVpcArgs, opts ...InvokeOption) (*GetDefaultVpcResult, error)

> Note: This function is named GetDefaultVpc in the Go SDK.

public static class GetDefaultVpc 
{
    public static Task<GetDefaultVpcResult> InvokeAsync(GetDefaultVpcArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDefaultVpcResult> getDefaultVpc(GetDefaultVpcArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: awsx:ec2:getDefaultVpc
  arguments:
    # arguments dictionary

The following arguments are supported:

getDefaultVpc Result

The following output properties are available:

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

The VPC ID for the default VPC

PrivateSubnetIds []string
PublicSubnetIds []string
VpcId string

The VPC ID for the default VPC

privateSubnetIds List<String>
publicSubnetIds List<String>
vpcId String

The VPC ID for the default VPC

privateSubnetIds string[]
publicSubnetIds string[]
vpcId string

The VPC ID for the default VPC

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

The VPC ID for the default VPC

privateSubnetIds List<String>
publicSubnetIds List<String>
vpcId String

The VPC ID for the default VPC

Package Details

Repository
AWSx (Pulumi Crosswalk for AWS) pulumi/pulumi-awsx
License
Apache-2.0