pub struct VpcArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> VpcArgsBuilder<S>
impl<S: State> VpcArgsBuilder<S>
sourcepub fn build_struct(self) -> VpcArgswhere
S: IsComplete,
pub fn build_struct(self) -> VpcArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn assign_generated_ipv6_cidr_block(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcArgsBuilder<SetAssignGeneratedIpv6CidrBlock<S>>where
S::AssignGeneratedIpv6CidrBlock: IsUnset,
pub fn assign_generated_ipv6_cidr_block(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcArgsBuilder<SetAssignGeneratedIpv6CidrBlock<S>>where
S::AssignGeneratedIpv6CidrBlock: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
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
sourcepub fn maybe_assign_generated_ipv6_cidr_block(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcArgsBuilder<SetAssignGeneratedIpv6CidrBlock<S>>where
S::AssignGeneratedIpv6CidrBlock: IsUnset,
pub fn maybe_assign_generated_ipv6_cidr_block(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcArgsBuilder<SetAssignGeneratedIpv6CidrBlock<S>>where
S::AssignGeneratedIpv6CidrBlock: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
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
sourcepub fn cidr_block(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcArgsBuilder<SetCidrBlock<S>>where
S::CidrBlock: IsUnset,
pub fn cidr_block(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcArgsBuilder<SetCidrBlock<S>>where
S::CidrBlock: IsUnset,
sourcepub fn maybe_cidr_block(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcArgsBuilder<SetCidrBlock<S>>where
S::CidrBlock: IsUnset,
pub fn maybe_cidr_block(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcArgsBuilder<SetCidrBlock<S>>where
S::CidrBlock: IsUnset,
sourcepub fn enable_dns_hostnames(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcArgsBuilder<SetEnableDnsHostnames<S>>where
S::EnableDnsHostnames: IsUnset,
pub fn enable_dns_hostnames(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcArgsBuilder<SetEnableDnsHostnames<S>>where
S::EnableDnsHostnames: IsUnset,
sourcepub fn maybe_enable_dns_hostnames(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcArgsBuilder<SetEnableDnsHostnames<S>>where
S::EnableDnsHostnames: IsUnset,
pub fn maybe_enable_dns_hostnames(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcArgsBuilder<SetEnableDnsHostnames<S>>where
S::EnableDnsHostnames: IsUnset,
sourcepub fn enable_dns_support(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcArgsBuilder<SetEnableDnsSupport<S>>where
S::EnableDnsSupport: IsUnset,
pub fn enable_dns_support(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcArgsBuilder<SetEnableDnsSupport<S>>where
S::EnableDnsSupport: IsUnset,
sourcepub fn maybe_enable_dns_support(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcArgsBuilder<SetEnableDnsSupport<S>>where
S::EnableDnsSupport: IsUnset,
pub fn maybe_enable_dns_support(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcArgsBuilder<SetEnableDnsSupport<S>>where
S::EnableDnsSupport: IsUnset,
sourcepub fn enable_network_address_usage_metrics(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcArgsBuilder<SetEnableNetworkAddressUsageMetrics<S>>where
S::EnableNetworkAddressUsageMetrics: IsUnset,
pub fn enable_network_address_usage_metrics(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcArgsBuilder<SetEnableNetworkAddressUsageMetrics<S>>where
S::EnableNetworkAddressUsageMetrics: IsUnset,
sourcepub fn maybe_enable_network_address_usage_metrics(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcArgsBuilder<SetEnableNetworkAddressUsageMetrics<S>>where
S::EnableNetworkAddressUsageMetrics: IsUnset,
pub fn maybe_enable_network_address_usage_metrics(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcArgsBuilder<SetEnableNetworkAddressUsageMetrics<S>>where
S::EnableNetworkAddressUsageMetrics: IsUnset,
sourcepub fn instance_tenancy(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcArgsBuilder<SetInstanceTenancy<S>>where
S::InstanceTenancy: IsUnset,
pub fn instance_tenancy(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcArgsBuilder<SetInstanceTenancy<S>>where
S::InstanceTenancy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn maybe_instance_tenancy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcArgsBuilder<SetInstanceTenancy<S>>where
S::InstanceTenancy: IsUnset,
pub fn maybe_instance_tenancy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcArgsBuilder<SetInstanceTenancy<S>>where
S::InstanceTenancy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn ipv4_ipam_pool_id(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcArgsBuilder<SetIpv4IpamPoolId<S>>where
S::Ipv4IpamPoolId: IsUnset,
pub fn ipv4_ipam_pool_id(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcArgsBuilder<SetIpv4IpamPoolId<S>>where
S::Ipv4IpamPoolId: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn maybe_ipv4_ipam_pool_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcArgsBuilder<SetIpv4IpamPoolId<S>>where
S::Ipv4IpamPoolId: IsUnset,
pub fn maybe_ipv4_ipam_pool_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcArgsBuilder<SetIpv4IpamPoolId<S>>where
S::Ipv4IpamPoolId: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn ipv4_netmask_length(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpcArgsBuilder<SetIpv4NetmaskLength<S>>where
S::Ipv4NetmaskLength: IsUnset,
pub fn ipv4_netmask_length(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpcArgsBuilder<SetIpv4NetmaskLength<S>>where
S::Ipv4NetmaskLength: IsUnset,
sourcepub fn maybe_ipv4_netmask_length(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpcArgsBuilder<SetIpv4NetmaskLength<S>>where
S::Ipv4NetmaskLength: IsUnset,
pub fn maybe_ipv4_netmask_length(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpcArgsBuilder<SetIpv4NetmaskLength<S>>where
S::Ipv4NetmaskLength: IsUnset,
sourcepub fn ipv6_cidr_block(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcArgsBuilder<SetIpv6CidrBlock<S>>where
S::Ipv6CidrBlock: IsUnset,
pub fn ipv6_cidr_block(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcArgsBuilder<SetIpv6CidrBlock<S>>where
S::Ipv6CidrBlock: IsUnset,
sourcepub fn maybe_ipv6_cidr_block(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcArgsBuilder<SetIpv6CidrBlock<S>>where
S::Ipv6CidrBlock: IsUnset,
pub fn maybe_ipv6_cidr_block(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcArgsBuilder<SetIpv6CidrBlock<S>>where
S::Ipv6CidrBlock: IsUnset,
sourcepub fn ipv6_cidr_block_network_border_group(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcArgsBuilder<SetIpv6CidrBlockNetworkBorderGroup<S>>where
S::Ipv6CidrBlockNetworkBorderGroup: IsUnset,
pub fn ipv6_cidr_block_network_border_group(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcArgsBuilder<SetIpv6CidrBlockNetworkBorderGroup<S>>where
S::Ipv6CidrBlockNetworkBorderGroup: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn maybe_ipv6_cidr_block_network_border_group(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcArgsBuilder<SetIpv6CidrBlockNetworkBorderGroup<S>>where
S::Ipv6CidrBlockNetworkBorderGroup: IsUnset,
pub fn maybe_ipv6_cidr_block_network_border_group(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcArgsBuilder<SetIpv6CidrBlockNetworkBorderGroup<S>>where
S::Ipv6CidrBlockNetworkBorderGroup: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn ipv6_ipam_pool_id(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcArgsBuilder<SetIpv6IpamPoolId<S>>where
S::Ipv6IpamPoolId: IsUnset,
pub fn ipv6_ipam_pool_id(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcArgsBuilder<SetIpv6IpamPoolId<S>>where
S::Ipv6IpamPoolId: IsUnset,
sourcepub fn maybe_ipv6_ipam_pool_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcArgsBuilder<SetIpv6IpamPoolId<S>>where
S::Ipv6IpamPoolId: IsUnset,
pub fn maybe_ipv6_ipam_pool_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcArgsBuilder<SetIpv6IpamPoolId<S>>where
S::Ipv6IpamPoolId: IsUnset,
sourcepub fn ipv6_netmask_length(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpcArgsBuilder<SetIpv6NetmaskLength<S>>where
S::Ipv6NetmaskLength: IsUnset,
pub fn ipv6_netmask_length(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpcArgsBuilder<SetIpv6NetmaskLength<S>>where
S::Ipv6NetmaskLength: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
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.
sourcepub fn maybe_ipv6_netmask_length(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpcArgsBuilder<SetIpv6NetmaskLength<S>>where
S::Ipv6NetmaskLength: IsUnset,
pub fn maybe_ipv6_netmask_length(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpcArgsBuilder<SetIpv6NetmaskLength<S>>where
S::Ipv6NetmaskLength: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
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.
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
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.
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
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.