pulumi_wasm_providers_aws_mini::ec2::vpc

Struct VpcResult

source
pub struct VpcResult {
Show 22 fields pub arn: Output<String>, pub assign_generated_ipv6_cidr_block: Output<Option<bool>>, pub cidr_block: Output<String>, pub default_network_acl_id: Output<String>, pub default_route_table_id: Output<String>, pub default_security_group_id: Output<String>, pub dhcp_options_id: Output<String>, pub enable_dns_hostnames: Output<bool>, pub enable_dns_support: Output<Option<bool>>, pub enable_network_address_usage_metrics: Output<bool>, pub instance_tenancy: Output<Option<String>>, pub ipv4_ipam_pool_id: Output<Option<String>>, pub ipv4_netmask_length: Output<Option<i32>>, pub ipv6_association_id: Output<String>, pub ipv6_cidr_block: Output<String>, pub ipv6_cidr_block_network_border_group: Output<String>, pub ipv6_ipam_pool_id: Output<Option<String>>, pub ipv6_netmask_length: Output<Option<i32>>, pub main_route_table_id: Output<String>, pub owner_id: Output<String>, pub tags: Output<Option<HashMap<String, String>>>, pub tags_all: Output<HashMap<String, String>>,
}

Fields§

§arn: Output<String>

Amazon Resource Name (ARN) of VPC

§assign_generated_ipv6_cidr_block: Output<Option<bool>>

Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block. Default is false. Conflicts with ipv6_ipam_pool_id

§cidr_block: Output<String>

The IPv4 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using ipv4_netmask_length.

§default_network_acl_id: Output<String>

The ID of the network ACL created by default on VPC creation

§default_route_table_id: Output<String>

The ID of the route table created by default on VPC creation

§default_security_group_id: Output<String>

The ID of the security group created by default on VPC creation

§dhcp_options_id: Output<String>

DHCP options id of the desired VPC.

§enable_dns_hostnames: Output<bool>

A boolean flag to enable/disable DNS hostnames in the VPC. Defaults false.

§enable_dns_support: Output<Option<bool>>

A boolean flag to enable/disable DNS support in the VPC. Defaults to true.

§enable_network_address_usage_metrics: Output<bool>

Indicates whether Network Address Usage metrics are enabled for your VPC. Defaults to false.

§instance_tenancy: Output<Option<String>>

A tenancy option for instances launched into the VPC. Default is default, which ensures that EC2 instances launched in this VPC use the EC2 instance tenancy attribute specified when the EC2 instance is launched. The only other option is dedicated, which ensures that EC2 instances launched in this VPC are run on dedicated tenancy instances regardless of the tenancy attribute specified at launch. This has a dedicated per region fee of $2 per hour, plus an hourly per instance usage fee.

§ipv4_ipam_pool_id: Output<Option<String>>

The ID of an IPv4 IPAM pool you want to use for allocating this VPC’s CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Using IPAM you can monitor IP address usage throughout your AWS Organization.

§ipv4_netmask_length: Output<Option<i32>>

The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a ipv4_ipam_pool_id.

§ipv6_association_id: Output<String>

The association ID for the IPv6 CIDR block.

§ipv6_cidr_block: Output<String>

IPv6 CIDR block to request from an IPAM Pool. Can be set explicitly or derived from IPAM using ipv6_netmask_length.

§ipv6_cidr_block_network_border_group: Output<String>

By default when an IPv6 CIDR is assigned to a VPC a default ipv6_cidr_block_network_border_group will be set to the region of the VPC. This can be changed to restrict advertisement of public addresses to specific Network Border Groups such as LocalZones.

§ipv6_ipam_pool_id: Output<Option<String>>

IPAM Pool ID for a IPv6 pool. Conflicts with assign_generated_ipv6_cidr_block.

§ipv6_netmask_length: Output<Option<i32>>

Netmask length to request from IPAM Pool. Conflicts with ipv6_cidr_block. This can be omitted if IPAM pool as a allocation_default_netmask_length set. Valid values are from 44 to 60 in increments of 4.

§main_route_table_id: Output<String>

The ID of the main route table associated with this VPC. Note that you can change a VPC’s main route table by using an aws.ec2.MainRouteTableAssociation.

§owner_id: Output<String>

The ID of the AWS account that owns the VPC.

§tags: Output<Option<HashMap<String, String>>>

A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

§tags_all: Output<HashMap<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.