Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi
published on Thursday, Sep 10, 2026 by Pulumi
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi
published on Thursday, Sep 10, 2026 by Pulumi
aws.ec2.Vpc provides details about a specific VPC.
This resource can prove useful when a module accepts a vpc id as an input variable and needs to, for example, determine the CIDR block of that VPC.
Example Usage
The following example shows how one might accept a VPC id as a variable and use this data source to obtain the data necessary to create a subnet within it.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
import * as std from "@pulumi/std";
const config = new pulumi.Config();
const vpcId = config.requireObject<any>("vpcId");
const selected = aws.ec2.getVpc({
id: vpcId,
});
const example = new aws.ec2.Subnet("example", {
vpcId: selected.then(selected => selected.id),
availabilityZone: "us-west-2a",
cidrBlock: selected.then(selected => std.cidrsubnet({
input: selected.cidrBlock,
newbits: 4,
netnum: 1,
})).then(invoke => invoke.result),
});
import pulumi
import pulumi_aws as aws
import pulumi_std as std
config = pulumi.Config()
vpc_id = config.require_object("vpcId")
selected = aws.ec2.get_vpc(id=vpc_id)
example = aws.ec2.Subnet("example",
vpc_id=selected.id,
availability_zone="us-west-2a",
cidr_block=std.cidrsubnet(input=selected.cidr_block,
newbits=4,
netnum=1).result)
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
var vpcId interface{}
cfg.RequireObject("vpcId", &vpcId)
selected, err := ec2.LookupVpc(ctx, &ec2.LookupVpcArgs{
Id: pulumi.StringRef(vpcId),
}, nil)
if err != nil {
return err
}
invokeCidrsubnet, err := std.Cidrsubnet(ctx, &std.CidrsubnetArgs{
Input: selected.CidrBlock,
Newbits: 4,
Netnum: 1,
}, nil)
if err != nil {
return err
}
_, err = ec2.NewSubnet(ctx, "example", &ec2.SubnetArgs{
VpcId: pulumi.String(selected.Id),
AvailabilityZone: pulumi.String("us-west-2a"),
CidrBlock: pulumi.String(invokeCidrsubnet.Result),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var vpcId = config.RequireObject<dynamic>("vpcId");
var selected = Aws.Ec2.GetVpc.Invoke(new()
{
Id = vpcId,
});
var example = new Aws.Ec2.Subnet("example", new()
{
VpcId = selected.Apply(getVpcResult => getVpcResult.Id),
AvailabilityZone = "us-west-2a",
CidrBlock = Std.Cidrsubnet.Invoke(new()
{
Input = selected.Apply(getVpcResult => getVpcResult.CidrBlock),
Newbits = 4,
Netnum = 1,
}).Apply(invoke => invoke.Result),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.Ec2Functions;
import com.pulumi.aws.ec2.inputs.GetVpcArgs;
import com.pulumi.aws.ec2.Subnet;
import com.pulumi.aws.ec2.SubnetArgs;
import com.pulumi.std.StdFunctions;
import com.pulumi.std.inputs.CidrsubnetArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var vpcId = config.require("vpcId");
final var selected = Ec2Functions.getVpc(GetVpcArgs.builder()
.id(vpcId)
.build());
var example = new Subnet("example", SubnetArgs.builder()
.vpcId(selected.id())
.availabilityZone("us-west-2a")
.cidrBlock(StdFunctions.cidrsubnet(CidrsubnetArgs.builder()
.input(selected.cidrBlock())
.newbits(4)
.netnum(1)
.build()).result())
.build());
}
}
configuration:
vpcId:
type: object
resources:
example:
type: aws:ec2:Subnet
properties:
vpcId: ${selected.id}
availabilityZone: us-west-2a
cidrBlock:
fn::invoke:
function: std:cidrsubnet
arguments:
input: ${selected.cidrBlock}
newbits: 4
netnum: 1
return: result
variables:
selected:
fn::invoke:
function: aws:ec2:getVpc
arguments:
id: ${vpcId}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
std = {
source = "pulumi/std"
}
}
}
data "aws_ec2_getvpc" "selected" {
id = var.vpcId
}
resource "aws_ec2_subnet" "example" {
vpc_id = data.aws_ec2_getvpc.selected.id
availability_zone = "us-west-2a"
cidr_block = cidrsubnet(data.aws_ec2_getvpc.selected.cidr_block, 4, 1)
}
variable "vpcId" {
}
Using getVpc
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVpc(args: GetVpcArgs, opts?: InvokeOptions): Promise<GetVpcResult>
function getVpcOutput(args: GetVpcOutputArgs, opts?: InvokeOutputOptions): Output<GetVpcResult>def get_vpc(cidr_block: Optional[str] = None,
default: Optional[bool] = None,
dhcp_options_id: Optional[str] = None,
filters: Optional[Sequence[GetVpcFilter]] = None,
id: Optional[str] = None,
region: Optional[str] = None,
state: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcResult
def get_vpc_output(cidr_block: pulumi.Input[Optional[str]] = None,
default: pulumi.Input[Optional[bool]] = None,
dhcp_options_id: pulumi.Input[Optional[str]] = None,
filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetVpcFilterArgs]]]] = None,
id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
state: pulumi.Input[Optional[str]] = None,
tags: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetVpcResult]func LookupVpc(ctx *Context, args *LookupVpcArgs, opts ...InvokeOption) (*LookupVpcResult, error)
func LookupVpcOutput(ctx *Context, args *LookupVpcOutputArgs, opts ...InvokeOption) LookupVpcResultOutput> Note: This function is named LookupVpc in the Go SDK.
public static class GetVpc
{
public static Task<GetVpcResult> InvokeAsync(GetVpcArgs args, InvokeOptions? opts = null)
public static Output<GetVpcResult> Invoke(GetVpcInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetVpcResult> Invoke(GetVpcInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetVpcResult> getVpc(GetVpcArgs args, InvokeOptions options)
public static Output<GetVpcResult> getVpc(GetVpcArgs args, InvokeOptions options)
public static Output<GetVpcResult> getVpc(GetVpcArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws:ec2/getVpc:getVpc
arguments:
# arguments dictionarydata "aws_ec2_get_vpc" "name" {
# arguments
}The following arguments are supported:
- Cidr
Block string - CIDR block of the desired VPC.
- Default bool
- Boolean constraint on whether the desired VPC is the default VPC for the region.
- Dhcp
Options stringId - DHCP options id of the desired VPC.
- Filters
List<Get
Vpc Filter> - Custom filter block as described below. See
filterBlock below. - Id string
- ID of the specific VPC to retrieve.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- State string
- Current state of the desired VPC. Can be either
"pending"or"available". - Dictionary<string, string>
- Map of tags, each pair of which must exactly match a pair on the desired VPC.
- Cidr
Block string - CIDR block of the desired VPC.
- Default bool
- Boolean constraint on whether the desired VPC is the default VPC for the region.
- Dhcp
Options stringId - DHCP options id of the desired VPC.
- Filters
[]Get
Vpc Filter - Custom filter block as described below. See
filterBlock below. - Id string
- ID of the specific VPC to retrieve.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- State string
- Current state of the desired VPC. Can be either
"pending"or"available". - map[string]string
- Map of tags, each pair of which must exactly match a pair on the desired VPC.
- cidr_
block string - CIDR block of the desired VPC.
- default bool
- Boolean constraint on whether the desired VPC is the default VPC for the region.
- dhcp_
options_ stringid - DHCP options id of the desired VPC.
- filters list(object)
- Custom filter block as described below. See
filterBlock below. - id string
- ID of the specific VPC to retrieve.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- state string
- Current state of the desired VPC. Can be either
"pending"or"available". - map(string)
- Map of tags, each pair of which must exactly match a pair on the desired VPC.
- cidr
Block String - CIDR block of the desired VPC.
- default_ Boolean
- Boolean constraint on whether the desired VPC is the default VPC for the region.
- dhcp
Options StringId - DHCP options id of the desired VPC.
- filters
List<Get
Vpc Filter> - Custom filter block as described below. See
filterBlock below. - id String
- ID of the specific VPC to retrieve.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- state String
- Current state of the desired VPC. Can be either
"pending"or"available". - Map<String,String>
- Map of tags, each pair of which must exactly match a pair on the desired VPC.
- cidr
Block string - CIDR block of the desired VPC.
- default boolean
- Boolean constraint on whether the desired VPC is the default VPC for the region.
- dhcp
Options stringId - DHCP options id of the desired VPC.
- filters
Get
Vpc Filter[] - Custom filter block as described below. See
filterBlock below. - id string
- ID of the specific VPC to retrieve.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- state string
- Current state of the desired VPC. Can be either
"pending"or"available". - {[key: string]: string}
- Map of tags, each pair of which must exactly match a pair on the desired VPC.
- cidr_
block str - CIDR block of the desired VPC.
- default bool
- Boolean constraint on whether the desired VPC is the default VPC for the region.
- dhcp_
options_ strid - DHCP options id of the desired VPC.
- filters
Sequence[Get
Vpc Filter] - Custom filter block as described below. See
filterBlock below. - id str
- ID of the specific VPC to retrieve.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- state str
- Current state of the desired VPC. Can be either
"pending"or"available". - Mapping[str, str]
- Map of tags, each pair of which must exactly match a pair on the desired VPC.
- cidr
Block String - CIDR block of the desired VPC.
- default Boolean
- Boolean constraint on whether the desired VPC is the default VPC for the region.
- dhcp
Options StringId - DHCP options id of the desired VPC.
- filters List<Property Map>
- Custom filter block as described below. See
filterBlock below. - id String
- ID of the specific VPC to retrieve.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- state String
- Current state of the desired VPC. Can be either
"pending"or"available". - Map<String>
- Map of tags, each pair of which must exactly match a pair on the desired VPC.
getVpc Result
The following output properties are available:
- Arn string
- ARN of VPC.
- Cidr
Block string - CIDR block for the association.
- Cidr
Block List<GetAssociations Vpc Cidr Block Association> - Information about the IPv4 CIDR blocks associated with the VPC. See
cidrBlockAssociationsBlock below. - Default bool
- Dhcp
Options stringId - Enable
Dns boolHostnames - Whether the VPC has DNS hostname support.
- Enable
Dns boolSupport - Whether the VPC has DNS support.
- Enable
Network boolAddress Usage Metrics - Whether Network Address Usage metrics are enabled for your VPC.
- Id string
- Instance
Tenancy string - Allowed tenancy of instances launched into the selected VPC. May be any of
"default","dedicated", or"host". - Ipv6Association
Id string - (Deprecated use
ipv6CidrBlockAssociationsinstead) Association ID for the IPv6 CIDR block. - Ipv6Cidr
Block string - IPv6 CIDR block for the association.
- Ipv6Cidr
Block List<GetAssociations Vpc Ipv6Cidr Block Association> - Information about the IPv6 CIDR blocks associated with the VPC. See
ipv6CidrBlockAssociationsBlock below. - Main
Route stringTable Id - ID of the main route table associated with this VPC.
- Owner
Id string - ID of the AWS account that owns the VPC.
- Region string
- State string
- State of the association.
- Dictionary<string, string>
- Filters
List<Get
Vpc Filter>
- Arn string
- ARN of VPC.
- Cidr
Block string - CIDR block for the association.
- Cidr
Block []GetAssociations Vpc Cidr Block Association - Information about the IPv4 CIDR blocks associated with the VPC. See
cidrBlockAssociationsBlock below. - Default bool
- Dhcp
Options stringId - Enable
Dns boolHostnames - Whether the VPC has DNS hostname support.
- Enable
Dns boolSupport - Whether the VPC has DNS support.
- Enable
Network boolAddress Usage Metrics - Whether Network Address Usage metrics are enabled for your VPC.
- Id string
- Instance
Tenancy string - Allowed tenancy of instances launched into the selected VPC. May be any of
"default","dedicated", or"host". - Ipv6Association
Id string - (Deprecated use
ipv6CidrBlockAssociationsinstead) Association ID for the IPv6 CIDR block. - Ipv6Cidr
Block string - IPv6 CIDR block for the association.
- Ipv6Cidr
Block []GetAssociations Vpc Ipv6Cidr Block Association Type - Information about the IPv6 CIDR blocks associated with the VPC. See
ipv6CidrBlockAssociationsBlock below. - Main
Route stringTable Id - ID of the main route table associated with this VPC.
- Owner
Id string - ID of the AWS account that owns the VPC.
- Region string
- State string
- State of the association.
- map[string]string
- Filters
[]Get
Vpc Filter
- arn string
- ARN of VPC.
- cidr_
block string - CIDR block for the association.
- cidr_
block_ list(object)associations - Information about the IPv4 CIDR blocks associated with the VPC. See
cidrBlockAssociationsBlock below. - default bool
- dhcp_
options_ stringid - enable_
dns_ boolhostnames - Whether the VPC has DNS hostname support.
- enable_
dns_ boolsupport - Whether the VPC has DNS support.
- enable_
network_ booladdress_ usage_ metrics - Whether Network Address Usage metrics are enabled for your VPC.
- id string
- instance_
tenancy string - Allowed tenancy of instances launched into the selected VPC. May be any of
"default","dedicated", or"host". - ipv6_
association_ stringid - (Deprecated use
ipv6CidrBlockAssociationsinstead) Association ID for the IPv6 CIDR block. - ipv6_
cidr_ stringblock - IPv6 CIDR block for the association.
- ipv6_
cidr_ list(object)block_ associations - Information about the IPv6 CIDR blocks associated with the VPC. See
ipv6CidrBlockAssociationsBlock below. - main_
route_ stringtable_ id - ID of the main route table associated with this VPC.
- owner_
id string - ID of the AWS account that owns the VPC.
- region string
- state string
- State of the association.
- map(string)
- filters list(object)
- arn String
- ARN of VPC.
- cidr
Block String - CIDR block for the association.
- cidr
Block List<GetAssociations Vpc Cidr Block Association> - Information about the IPv4 CIDR blocks associated with the VPC. See
cidrBlockAssociationsBlock below. - default_ Boolean
- dhcp
Options StringId - enable
Dns BooleanHostnames - Whether the VPC has DNS hostname support.
- enable
Dns BooleanSupport - Whether the VPC has DNS support.
- enable
Network BooleanAddress Usage Metrics - Whether Network Address Usage metrics are enabled for your VPC.
- id String
- instance
Tenancy String - Allowed tenancy of instances launched into the selected VPC. May be any of
"default","dedicated", or"host". - ipv6Association
Id String - (Deprecated use
ipv6CidrBlockAssociationsinstead) Association ID for the IPv6 CIDR block. - ipv6Cidr
Block String - IPv6 CIDR block for the association.
- ipv6Cidr
Block List<GetAssociations Vpc Ipv6Cidr Block Association> - Information about the IPv6 CIDR blocks associated with the VPC. See
ipv6CidrBlockAssociationsBlock below. - main
Route StringTable Id - ID of the main route table associated with this VPC.
- owner
Id String - ID of the AWS account that owns the VPC.
- region String
- state String
- State of the association.
- Map<String,String>
- filters
List<Get
Vpc Filter>
- arn string
- ARN of VPC.
- cidr
Block string - CIDR block for the association.
- cidr
Block GetAssociations Vpc Cidr Block Association[] - Information about the IPv4 CIDR blocks associated with the VPC. See
cidrBlockAssociationsBlock below. - default boolean
- dhcp
Options stringId - enable
Dns booleanHostnames - Whether the VPC has DNS hostname support.
- enable
Dns booleanSupport - Whether the VPC has DNS support.
- enable
Network booleanAddress Usage Metrics - Whether Network Address Usage metrics are enabled for your VPC.
- id string
- instance
Tenancy string - Allowed tenancy of instances launched into the selected VPC. May be any of
"default","dedicated", or"host". - ipv6Association
Id string - (Deprecated use
ipv6CidrBlockAssociationsinstead) Association ID for the IPv6 CIDR block. - ipv6Cidr
Block string - IPv6 CIDR block for the association.
- ipv6Cidr
Block GetAssociations Vpc Ipv6Cidr Block Association[] - Information about the IPv6 CIDR blocks associated with the VPC. See
ipv6CidrBlockAssociationsBlock below. - main
Route stringTable Id - ID of the main route table associated with this VPC.
- owner
Id string - ID of the AWS account that owns the VPC.
- region string
- state string
- State of the association.
- {[key: string]: string}
- filters
Get
Vpc Filter[]
- arn str
- ARN of VPC.
- cidr_
block str - CIDR block for the association.
- cidr_
block_ Sequence[Getassociations Vpc Cidr Block Association] - Information about the IPv4 CIDR blocks associated with the VPC. See
cidrBlockAssociationsBlock below. - default bool
- dhcp_
options_ strid - enable_
dns_ boolhostnames - Whether the VPC has DNS hostname support.
- enable_
dns_ boolsupport - Whether the VPC has DNS support.
- enable_
network_ booladdress_ usage_ metrics - Whether Network Address Usage metrics are enabled for your VPC.
- id str
- instance_
tenancy str - Allowed tenancy of instances launched into the selected VPC. May be any of
"default","dedicated", or"host". - ipv6_
association_ strid - (Deprecated use
ipv6CidrBlockAssociationsinstead) Association ID for the IPv6 CIDR block. - ipv6_
cidr_ strblock - IPv6 CIDR block for the association.
- ipv6_
cidr_ Sequence[Getblock_ associations Vpc Ipv6Cidr Block Association] - Information about the IPv6 CIDR blocks associated with the VPC. See
ipv6CidrBlockAssociationsBlock below. - main_
route_ strtable_ id - ID of the main route table associated with this VPC.
- owner_
id str - ID of the AWS account that owns the VPC.
- region str
- state str
- State of the association.
- Mapping[str, str]
- filters
Sequence[Get
Vpc Filter]
- arn String
- ARN of VPC.
- cidr
Block String - CIDR block for the association.
- cidr
Block List<Property Map>Associations - Information about the IPv4 CIDR blocks associated with the VPC. See
cidrBlockAssociationsBlock below. - default Boolean
- dhcp
Options StringId - enable
Dns BooleanHostnames - Whether the VPC has DNS hostname support.
- enable
Dns BooleanSupport - Whether the VPC has DNS support.
- enable
Network BooleanAddress Usage Metrics - Whether Network Address Usage metrics are enabled for your VPC.
- id String
- instance
Tenancy String - Allowed tenancy of instances launched into the selected VPC. May be any of
"default","dedicated", or"host". - ipv6Association
Id String - (Deprecated use
ipv6CidrBlockAssociationsinstead) Association ID for the IPv6 CIDR block. - ipv6Cidr
Block String - IPv6 CIDR block for the association.
- ipv6Cidr
Block List<Property Map>Associations - Information about the IPv6 CIDR blocks associated with the VPC. See
ipv6CidrBlockAssociationsBlock below. - main
Route StringTable Id - ID of the main route table associated with this VPC.
- owner
Id String - ID of the AWS account that owns the VPC.
- region String
- state String
- State of the association.
- Map<String>
- filters List<Property Map>
Supporting Types
GetVpcCidrBlockAssociation
- Association
Id string - Association ID for the IPv4 CIDR block.
- Cidr
Block string - CIDR block of the desired VPC.
- State string
- Current state of the desired VPC. Can be either
"pending"or"available".
- Association
Id string - Association ID for the IPv4 CIDR block.
- Cidr
Block string - CIDR block of the desired VPC.
- State string
- Current state of the desired VPC. Can be either
"pending"or"available".
- association_
id string - Association ID for the IPv4 CIDR block.
- cidr_
block string - CIDR block of the desired VPC.
- state string
- Current state of the desired VPC. Can be either
"pending"or"available".
- association
Id String - Association ID for the IPv4 CIDR block.
- cidr
Block String - CIDR block of the desired VPC.
- state String
- Current state of the desired VPC. Can be either
"pending"or"available".
- association
Id string - Association ID for the IPv4 CIDR block.
- cidr
Block string - CIDR block of the desired VPC.
- state string
- Current state of the desired VPC. Can be either
"pending"or"available".
- association_
id str - Association ID for the IPv4 CIDR block.
- cidr_
block str - CIDR block of the desired VPC.
- state str
- Current state of the desired VPC. Can be either
"pending"or"available".
- association
Id String - Association ID for the IPv4 CIDR block.
- cidr
Block String - CIDR block of the desired VPC.
- state String
- Current state of the desired VPC. Can be either
"pending"or"available".
GetVpcFilter
- Name string
- Name of the field to filter by, as defined by the underlying AWS API.
- Values List<string>
- Set of values that are accepted for the given field. A VPC will be selected if any one of the given values matches.
- Name string
- Name of the field to filter by, as defined by the underlying AWS API.
- Values []string
- Set of values that are accepted for the given field. A VPC will be selected if any one of the given values matches.
- name string
- Name of the field to filter by, as defined by the underlying AWS API.
- values list(string)
- Set of values that are accepted for the given field. A VPC will be selected if any one of the given values matches.
- name String
- Name of the field to filter by, as defined by the underlying AWS API.
- values List<String>
- Set of values that are accepted for the given field. A VPC will be selected if any one of the given values matches.
- name string
- Name of the field to filter by, as defined by the underlying AWS API.
- values string[]
- Set of values that are accepted for the given field. A VPC will be selected if any one of the given values matches.
- name str
- Name of the field to filter by, as defined by the underlying AWS API.
- values Sequence[str]
- Set of values that are accepted for the given field. A VPC will be selected if any one of the given values matches.
- name String
- Name of the field to filter by, as defined by the underlying AWS API.
- values List<String>
- Set of values that are accepted for the given field. A VPC will be selected if any one of the given values matches.
GetVpcIpv6CidrBlockAssociation
- Association
Id string - Association ID for the IPv4 CIDR block.
- Ip
Source string - Source that allocated the IP address space. Values:
amazon,byoip,none. - Ipv6Address
Attribute string - Whether the address is
publicorprivate. - Ipv6Cidr
Block string - IPv6 CIDR block for the association.
- Ipv6Pool string
- Name of IPv6 address pool from which the IPv6 CIDR block is allocated.
- Network
Border stringGroup - Name of association's network border group.
- State string
- Current state of the desired VPC. Can be either
"pending"or"available".
- Association
Id string - Association ID for the IPv4 CIDR block.
- Ip
Source string - Source that allocated the IP address space. Values:
amazon,byoip,none. - Ipv6Address
Attribute string - Whether the address is
publicorprivate. - Ipv6Cidr
Block string - IPv6 CIDR block for the association.
- Ipv6Pool string
- Name of IPv6 address pool from which the IPv6 CIDR block is allocated.
- Network
Border stringGroup - Name of association's network border group.
- State string
- Current state of the desired VPC. Can be either
"pending"or"available".
- association_
id string - Association ID for the IPv4 CIDR block.
- ip_
source string - Source that allocated the IP address space. Values:
amazon,byoip,none. - ipv6_
address_ stringattribute - Whether the address is
publicorprivate. - ipv6_
cidr_ stringblock - IPv6 CIDR block for the association.
- ipv6_
pool string - Name of IPv6 address pool from which the IPv6 CIDR block is allocated.
- network_
border_ stringgroup - Name of association's network border group.
- state string
- Current state of the desired VPC. Can be either
"pending"or"available".
- association
Id String - Association ID for the IPv4 CIDR block.
- ip
Source String - Source that allocated the IP address space. Values:
amazon,byoip,none. - ipv6Address
Attribute String - Whether the address is
publicorprivate. - ipv6Cidr
Block String - IPv6 CIDR block for the association.
- ipv6Pool String
- Name of IPv6 address pool from which the IPv6 CIDR block is allocated.
- network
Border StringGroup - Name of association's network border group.
- state String
- Current state of the desired VPC. Can be either
"pending"or"available".
- association
Id string - Association ID for the IPv4 CIDR block.
- ip
Source string - Source that allocated the IP address space. Values:
amazon,byoip,none. - ipv6Address
Attribute string - Whether the address is
publicorprivate. - ipv6Cidr
Block string - IPv6 CIDR block for the association.
- ipv6Pool string
- Name of IPv6 address pool from which the IPv6 CIDR block is allocated.
- network
Border stringGroup - Name of association's network border group.
- state string
- Current state of the desired VPC. Can be either
"pending"or"available".
- association_
id str - Association ID for the IPv4 CIDR block.
- ip_
source str - Source that allocated the IP address space. Values:
amazon,byoip,none. - ipv6_
address_ strattribute - Whether the address is
publicorprivate. - ipv6_
cidr_ strblock - IPv6 CIDR block for the association.
- ipv6_
pool str - Name of IPv6 address pool from which the IPv6 CIDR block is allocated.
- network_
border_ strgroup - Name of association's network border group.
- state str
- Current state of the desired VPC. Can be either
"pending"or"available".
- association
Id String - Association ID for the IPv4 CIDR block.
- ip
Source String - Source that allocated the IP address space. Values:
amazon,byoip,none. - ipv6Address
Attribute String - Whether the address is
publicorprivate. - ipv6Cidr
Block String - IPv6 CIDR block for the association.
- ipv6Pool String
- Name of IPv6 address pool from which the IPv6 CIDR block is allocated.
- network
Border StringGroup - Name of association's network border group.
- state String
- Current state of the desired VPC. Can be either
"pending"or"available".
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi
published on Thursday, Sep 10, 2026 by Pulumi