pub struct VpnConnectionArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> VpnConnectionArgsBuilder<S>
impl<S: State> VpnConnectionArgsBuilder<S>
sourcepub fn build_struct(self) -> VpnConnectionArgswhere
S: IsComplete,
pub fn build_struct(self) -> VpnConnectionArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn customer_gateway_id(
self,
value: impl Into<Output<String>>,
) -> VpnConnectionArgsBuilder<SetCustomerGatewayId<S>>where
S::CustomerGatewayId: IsUnset,
pub fn customer_gateway_id(
self,
value: impl Into<Output<String>>,
) -> VpnConnectionArgsBuilder<SetCustomerGatewayId<S>>where
S::CustomerGatewayId: IsUnset,
Required.
The ID of the customer gateway.
sourcepub fn enable_acceleration(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpnConnectionArgsBuilder<SetEnableAcceleration<S>>where
S::EnableAcceleration: IsUnset,
pub fn enable_acceleration(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpnConnectionArgsBuilder<SetEnableAcceleration<S>>where
S::EnableAcceleration: IsUnset,
sourcepub fn maybe_enable_acceleration(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpnConnectionArgsBuilder<SetEnableAcceleration<S>>where
S::EnableAcceleration: IsUnset,
pub fn maybe_enable_acceleration(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpnConnectionArgsBuilder<SetEnableAcceleration<S>>where
S::EnableAcceleration: IsUnset,
sourcepub fn local_ipv4_network_cidr(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetLocalIpv4NetworkCidr<S>>where
S::LocalIpv4NetworkCidr: IsUnset,
pub fn local_ipv4_network_cidr(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetLocalIpv4NetworkCidr<S>>where
S::LocalIpv4NetworkCidr: IsUnset,
sourcepub fn maybe_local_ipv4_network_cidr(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetLocalIpv4NetworkCidr<S>>where
S::LocalIpv4NetworkCidr: IsUnset,
pub fn maybe_local_ipv4_network_cidr(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetLocalIpv4NetworkCidr<S>>where
S::LocalIpv4NetworkCidr: IsUnset,
sourcepub fn local_ipv6_network_cidr(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetLocalIpv6NetworkCidr<S>>where
S::LocalIpv6NetworkCidr: IsUnset,
pub fn local_ipv6_network_cidr(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetLocalIpv6NetworkCidr<S>>where
S::LocalIpv6NetworkCidr: IsUnset,
sourcepub fn maybe_local_ipv6_network_cidr(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetLocalIpv6NetworkCidr<S>>where
S::LocalIpv6NetworkCidr: IsUnset,
pub fn maybe_local_ipv6_network_cidr(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetLocalIpv6NetworkCidr<S>>where
S::LocalIpv6NetworkCidr: IsUnset,
sourcepub fn outside_ip_address_type(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetOutsideIpAddressType<S>>where
S::OutsideIpAddressType: IsUnset,
pub fn outside_ip_address_type(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetOutsideIpAddressType<S>>where
S::OutsideIpAddressType: IsUnset,
sourcepub fn maybe_outside_ip_address_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetOutsideIpAddressType<S>>where
S::OutsideIpAddressType: IsUnset,
pub fn maybe_outside_ip_address_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetOutsideIpAddressType<S>>where
S::OutsideIpAddressType: IsUnset,
sourcepub fn remote_ipv4_network_cidr(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetRemoteIpv4NetworkCidr<S>>where
S::RemoteIpv4NetworkCidr: IsUnset,
pub fn remote_ipv4_network_cidr(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetRemoteIpv4NetworkCidr<S>>where
S::RemoteIpv4NetworkCidr: IsUnset,
sourcepub fn maybe_remote_ipv4_network_cidr(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetRemoteIpv4NetworkCidr<S>>where
S::RemoteIpv4NetworkCidr: IsUnset,
pub fn maybe_remote_ipv4_network_cidr(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetRemoteIpv4NetworkCidr<S>>where
S::RemoteIpv4NetworkCidr: IsUnset,
sourcepub fn remote_ipv6_network_cidr(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetRemoteIpv6NetworkCidr<S>>where
S::RemoteIpv6NetworkCidr: IsUnset,
pub fn remote_ipv6_network_cidr(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetRemoteIpv6NetworkCidr<S>>where
S::RemoteIpv6NetworkCidr: IsUnset,
sourcepub fn maybe_remote_ipv6_network_cidr(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetRemoteIpv6NetworkCidr<S>>where
S::RemoteIpv6NetworkCidr: IsUnset,
pub fn maybe_remote_ipv6_network_cidr(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetRemoteIpv6NetworkCidr<S>>where
S::RemoteIpv6NetworkCidr: IsUnset,
sourcepub fn static_routes_only(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpnConnectionArgsBuilder<SetStaticRoutesOnly<S>>where
S::StaticRoutesOnly: IsUnset,
pub fn static_routes_only(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpnConnectionArgsBuilder<SetStaticRoutesOnly<S>>where
S::StaticRoutesOnly: IsUnset,
sourcepub fn maybe_static_routes_only(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpnConnectionArgsBuilder<SetStaticRoutesOnly<S>>where
S::StaticRoutesOnly: IsUnset,
pub fn maybe_static_routes_only(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpnConnectionArgsBuilder<SetStaticRoutesOnly<S>>where
S::StaticRoutesOnly: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
Tags to apply to the connection. 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()
Tags to apply to the connection. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
sourcepub fn transit_gateway_id(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTransitGatewayId<S>>where
S::TransitGatewayId: IsUnset,
pub fn transit_gateway_id(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTransitGatewayId<S>>where
S::TransitGatewayId: IsUnset,
sourcepub fn maybe_transit_gateway_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTransitGatewayId<S>>where
S::TransitGatewayId: IsUnset,
pub fn maybe_transit_gateway_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTransitGatewayId<S>>where
S::TransitGatewayId: IsUnset,
sourcepub fn transport_transit_gateway_attachment_id(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTransportTransitGatewayAttachmentId<S>>where
S::TransportTransitGatewayAttachmentId: IsUnset,
pub fn transport_transit_gateway_attachment_id(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTransportTransitGatewayAttachmentId<S>>where
S::TransportTransitGatewayAttachmentId: IsUnset,
sourcepub fn maybe_transport_transit_gateway_attachment_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTransportTransitGatewayAttachmentId<S>>where
S::TransportTransitGatewayAttachmentId: IsUnset,
pub fn maybe_transport_transit_gateway_attachment_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTransportTransitGatewayAttachmentId<S>>where
S::TransportTransitGatewayAttachmentId: IsUnset,
sourcepub fn tunnel1_dpd_timeout_action(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1DpdTimeoutAction<S>>where
S::Tunnel1DpdTimeoutAction: IsUnset,
pub fn tunnel1_dpd_timeout_action(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1DpdTimeoutAction<S>>where
S::Tunnel1DpdTimeoutAction: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The action to take after DPD timeout occurs for the first VPN tunnel. Specify restart to restart the IKE initiation. Specify clear to end the IKE session. Valid values are clear | none | restart
.
sourcepub fn maybe_tunnel1_dpd_timeout_action(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1DpdTimeoutAction<S>>where
S::Tunnel1DpdTimeoutAction: IsUnset,
pub fn maybe_tunnel1_dpd_timeout_action(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1DpdTimeoutAction<S>>where
S::Tunnel1DpdTimeoutAction: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The action to take after DPD timeout occurs for the first VPN tunnel. Specify restart to restart the IKE initiation. Specify clear to end the IKE session. Valid values are clear | none | restart
.
sourcepub fn tunnel1_dpd_timeout_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1DpdTimeoutSeconds<S>>where
S::Tunnel1DpdTimeoutSeconds: IsUnset,
pub fn tunnel1_dpd_timeout_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1DpdTimeoutSeconds<S>>where
S::Tunnel1DpdTimeoutSeconds: IsUnset,
sourcepub fn maybe_tunnel1_dpd_timeout_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1DpdTimeoutSeconds<S>>where
S::Tunnel1DpdTimeoutSeconds: IsUnset,
pub fn maybe_tunnel1_dpd_timeout_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1DpdTimeoutSeconds<S>>where
S::Tunnel1DpdTimeoutSeconds: IsUnset,
sourcepub fn tunnel1_enable_tunnel_lifecycle_control(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1EnableTunnelLifecycleControl<S>>where
S::Tunnel1EnableTunnelLifecycleControl: IsUnset,
pub fn tunnel1_enable_tunnel_lifecycle_control(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1EnableTunnelLifecycleControl<S>>where
S::Tunnel1EnableTunnelLifecycleControl: IsUnset,
sourcepub fn maybe_tunnel1_enable_tunnel_lifecycle_control(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1EnableTunnelLifecycleControl<S>>where
S::Tunnel1EnableTunnelLifecycleControl: IsUnset,
pub fn maybe_tunnel1_enable_tunnel_lifecycle_control(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1EnableTunnelLifecycleControl<S>>where
S::Tunnel1EnableTunnelLifecycleControl: IsUnset,
sourcepub fn tunnel1_ike_versions(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1IkeVersions<S>>where
S::Tunnel1IkeVersions: IsUnset,
pub fn tunnel1_ike_versions(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1IkeVersions<S>>where
S::Tunnel1IkeVersions: IsUnset,
sourcepub fn maybe_tunnel1_ike_versions(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1IkeVersions<S>>where
S::Tunnel1IkeVersions: IsUnset,
pub fn maybe_tunnel1_ike_versions(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1IkeVersions<S>>where
S::Tunnel1IkeVersions: IsUnset,
sourcepub fn tunnel1_inside_cidr(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1InsideCidr<S>>where
S::Tunnel1InsideCidr: IsUnset,
pub fn tunnel1_inside_cidr(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1InsideCidr<S>>where
S::Tunnel1InsideCidr: IsUnset,
sourcepub fn maybe_tunnel1_inside_cidr(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1InsideCidr<S>>where
S::Tunnel1InsideCidr: IsUnset,
pub fn maybe_tunnel1_inside_cidr(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1InsideCidr<S>>where
S::Tunnel1InsideCidr: IsUnset,
sourcepub fn tunnel1_inside_ipv6_cidr(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1InsideIpv6Cidr<S>>where
S::Tunnel1InsideIpv6Cidr: IsUnset,
pub fn tunnel1_inside_ipv6_cidr(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1InsideIpv6Cidr<S>>where
S::Tunnel1InsideIpv6Cidr: IsUnset,
sourcepub fn maybe_tunnel1_inside_ipv6_cidr(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1InsideIpv6Cidr<S>>where
S::Tunnel1InsideIpv6Cidr: IsUnset,
pub fn maybe_tunnel1_inside_ipv6_cidr(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1InsideIpv6Cidr<S>>where
S::Tunnel1InsideIpv6Cidr: IsUnset,
sourcepub fn tunnel1_log_options(
self,
value: impl Into<Output<Option<VpnConnectionTunnel1LogOptions>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1LogOptions<S>>where
S::Tunnel1LogOptions: IsUnset,
pub fn tunnel1_log_options(
self,
value: impl Into<Output<Option<VpnConnectionTunnel1LogOptions>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1LogOptions<S>>where
S::Tunnel1LogOptions: IsUnset,
sourcepub fn maybe_tunnel1_log_options(
self,
value: Option<impl Into<Output<Option<VpnConnectionTunnel1LogOptions>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1LogOptions<S>>where
S::Tunnel1LogOptions: IsUnset,
pub fn maybe_tunnel1_log_options(
self,
value: Option<impl Into<Output<Option<VpnConnectionTunnel1LogOptions>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1LogOptions<S>>where
S::Tunnel1LogOptions: IsUnset,
sourcepub fn tunnel1_phase1_dh_group_numbers(
self,
value: impl Into<Output<Option<Vec<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase1DhGroupNumbers<S>>where
S::Tunnel1Phase1DhGroupNumbers: IsUnset,
pub fn tunnel1_phase1_dh_group_numbers(
self,
value: impl Into<Output<Option<Vec<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase1DhGroupNumbers<S>>where
S::Tunnel1Phase1DhGroupNumbers: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<i32>>> as Default>::default()
.
List of one or more Diffie-Hellman group numbers that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24
.
sourcepub fn maybe_tunnel1_phase1_dh_group_numbers(
self,
value: Option<impl Into<Output<Option<Vec<i32>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase1DhGroupNumbers<S>>where
S::Tunnel1Phase1DhGroupNumbers: IsUnset,
pub fn maybe_tunnel1_phase1_dh_group_numbers(
self,
value: Option<impl Into<Output<Option<Vec<i32>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase1DhGroupNumbers<S>>where
S::Tunnel1Phase1DhGroupNumbers: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<i32>>> as Default>::default()
.
List of one or more Diffie-Hellman group numbers that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24
.
sourcepub fn tunnel1_phase1_encryption_algorithms(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase1EncryptionAlgorithms<S>>where
S::Tunnel1Phase1EncryptionAlgorithms: IsUnset,
pub fn tunnel1_phase1_encryption_algorithms(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase1EncryptionAlgorithms<S>>where
S::Tunnel1Phase1EncryptionAlgorithms: IsUnset,
sourcepub fn maybe_tunnel1_phase1_encryption_algorithms(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase1EncryptionAlgorithms<S>>where
S::Tunnel1Phase1EncryptionAlgorithms: IsUnset,
pub fn maybe_tunnel1_phase1_encryption_algorithms(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase1EncryptionAlgorithms<S>>where
S::Tunnel1Phase1EncryptionAlgorithms: IsUnset,
sourcepub fn tunnel1_phase1_integrity_algorithms(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase1IntegrityAlgorithms<S>>where
S::Tunnel1Phase1IntegrityAlgorithms: IsUnset,
pub fn tunnel1_phase1_integrity_algorithms(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase1IntegrityAlgorithms<S>>where
S::Tunnel1Phase1IntegrityAlgorithms: IsUnset,
sourcepub fn maybe_tunnel1_phase1_integrity_algorithms(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase1IntegrityAlgorithms<S>>where
S::Tunnel1Phase1IntegrityAlgorithms: IsUnset,
pub fn maybe_tunnel1_phase1_integrity_algorithms(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase1IntegrityAlgorithms<S>>where
S::Tunnel1Phase1IntegrityAlgorithms: IsUnset,
sourcepub fn tunnel1_phase1_lifetime_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase1LifetimeSeconds<S>>where
S::Tunnel1Phase1LifetimeSeconds: IsUnset,
pub fn tunnel1_phase1_lifetime_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase1LifetimeSeconds<S>>where
S::Tunnel1Phase1LifetimeSeconds: IsUnset,
sourcepub fn maybe_tunnel1_phase1_lifetime_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase1LifetimeSeconds<S>>where
S::Tunnel1Phase1LifetimeSeconds: IsUnset,
pub fn maybe_tunnel1_phase1_lifetime_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase1LifetimeSeconds<S>>where
S::Tunnel1Phase1LifetimeSeconds: IsUnset,
sourcepub fn tunnel1_phase2_dh_group_numbers(
self,
value: impl Into<Output<Option<Vec<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase2DhGroupNumbers<S>>where
S::Tunnel1Phase2DhGroupNumbers: IsUnset,
pub fn tunnel1_phase2_dh_group_numbers(
self,
value: impl Into<Output<Option<Vec<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase2DhGroupNumbers<S>>where
S::Tunnel1Phase2DhGroupNumbers: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<i32>>> as Default>::default()
.
List of one or more Diffie-Hellman group numbers that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24
.
sourcepub fn maybe_tunnel1_phase2_dh_group_numbers(
self,
value: Option<impl Into<Output<Option<Vec<i32>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase2DhGroupNumbers<S>>where
S::Tunnel1Phase2DhGroupNumbers: IsUnset,
pub fn maybe_tunnel1_phase2_dh_group_numbers(
self,
value: Option<impl Into<Output<Option<Vec<i32>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase2DhGroupNumbers<S>>where
S::Tunnel1Phase2DhGroupNumbers: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<i32>>> as Default>::default()
.
List of one or more Diffie-Hellman group numbers that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24
.
sourcepub fn tunnel1_phase2_encryption_algorithms(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase2EncryptionAlgorithms<S>>where
S::Tunnel1Phase2EncryptionAlgorithms: IsUnset,
pub fn tunnel1_phase2_encryption_algorithms(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase2EncryptionAlgorithms<S>>where
S::Tunnel1Phase2EncryptionAlgorithms: IsUnset,
sourcepub fn maybe_tunnel1_phase2_encryption_algorithms(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase2EncryptionAlgorithms<S>>where
S::Tunnel1Phase2EncryptionAlgorithms: IsUnset,
pub fn maybe_tunnel1_phase2_encryption_algorithms(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase2EncryptionAlgorithms<S>>where
S::Tunnel1Phase2EncryptionAlgorithms: IsUnset,
sourcepub fn tunnel1_phase2_integrity_algorithms(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase2IntegrityAlgorithms<S>>where
S::Tunnel1Phase2IntegrityAlgorithms: IsUnset,
pub fn tunnel1_phase2_integrity_algorithms(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase2IntegrityAlgorithms<S>>where
S::Tunnel1Phase2IntegrityAlgorithms: IsUnset,
sourcepub fn maybe_tunnel1_phase2_integrity_algorithms(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase2IntegrityAlgorithms<S>>where
S::Tunnel1Phase2IntegrityAlgorithms: IsUnset,
pub fn maybe_tunnel1_phase2_integrity_algorithms(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase2IntegrityAlgorithms<S>>where
S::Tunnel1Phase2IntegrityAlgorithms: IsUnset,
sourcepub fn tunnel1_phase2_lifetime_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase2LifetimeSeconds<S>>where
S::Tunnel1Phase2LifetimeSeconds: IsUnset,
pub fn tunnel1_phase2_lifetime_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase2LifetimeSeconds<S>>where
S::Tunnel1Phase2LifetimeSeconds: IsUnset,
sourcepub fn maybe_tunnel1_phase2_lifetime_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase2LifetimeSeconds<S>>where
S::Tunnel1Phase2LifetimeSeconds: IsUnset,
pub fn maybe_tunnel1_phase2_lifetime_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1Phase2LifetimeSeconds<S>>where
S::Tunnel1Phase2LifetimeSeconds: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The preshared key of the first VPN tunnel. The preshared key must be between 8 and 64 characters in length and cannot start with zero(0). Allowed characters are alphanumeric characters, periods(.) and underscores(_).
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The preshared key of the first VPN tunnel. The preshared key must be between 8 and 64 characters in length and cannot start with zero(0). Allowed characters are alphanumeric characters, periods(.) and underscores(_).
sourcepub fn tunnel1_rekey_fuzz_percentage(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1RekeyFuzzPercentage<S>>where
S::Tunnel1RekeyFuzzPercentage: IsUnset,
pub fn tunnel1_rekey_fuzz_percentage(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1RekeyFuzzPercentage<S>>where
S::Tunnel1RekeyFuzzPercentage: IsUnset,
sourcepub fn maybe_tunnel1_rekey_fuzz_percentage(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1RekeyFuzzPercentage<S>>where
S::Tunnel1RekeyFuzzPercentage: IsUnset,
pub fn maybe_tunnel1_rekey_fuzz_percentage(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1RekeyFuzzPercentage<S>>where
S::Tunnel1RekeyFuzzPercentage: IsUnset,
sourcepub fn tunnel1_rekey_margin_time_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1RekeyMarginTimeSeconds<S>>where
S::Tunnel1RekeyMarginTimeSeconds: IsUnset,
pub fn tunnel1_rekey_margin_time_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1RekeyMarginTimeSeconds<S>>where
S::Tunnel1RekeyMarginTimeSeconds: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
The margin time, in seconds, before the phase 2 lifetime expires, during which the AWS side of the first VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for tunnel1_rekey_fuzz_percentage
. Valid value is between 60
and half of tunnel1_phase2_lifetime_seconds
.
sourcepub fn maybe_tunnel1_rekey_margin_time_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1RekeyMarginTimeSeconds<S>>where
S::Tunnel1RekeyMarginTimeSeconds: IsUnset,
pub fn maybe_tunnel1_rekey_margin_time_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1RekeyMarginTimeSeconds<S>>where
S::Tunnel1RekeyMarginTimeSeconds: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
The margin time, in seconds, before the phase 2 lifetime expires, during which the AWS side of the first VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for tunnel1_rekey_fuzz_percentage
. Valid value is between 60
and half of tunnel1_phase2_lifetime_seconds
.
sourcepub fn tunnel1_replay_window_size(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1ReplayWindowSize<S>>where
S::Tunnel1ReplayWindowSize: IsUnset,
pub fn tunnel1_replay_window_size(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1ReplayWindowSize<S>>where
S::Tunnel1ReplayWindowSize: IsUnset,
sourcepub fn maybe_tunnel1_replay_window_size(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1ReplayWindowSize<S>>where
S::Tunnel1ReplayWindowSize: IsUnset,
pub fn maybe_tunnel1_replay_window_size(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1ReplayWindowSize<S>>where
S::Tunnel1ReplayWindowSize: IsUnset,
sourcepub fn tunnel1_startup_action(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1StartupAction<S>>where
S::Tunnel1StartupAction: IsUnset,
pub fn tunnel1_startup_action(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1StartupAction<S>>where
S::Tunnel1StartupAction: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The action to take when the establishing the tunnel for the first VPN connection. By default, your customer gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start for AWS to initiate the IKE negotiation. Valid values are add | start
.
sourcepub fn maybe_tunnel1_startup_action(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1StartupAction<S>>where
S::Tunnel1StartupAction: IsUnset,
pub fn maybe_tunnel1_startup_action(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel1StartupAction<S>>where
S::Tunnel1StartupAction: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The action to take when the establishing the tunnel for the first VPN connection. By default, your customer gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start for AWS to initiate the IKE negotiation. Valid values are add | start
.
sourcepub fn tunnel2_dpd_timeout_action(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2DpdTimeoutAction<S>>where
S::Tunnel2DpdTimeoutAction: IsUnset,
pub fn tunnel2_dpd_timeout_action(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2DpdTimeoutAction<S>>where
S::Tunnel2DpdTimeoutAction: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The action to take after DPD timeout occurs for the second VPN tunnel. Specify restart to restart the IKE initiation. Specify clear to end the IKE session. Valid values are clear | none | restart
.
sourcepub fn maybe_tunnel2_dpd_timeout_action(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2DpdTimeoutAction<S>>where
S::Tunnel2DpdTimeoutAction: IsUnset,
pub fn maybe_tunnel2_dpd_timeout_action(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2DpdTimeoutAction<S>>where
S::Tunnel2DpdTimeoutAction: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The action to take after DPD timeout occurs for the second VPN tunnel. Specify restart to restart the IKE initiation. Specify clear to end the IKE session. Valid values are clear | none | restart
.
sourcepub fn tunnel2_dpd_timeout_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2DpdTimeoutSeconds<S>>where
S::Tunnel2DpdTimeoutSeconds: IsUnset,
pub fn tunnel2_dpd_timeout_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2DpdTimeoutSeconds<S>>where
S::Tunnel2DpdTimeoutSeconds: IsUnset,
sourcepub fn maybe_tunnel2_dpd_timeout_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2DpdTimeoutSeconds<S>>where
S::Tunnel2DpdTimeoutSeconds: IsUnset,
pub fn maybe_tunnel2_dpd_timeout_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2DpdTimeoutSeconds<S>>where
S::Tunnel2DpdTimeoutSeconds: IsUnset,
sourcepub fn tunnel2_enable_tunnel_lifecycle_control(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2EnableTunnelLifecycleControl<S>>where
S::Tunnel2EnableTunnelLifecycleControl: IsUnset,
pub fn tunnel2_enable_tunnel_lifecycle_control(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2EnableTunnelLifecycleControl<S>>where
S::Tunnel2EnableTunnelLifecycleControl: IsUnset,
sourcepub fn maybe_tunnel2_enable_tunnel_lifecycle_control(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2EnableTunnelLifecycleControl<S>>where
S::Tunnel2EnableTunnelLifecycleControl: IsUnset,
pub fn maybe_tunnel2_enable_tunnel_lifecycle_control(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2EnableTunnelLifecycleControl<S>>where
S::Tunnel2EnableTunnelLifecycleControl: IsUnset,
sourcepub fn tunnel2_ike_versions(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2IkeVersions<S>>where
S::Tunnel2IkeVersions: IsUnset,
pub fn tunnel2_ike_versions(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2IkeVersions<S>>where
S::Tunnel2IkeVersions: IsUnset,
sourcepub fn maybe_tunnel2_ike_versions(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2IkeVersions<S>>where
S::Tunnel2IkeVersions: IsUnset,
pub fn maybe_tunnel2_ike_versions(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2IkeVersions<S>>where
S::Tunnel2IkeVersions: IsUnset,
sourcepub fn tunnel2_inside_cidr(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2InsideCidr<S>>where
S::Tunnel2InsideCidr: IsUnset,
pub fn tunnel2_inside_cidr(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2InsideCidr<S>>where
S::Tunnel2InsideCidr: IsUnset,
sourcepub fn maybe_tunnel2_inside_cidr(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2InsideCidr<S>>where
S::Tunnel2InsideCidr: IsUnset,
pub fn maybe_tunnel2_inside_cidr(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2InsideCidr<S>>where
S::Tunnel2InsideCidr: IsUnset,
sourcepub fn tunnel2_inside_ipv6_cidr(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2InsideIpv6Cidr<S>>where
S::Tunnel2InsideIpv6Cidr: IsUnset,
pub fn tunnel2_inside_ipv6_cidr(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2InsideIpv6Cidr<S>>where
S::Tunnel2InsideIpv6Cidr: IsUnset,
sourcepub fn maybe_tunnel2_inside_ipv6_cidr(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2InsideIpv6Cidr<S>>where
S::Tunnel2InsideIpv6Cidr: IsUnset,
pub fn maybe_tunnel2_inside_ipv6_cidr(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2InsideIpv6Cidr<S>>where
S::Tunnel2InsideIpv6Cidr: IsUnset,
sourcepub fn tunnel2_log_options(
self,
value: impl Into<Output<Option<VpnConnectionTunnel2LogOptions>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2LogOptions<S>>where
S::Tunnel2LogOptions: IsUnset,
pub fn tunnel2_log_options(
self,
value: impl Into<Output<Option<VpnConnectionTunnel2LogOptions>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2LogOptions<S>>where
S::Tunnel2LogOptions: IsUnset,
sourcepub fn maybe_tunnel2_log_options(
self,
value: Option<impl Into<Output<Option<VpnConnectionTunnel2LogOptions>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2LogOptions<S>>where
S::Tunnel2LogOptions: IsUnset,
pub fn maybe_tunnel2_log_options(
self,
value: Option<impl Into<Output<Option<VpnConnectionTunnel2LogOptions>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2LogOptions<S>>where
S::Tunnel2LogOptions: IsUnset,
sourcepub fn tunnel2_phase1_dh_group_numbers(
self,
value: impl Into<Output<Option<Vec<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase1DhGroupNumbers<S>>where
S::Tunnel2Phase1DhGroupNumbers: IsUnset,
pub fn tunnel2_phase1_dh_group_numbers(
self,
value: impl Into<Output<Option<Vec<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase1DhGroupNumbers<S>>where
S::Tunnel2Phase1DhGroupNumbers: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<i32>>> as Default>::default()
.
List of one or more Diffie-Hellman group numbers that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24
.
sourcepub fn maybe_tunnel2_phase1_dh_group_numbers(
self,
value: Option<impl Into<Output<Option<Vec<i32>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase1DhGroupNumbers<S>>where
S::Tunnel2Phase1DhGroupNumbers: IsUnset,
pub fn maybe_tunnel2_phase1_dh_group_numbers(
self,
value: Option<impl Into<Output<Option<Vec<i32>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase1DhGroupNumbers<S>>where
S::Tunnel2Phase1DhGroupNumbers: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<i32>>> as Default>::default()
.
List of one or more Diffie-Hellman group numbers that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24
.
sourcepub fn tunnel2_phase1_encryption_algorithms(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase1EncryptionAlgorithms<S>>where
S::Tunnel2Phase1EncryptionAlgorithms: IsUnset,
pub fn tunnel2_phase1_encryption_algorithms(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase1EncryptionAlgorithms<S>>where
S::Tunnel2Phase1EncryptionAlgorithms: IsUnset,
sourcepub fn maybe_tunnel2_phase1_encryption_algorithms(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase1EncryptionAlgorithms<S>>where
S::Tunnel2Phase1EncryptionAlgorithms: IsUnset,
pub fn maybe_tunnel2_phase1_encryption_algorithms(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase1EncryptionAlgorithms<S>>where
S::Tunnel2Phase1EncryptionAlgorithms: IsUnset,
sourcepub fn tunnel2_phase1_integrity_algorithms(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase1IntegrityAlgorithms<S>>where
S::Tunnel2Phase1IntegrityAlgorithms: IsUnset,
pub fn tunnel2_phase1_integrity_algorithms(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase1IntegrityAlgorithms<S>>where
S::Tunnel2Phase1IntegrityAlgorithms: IsUnset,
sourcepub fn maybe_tunnel2_phase1_integrity_algorithms(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase1IntegrityAlgorithms<S>>where
S::Tunnel2Phase1IntegrityAlgorithms: IsUnset,
pub fn maybe_tunnel2_phase1_integrity_algorithms(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase1IntegrityAlgorithms<S>>where
S::Tunnel2Phase1IntegrityAlgorithms: IsUnset,
sourcepub fn tunnel2_phase1_lifetime_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase1LifetimeSeconds<S>>where
S::Tunnel2Phase1LifetimeSeconds: IsUnset,
pub fn tunnel2_phase1_lifetime_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase1LifetimeSeconds<S>>where
S::Tunnel2Phase1LifetimeSeconds: IsUnset,
sourcepub fn maybe_tunnel2_phase1_lifetime_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase1LifetimeSeconds<S>>where
S::Tunnel2Phase1LifetimeSeconds: IsUnset,
pub fn maybe_tunnel2_phase1_lifetime_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase1LifetimeSeconds<S>>where
S::Tunnel2Phase1LifetimeSeconds: IsUnset,
sourcepub fn tunnel2_phase2_dh_group_numbers(
self,
value: impl Into<Output<Option<Vec<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase2DhGroupNumbers<S>>where
S::Tunnel2Phase2DhGroupNumbers: IsUnset,
pub fn tunnel2_phase2_dh_group_numbers(
self,
value: impl Into<Output<Option<Vec<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase2DhGroupNumbers<S>>where
S::Tunnel2Phase2DhGroupNumbers: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<i32>>> as Default>::default()
.
List of one or more Diffie-Hellman group numbers that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24
.
sourcepub fn maybe_tunnel2_phase2_dh_group_numbers(
self,
value: Option<impl Into<Output<Option<Vec<i32>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase2DhGroupNumbers<S>>where
S::Tunnel2Phase2DhGroupNumbers: IsUnset,
pub fn maybe_tunnel2_phase2_dh_group_numbers(
self,
value: Option<impl Into<Output<Option<Vec<i32>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase2DhGroupNumbers<S>>where
S::Tunnel2Phase2DhGroupNumbers: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<i32>>> as Default>::default()
.
List of one or more Diffie-Hellman group numbers that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24
.
sourcepub fn tunnel2_phase2_encryption_algorithms(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase2EncryptionAlgorithms<S>>where
S::Tunnel2Phase2EncryptionAlgorithms: IsUnset,
pub fn tunnel2_phase2_encryption_algorithms(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase2EncryptionAlgorithms<S>>where
S::Tunnel2Phase2EncryptionAlgorithms: IsUnset,
sourcepub fn maybe_tunnel2_phase2_encryption_algorithms(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase2EncryptionAlgorithms<S>>where
S::Tunnel2Phase2EncryptionAlgorithms: IsUnset,
pub fn maybe_tunnel2_phase2_encryption_algorithms(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase2EncryptionAlgorithms<S>>where
S::Tunnel2Phase2EncryptionAlgorithms: IsUnset,
sourcepub fn tunnel2_phase2_integrity_algorithms(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase2IntegrityAlgorithms<S>>where
S::Tunnel2Phase2IntegrityAlgorithms: IsUnset,
pub fn tunnel2_phase2_integrity_algorithms(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase2IntegrityAlgorithms<S>>where
S::Tunnel2Phase2IntegrityAlgorithms: IsUnset,
sourcepub fn maybe_tunnel2_phase2_integrity_algorithms(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase2IntegrityAlgorithms<S>>where
S::Tunnel2Phase2IntegrityAlgorithms: IsUnset,
pub fn maybe_tunnel2_phase2_integrity_algorithms(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase2IntegrityAlgorithms<S>>where
S::Tunnel2Phase2IntegrityAlgorithms: IsUnset,
sourcepub fn tunnel2_phase2_lifetime_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase2LifetimeSeconds<S>>where
S::Tunnel2Phase2LifetimeSeconds: IsUnset,
pub fn tunnel2_phase2_lifetime_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase2LifetimeSeconds<S>>where
S::Tunnel2Phase2LifetimeSeconds: IsUnset,
sourcepub fn maybe_tunnel2_phase2_lifetime_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase2LifetimeSeconds<S>>where
S::Tunnel2Phase2LifetimeSeconds: IsUnset,
pub fn maybe_tunnel2_phase2_lifetime_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2Phase2LifetimeSeconds<S>>where
S::Tunnel2Phase2LifetimeSeconds: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The preshared key of the second VPN tunnel. The preshared key must be between 8 and 64 characters in length and cannot start with zero(0). Allowed characters are alphanumeric characters, periods(.) and underscores(_).
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The preshared key of the second VPN tunnel. The preshared key must be between 8 and 64 characters in length and cannot start with zero(0). Allowed characters are alphanumeric characters, periods(.) and underscores(_).
sourcepub fn tunnel2_rekey_fuzz_percentage(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2RekeyFuzzPercentage<S>>where
S::Tunnel2RekeyFuzzPercentage: IsUnset,
pub fn tunnel2_rekey_fuzz_percentage(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2RekeyFuzzPercentage<S>>where
S::Tunnel2RekeyFuzzPercentage: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
The percentage of the rekey window for the second VPN tunnel (determined by tunnel2_rekey_margin_time_seconds
) during which the rekey time is randomly selected. Valid value is between 0
and 100
.
sourcepub fn maybe_tunnel2_rekey_fuzz_percentage(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2RekeyFuzzPercentage<S>>where
S::Tunnel2RekeyFuzzPercentage: IsUnset,
pub fn maybe_tunnel2_rekey_fuzz_percentage(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2RekeyFuzzPercentage<S>>where
S::Tunnel2RekeyFuzzPercentage: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
The percentage of the rekey window for the second VPN tunnel (determined by tunnel2_rekey_margin_time_seconds
) during which the rekey time is randomly selected. Valid value is between 0
and 100
.
sourcepub fn tunnel2_rekey_margin_time_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2RekeyMarginTimeSeconds<S>>where
S::Tunnel2RekeyMarginTimeSeconds: IsUnset,
pub fn tunnel2_rekey_margin_time_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2RekeyMarginTimeSeconds<S>>where
S::Tunnel2RekeyMarginTimeSeconds: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
The margin time, in seconds, before the phase 2 lifetime expires, during which the AWS side of the second VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for tunnel2_rekey_fuzz_percentage
. Valid value is between 60
and half of tunnel2_phase2_lifetime_seconds
.
sourcepub fn maybe_tunnel2_rekey_margin_time_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2RekeyMarginTimeSeconds<S>>where
S::Tunnel2RekeyMarginTimeSeconds: IsUnset,
pub fn maybe_tunnel2_rekey_margin_time_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2RekeyMarginTimeSeconds<S>>where
S::Tunnel2RekeyMarginTimeSeconds: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
The margin time, in seconds, before the phase 2 lifetime expires, during which the AWS side of the second VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for tunnel2_rekey_fuzz_percentage
. Valid value is between 60
and half of tunnel2_phase2_lifetime_seconds
.
sourcepub fn tunnel2_replay_window_size(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2ReplayWindowSize<S>>where
S::Tunnel2ReplayWindowSize: IsUnset,
pub fn tunnel2_replay_window_size(
self,
value: impl Into<Output<Option<i32>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2ReplayWindowSize<S>>where
S::Tunnel2ReplayWindowSize: IsUnset,
sourcepub fn maybe_tunnel2_replay_window_size(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2ReplayWindowSize<S>>where
S::Tunnel2ReplayWindowSize: IsUnset,
pub fn maybe_tunnel2_replay_window_size(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2ReplayWindowSize<S>>where
S::Tunnel2ReplayWindowSize: IsUnset,
sourcepub fn tunnel2_startup_action(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2StartupAction<S>>where
S::Tunnel2StartupAction: IsUnset,
pub fn tunnel2_startup_action(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2StartupAction<S>>where
S::Tunnel2StartupAction: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The action to take when the establishing the tunnel for the second VPN connection. By default, your customer gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start for AWS to initiate the IKE negotiation. Valid values are add | start
.
sourcepub fn maybe_tunnel2_startup_action(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2StartupAction<S>>where
S::Tunnel2StartupAction: IsUnset,
pub fn maybe_tunnel2_startup_action(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnel2StartupAction<S>>where
S::Tunnel2StartupAction: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The action to take when the establishing the tunnel for the second VPN connection. By default, your customer gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start for AWS to initiate the IKE negotiation. Valid values are add | start
.
sourcepub fn tunnel_inside_ip_version(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnelInsideIpVersion<S>>where
S::TunnelInsideIpVersion: IsUnset,
pub fn tunnel_inside_ip_version(
self,
value: impl Into<Output<Option<String>>>,
) -> VpnConnectionArgsBuilder<SetTunnelInsideIpVersion<S>>where
S::TunnelInsideIpVersion: IsUnset,
sourcepub fn maybe_tunnel_inside_ip_version(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnelInsideIpVersion<S>>where
S::TunnelInsideIpVersion: IsUnset,
pub fn maybe_tunnel_inside_ip_version(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpnConnectionArgsBuilder<SetTunnelInsideIpVersion<S>>where
S::TunnelInsideIpVersion: IsUnset,
sourcepub fn type_(
self,
value: impl Into<Output<String>>,
) -> VpnConnectionArgsBuilder<SetType<S>>where
S::Type: IsUnset,
pub fn type_(
self,
value: impl Into<Output<String>>,
) -> VpnConnectionArgsBuilder<SetType<S>>where
S::Type: IsUnset,
Required.
The type of VPN connection. The only type AWS supports at this time is “ipsec.1”.