pub struct EipArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> EipArgsBuilder<S>
impl<S: State> EipArgsBuilder<S>
sourcepub fn build_struct(self) -> EipArgswhere
S: IsComplete,
pub fn build_struct(self) -> EipArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn address(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetAddress<S>>where
S::Address: IsUnset,
pub fn address(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetAddress<S>>where
S::Address: IsUnset,
sourcepub fn maybe_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetAddress<S>>where
S::Address: IsUnset,
pub fn maybe_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetAddress<S>>where
S::Address: IsUnset,
sourcepub fn associate_with_private_ip(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetAssociateWithPrivateIp<S>>where
S::AssociateWithPrivateIp: IsUnset,
pub fn associate_with_private_ip(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetAssociateWithPrivateIp<S>>where
S::AssociateWithPrivateIp: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
User-specified primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.
sourcepub fn maybe_associate_with_private_ip(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetAssociateWithPrivateIp<S>>where
S::AssociateWithPrivateIp: IsUnset,
pub fn maybe_associate_with_private_ip(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetAssociateWithPrivateIp<S>>where
S::AssociateWithPrivateIp: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
User-specified primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.
sourcepub fn customer_owned_ipv4_pool(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetCustomerOwnedIpv4Pool<S>>where
S::CustomerOwnedIpv4Pool: IsUnset,
pub fn customer_owned_ipv4_pool(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetCustomerOwnedIpv4Pool<S>>where
S::CustomerOwnedIpv4Pool: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
ID of a customer-owned address pool. For more on customer owned IP addressed check out Customer-owned IP addresses guide.
sourcepub fn maybe_customer_owned_ipv4_pool(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetCustomerOwnedIpv4Pool<S>>where
S::CustomerOwnedIpv4Pool: IsUnset,
pub fn maybe_customer_owned_ipv4_pool(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetCustomerOwnedIpv4Pool<S>>where
S::CustomerOwnedIpv4Pool: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
ID of a customer-owned address pool. For more on customer owned IP addressed check out Customer-owned IP addresses guide.
sourcepub fn domain(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetDomain<S>>where
S::Domain: IsUnset,
pub fn domain(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetDomain<S>>where
S::Domain: IsUnset,
sourcepub fn maybe_domain(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetDomain<S>>where
S::Domain: IsUnset,
pub fn maybe_domain(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetDomain<S>>where
S::Domain: IsUnset,
sourcepub fn instance(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetInstance<S>>where
S::Instance: IsUnset,
pub fn instance(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetInstance<S>>where
S::Instance: IsUnset,
sourcepub fn maybe_instance(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetInstance<S>>where
S::Instance: IsUnset,
pub fn maybe_instance(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetInstance<S>>where
S::Instance: IsUnset,
sourcepub fn ipam_pool_id(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetIpamPoolId<S>>where
S::IpamPoolId: IsUnset,
pub fn ipam_pool_id(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetIpamPoolId<S>>where
S::IpamPoolId: IsUnset,
sourcepub fn maybe_ipam_pool_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetIpamPoolId<S>>where
S::IpamPoolId: IsUnset,
pub fn maybe_ipam_pool_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetIpamPoolId<S>>where
S::IpamPoolId: IsUnset,
sourcepub fn network_border_group(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetNetworkBorderGroup<S>>where
S::NetworkBorderGroup: IsUnset,
pub fn network_border_group(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetNetworkBorderGroup<S>>where
S::NetworkBorderGroup: IsUnset,
sourcepub fn maybe_network_border_group(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetNetworkBorderGroup<S>>where
S::NetworkBorderGroup: IsUnset,
pub fn maybe_network_border_group(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetNetworkBorderGroup<S>>where
S::NetworkBorderGroup: IsUnset,
sourcepub fn network_interface(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetNetworkInterface<S>>where
S::NetworkInterface: IsUnset,
pub fn network_interface(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetNetworkInterface<S>>where
S::NetworkInterface: IsUnset,
sourcepub fn maybe_network_interface(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetNetworkInterface<S>>where
S::NetworkInterface: IsUnset,
pub fn maybe_network_interface(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetNetworkInterface<S>>where
S::NetworkInterface: IsUnset,
sourcepub fn public_ipv4_pool(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetPublicIpv4Pool<S>>where
S::PublicIpv4Pool: IsUnset,
pub fn public_ipv4_pool(
self,
value: impl Into<Output<Option<String>>>,
) -> EipArgsBuilder<SetPublicIpv4Pool<S>>where
S::PublicIpv4Pool: IsUnset,
sourcepub fn maybe_public_ipv4_pool(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetPublicIpv4Pool<S>>where
S::PublicIpv4Pool: IsUnset,
pub fn maybe_public_ipv4_pool(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipArgsBuilder<SetPublicIpv4Pool<S>>where
S::PublicIpv4Pool: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
Map of tags to assign to the resource. Tags can only be applied to EIPs in a VPC. 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()
Map of tags to assign to the resource. Tags can only be applied to EIPs in a VPC. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
sourcepub fn vpc(
self,
value: impl Into<Output<Option<bool>>>,
) -> EipArgsBuilder<SetVpc<S>>where
S::Vpc: IsUnset,
pub fn vpc(
self,
value: impl Into<Output<Option<bool>>>,
) -> EipArgsBuilder<SetVpc<S>>where
S::Vpc: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Boolean if the EIP is in a VPC or not. Use domain
instead.
Defaults to true
unless the region supports EC2-Classic.
NOTE: You can specify either the
instance
ID or thenetwork_interface
ID, but not both. Including both will not return an error from the AWS API, but will have undefined behavior. See the relevant [AssociateAddress API Call][1] for more information.
NOTE: Specifying both
public_ipv4_pool
andaddress
won’t cause an error butaddress
will be used in the case both options are defined as the api only requires one or the other.
sourcepub fn maybe_vpc(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> EipArgsBuilder<SetVpc<S>>where
S::Vpc: IsUnset,
pub fn maybe_vpc(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> EipArgsBuilder<SetVpc<S>>where
S::Vpc: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Boolean if the EIP is in a VPC or not. Use domain
instead.
Defaults to true
unless the region supports EC2-Classic.
NOTE: You can specify either the
instance
ID or thenetwork_interface
ID, but not both. Including both will not return an error from the AWS API, but will have undefined behavior. See the relevant [AssociateAddress API Call][1] for more information.
NOTE: Specifying both
public_ipv4_pool
andaddress
won’t cause an error butaddress
will be used in the case both options are defined as the api only requires one or the other.