pub struct VpcIpamPoolArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> VpcIpamPoolArgsBuilder<S>
impl<S: State> VpcIpamPoolArgsBuilder<S>
sourcepub fn build_struct(self) -> VpcIpamPoolArgswhere
S: IsComplete,
pub fn build_struct(self) -> VpcIpamPoolArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn address_family(
self,
value: impl Into<Output<String>>,
) -> VpcIpamPoolArgsBuilder<SetAddressFamily<S>>where
S::AddressFamily: IsUnset,
pub fn address_family(
self,
value: impl Into<Output<String>>,
) -> VpcIpamPoolArgsBuilder<SetAddressFamily<S>>where
S::AddressFamily: IsUnset,
Required.
The IP protocol assigned to this pool. You must choose either IPv4 or IPv6 protocol for a pool.
sourcepub fn allocation_default_netmask_length(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpcIpamPoolArgsBuilder<SetAllocationDefaultNetmaskLength<S>>where
S::AllocationDefaultNetmaskLength: IsUnset,
pub fn allocation_default_netmask_length(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpcIpamPoolArgsBuilder<SetAllocationDefaultNetmaskLength<S>>where
S::AllocationDefaultNetmaskLength: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
A default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16 (unless you provide a different netmask value when you create the new allocation).
sourcepub fn maybe_allocation_default_netmask_length(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpcIpamPoolArgsBuilder<SetAllocationDefaultNetmaskLength<S>>where
S::AllocationDefaultNetmaskLength: IsUnset,
pub fn maybe_allocation_default_netmask_length(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpcIpamPoolArgsBuilder<SetAllocationDefaultNetmaskLength<S>>where
S::AllocationDefaultNetmaskLength: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
A default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16 (unless you provide a different netmask value when you create the new allocation).
sourcepub fn allocation_max_netmask_length(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpcIpamPoolArgsBuilder<SetAllocationMaxNetmaskLength<S>>where
S::AllocationMaxNetmaskLength: IsUnset,
pub fn allocation_max_netmask_length(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpcIpamPoolArgsBuilder<SetAllocationMaxNetmaskLength<S>>where
S::AllocationMaxNetmaskLength: IsUnset,
sourcepub fn maybe_allocation_max_netmask_length(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpcIpamPoolArgsBuilder<SetAllocationMaxNetmaskLength<S>>where
S::AllocationMaxNetmaskLength: IsUnset,
pub fn maybe_allocation_max_netmask_length(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpcIpamPoolArgsBuilder<SetAllocationMaxNetmaskLength<S>>where
S::AllocationMaxNetmaskLength: IsUnset,
sourcepub fn allocation_min_netmask_length(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpcIpamPoolArgsBuilder<SetAllocationMinNetmaskLength<S>>where
S::AllocationMinNetmaskLength: IsUnset,
pub fn allocation_min_netmask_length(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpcIpamPoolArgsBuilder<SetAllocationMinNetmaskLength<S>>where
S::AllocationMinNetmaskLength: IsUnset,
sourcepub fn maybe_allocation_min_netmask_length(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpcIpamPoolArgsBuilder<SetAllocationMinNetmaskLength<S>>where
S::AllocationMinNetmaskLength: IsUnset,
pub fn maybe_allocation_min_netmask_length(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpcIpamPoolArgsBuilder<SetAllocationMinNetmaskLength<S>>where
S::AllocationMinNetmaskLength: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
Tags that are required for resources that use CIDRs from this IPAM pool. Resources that do not have these tags will not be allowed to allocate space from the pool. If the resources have their tags changed after they have allocated space or if the allocation tagging requirements are changed on the pool, the resource may be marked as noncompliant.
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
Tags that are required for resources that use CIDRs from this IPAM pool. Resources that do not have these tags will not be allowed to allocate space from the pool. If the resources have their tags changed after they have allocated space or if the allocation tagging requirements are changed on the pool, the resource may be marked as noncompliant.
sourcepub fn auto_import(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcIpamPoolArgsBuilder<SetAutoImport<S>>where
S::AutoImport: IsUnset,
pub fn auto_import(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcIpamPoolArgsBuilder<SetAutoImport<S>>where
S::AutoImport: IsUnset,
sourcepub fn maybe_auto_import(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcIpamPoolArgsBuilder<SetAutoImport<S>>where
S::AutoImport: IsUnset,
pub fn maybe_auto_import(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcIpamPoolArgsBuilder<SetAutoImport<S>>where
S::AutoImport: IsUnset,
sourcepub fn aws_service(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcIpamPoolArgsBuilder<SetAwsService<S>>where
S::AwsService: IsUnset,
pub fn aws_service(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcIpamPoolArgsBuilder<SetAwsService<S>>where
S::AwsService: IsUnset,
sourcepub fn maybe_aws_service(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcIpamPoolArgsBuilder<SetAwsService<S>>where
S::AwsService: IsUnset,
pub fn maybe_aws_service(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcIpamPoolArgsBuilder<SetAwsService<S>>where
S::AwsService: IsUnset,
sourcepub fn cascade(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcIpamPoolArgsBuilder<SetCascade<S>>where
S::Cascade: IsUnset,
pub fn cascade(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcIpamPoolArgsBuilder<SetCascade<S>>where
S::Cascade: IsUnset,
sourcepub fn maybe_cascade(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcIpamPoolArgsBuilder<SetCascade<S>>where
S::Cascade: IsUnset,
pub fn maybe_cascade(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcIpamPoolArgsBuilder<SetCascade<S>>where
S::Cascade: IsUnset,
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcIpamPoolArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcIpamPoolArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcIpamPoolArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcIpamPoolArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn ipam_scope_id(
self,
value: impl Into<Output<String>>,
) -> VpcIpamPoolArgsBuilder<SetIpamScopeId<S>>where
S::IpamScopeId: IsUnset,
pub fn ipam_scope_id(
self,
value: impl Into<Output<String>>,
) -> VpcIpamPoolArgsBuilder<SetIpamScopeId<S>>where
S::IpamScopeId: IsUnset,
Required.
The ID of the scope in which you would like to create the IPAM pool.
sourcepub fn locale(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcIpamPoolArgsBuilder<SetLocale<S>>where
S::Locale: IsUnset,
pub fn locale(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcIpamPoolArgsBuilder<SetLocale<S>>where
S::Locale: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The locale in which you would like to create the IPAM pool. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC’s Region. Possible values: Any AWS region, such as us-east-1
.
sourcepub fn maybe_locale(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcIpamPoolArgsBuilder<SetLocale<S>>where
S::Locale: IsUnset,
pub fn maybe_locale(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcIpamPoolArgsBuilder<SetLocale<S>>where
S::Locale: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The locale in which you would like to create the IPAM pool. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC’s Region. Possible values: Any AWS region, such as us-east-1
.
sourcepub fn public_ip_source(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcIpamPoolArgsBuilder<SetPublicIpSource<S>>where
S::PublicIpSource: IsUnset,
pub fn public_ip_source(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcIpamPoolArgsBuilder<SetPublicIpSource<S>>where
S::PublicIpSource: IsUnset,
sourcepub fn maybe_public_ip_source(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcIpamPoolArgsBuilder<SetPublicIpSource<S>>where
S::PublicIpSource: IsUnset,
pub fn maybe_public_ip_source(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcIpamPoolArgsBuilder<SetPublicIpSource<S>>where
S::PublicIpSource: IsUnset,
sourcepub fn publicly_advertisable(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcIpamPoolArgsBuilder<SetPubliclyAdvertisable<S>>where
S::PubliclyAdvertisable: IsUnset,
pub fn publicly_advertisable(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcIpamPoolArgsBuilder<SetPubliclyAdvertisable<S>>where
S::PubliclyAdvertisable: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Defines whether or not IPv6 pool space is publicly advertisable over the internet. This argument is required if address_family = "ipv6"
and public_ip_source = "byoip"
, default is false
. This option is not available for IPv4 pool space or if public_ip_source = "amazon"
. Setting this argument to true
when it is not available may result in erroneous differences being reported.
sourcepub fn maybe_publicly_advertisable(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcIpamPoolArgsBuilder<SetPubliclyAdvertisable<S>>where
S::PubliclyAdvertisable: IsUnset,
pub fn maybe_publicly_advertisable(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcIpamPoolArgsBuilder<SetPubliclyAdvertisable<S>>where
S::PubliclyAdvertisable: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Defines whether or not IPv6 pool space is publicly advertisable over the internet. This argument is required if address_family = "ipv6"
and public_ip_source = "byoip"
, default is false
. This option is not available for IPv4 pool space or if public_ip_source = "amazon"
. Setting this argument to true
when it is not available may result in erroneous differences being reported.
sourcepub fn source_ipam_pool_id(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcIpamPoolArgsBuilder<SetSourceIpamPoolId<S>>where
S::SourceIpamPoolId: IsUnset,
pub fn source_ipam_pool_id(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcIpamPoolArgsBuilder<SetSourceIpamPoolId<S>>where
S::SourceIpamPoolId: IsUnset,
sourcepub fn maybe_source_ipam_pool_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcIpamPoolArgsBuilder<SetSourceIpamPoolId<S>>where
S::SourceIpamPoolId: IsUnset,
pub fn maybe_source_ipam_pool_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcIpamPoolArgsBuilder<SetSourceIpamPoolId<S>>where
S::SourceIpamPoolId: IsUnset,
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.