pulumi_wasm_providers_aws_mini::ec2::vpn_connection

Struct VpnConnectionArgsBuilder

source
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>

source

pub fn build_struct(self) -> VpnConnectionArgs
where S: IsComplete,

Finish building and return the requested object

source

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.

source

pub fn enable_acceleration( self, value: impl Into<Output<Option<bool>>>, ) -> VpnConnectionArgsBuilder<SetEnableAcceleration<S>>
where S::EnableAcceleration: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Indicate whether to enable acceleration for the VPN connection. Supports only EC2 Transit Gateway.

source

pub fn maybe_enable_acceleration( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> VpnConnectionArgsBuilder<SetEnableAcceleration<S>>
where S::EnableAcceleration: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Indicate whether to enable acceleration for the VPN connection. Supports only EC2 Transit Gateway.

source

pub fn local_ipv4_network_cidr( self, value: impl Into<Output<Option<String>>>, ) -> VpnConnectionArgsBuilder<SetLocalIpv4NetworkCidr<S>>
where S::LocalIpv4NetworkCidr: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

source

pub fn maybe_local_ipv4_network_cidr( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VpnConnectionArgsBuilder<SetLocalIpv4NetworkCidr<S>>
where S::LocalIpv4NetworkCidr: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

source

pub fn local_ipv6_network_cidr( self, value: impl Into<Output<Option<String>>>, ) -> VpnConnectionArgsBuilder<SetLocalIpv6NetworkCidr<S>>
where S::LocalIpv6NetworkCidr: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

source

pub fn maybe_local_ipv6_network_cidr( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VpnConnectionArgsBuilder<SetLocalIpv6NetworkCidr<S>>
where S::LocalIpv6NetworkCidr: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

source

pub fn outside_ip_address_type( self, value: impl Into<Output<Option<String>>>, ) -> VpnConnectionArgsBuilder<SetOutsideIpAddressType<S>>
where S::OutsideIpAddressType: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Indicates if a Public S2S VPN or Private S2S VPN over AWS Direct Connect. Valid values are PublicIpv4 | PrivateIpv4

source

pub fn maybe_outside_ip_address_type( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VpnConnectionArgsBuilder<SetOutsideIpAddressType<S>>
where S::OutsideIpAddressType: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Indicates if a Public S2S VPN or Private S2S VPN over AWS Direct Connect. Valid values are PublicIpv4 | PrivateIpv4

source

pub fn remote_ipv4_network_cidr( self, value: impl Into<Output<Option<String>>>, ) -> VpnConnectionArgsBuilder<SetRemoteIpv4NetworkCidr<S>>
where S::RemoteIpv4NetworkCidr: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The IPv4 CIDR on the AWS side of the VPN connection.

source

pub fn maybe_remote_ipv4_network_cidr( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VpnConnectionArgsBuilder<SetRemoteIpv4NetworkCidr<S>>
where S::RemoteIpv4NetworkCidr: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The IPv4 CIDR on the AWS side of the VPN connection.

source

pub fn remote_ipv6_network_cidr( self, value: impl Into<Output<Option<String>>>, ) -> VpnConnectionArgsBuilder<SetRemoteIpv6NetworkCidr<S>>
where S::RemoteIpv6NetworkCidr: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The IPv6 CIDR on the AWS side of the VPN connection.

source

pub fn maybe_remote_ipv6_network_cidr( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VpnConnectionArgsBuilder<SetRemoteIpv6NetworkCidr<S>>
where S::RemoteIpv6NetworkCidr: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The IPv6 CIDR on the AWS side of the VPN connection.

source

pub fn static_routes_only( self, value: impl Into<Output<Option<bool>>>, ) -> VpnConnectionArgsBuilder<SetStaticRoutesOnly<S>>
where S::StaticRoutesOnly: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Whether the VPN connection uses static routes exclusively. Static routes must be used for devices that don’t support BGP.

source

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<bool>> as Default>::default().

Whether the VPN connection uses static routes exclusively. Static routes must be used for devices that don’t support BGP.

source

pub fn tags( self, value: impl Into<Output<Option<HashMap<String, String>>>>, ) -> VpnConnectionArgsBuilder<SetTags<S>>
where S::Tags: 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.

source

pub fn maybe_tags( self, value: Option<impl Into<Output<Option<HashMap<String, String>>>>>, ) -> VpnConnectionArgsBuilder<SetTags<S>>
where S::Tags: 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.

source

pub fn transit_gateway_id( self, value: impl Into<Output<Option<String>>>, ) -> VpnConnectionArgsBuilder<SetTransitGatewayId<S>>
where S::TransitGatewayId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The ID of the EC2 Transit Gateway.

source

pub fn maybe_transit_gateway_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VpnConnectionArgsBuilder<SetTransitGatewayId<S>>
where S::TransitGatewayId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The ID of the EC2 Transit Gateway.

source

pub fn transport_transit_gateway_attachment_id( self, value: impl Into<Output<Option<String>>>, ) -> VpnConnectionArgsBuilder<SetTransportTransitGatewayAttachmentId<S>>
where S::TransportTransitGatewayAttachmentId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

. The attachment ID of the Transit Gateway attachment to Direct Connect Gateway. The ID is obtained through a data source only.

source

pub fn maybe_transport_transit_gateway_attachment_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VpnConnectionArgsBuilder<SetTransportTransitGatewayAttachmentId<S>>
where S::TransportTransitGatewayAttachmentId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

. The attachment ID of the Transit Gateway attachment to Direct Connect Gateway. The ID is obtained through a data source only.

source

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.

source

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.

source

pub fn tunnel1_dpd_timeout_seconds( self, value: impl Into<Output<Option<i32>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1DpdTimeoutSeconds<S>>
where S::Tunnel1DpdTimeoutSeconds: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The number of seconds after which a DPD timeout occurs for the first VPN tunnel. Valid value is equal or higher than 30.

source

pub fn maybe_tunnel1_dpd_timeout_seconds( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1DpdTimeoutSeconds<S>>
where S::Tunnel1DpdTimeoutSeconds: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The number of seconds after which a DPD timeout occurs for the first VPN tunnel. Valid value is equal or higher than 30.

source

pub fn tunnel1_enable_tunnel_lifecycle_control( self, value: impl Into<Output<Option<bool>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1EnableTunnelLifecycleControl<S>>
where S::Tunnel1EnableTunnelLifecycleControl: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Turn on or off tunnel endpoint lifecycle control feature for the first VPN tunnel. Valid values are true | false.

source

pub fn maybe_tunnel1_enable_tunnel_lifecycle_control( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1EnableTunnelLifecycleControl<S>>
where S::Tunnel1EnableTunnelLifecycleControl: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Turn on or off tunnel endpoint lifecycle control feature for the first VPN tunnel. Valid values are true | false.

source

pub fn tunnel1_ike_versions( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1IkeVersions<S>>
where S::Tunnel1IkeVersions: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

The IKE versions that are permitted for the first VPN tunnel. Valid values are ikev1 | ikev2.

source

pub fn maybe_tunnel1_ike_versions( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1IkeVersions<S>>
where S::Tunnel1IkeVersions: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

The IKE versions that are permitted for the first VPN tunnel. Valid values are ikev1 | ikev2.

source

pub fn tunnel1_inside_cidr( self, value: impl Into<Output<Option<String>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1InsideCidr<S>>
where S::Tunnel1InsideCidr: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The CIDR block of the inside IP addresses for the first VPN tunnel. Valid value is a size /30 CIDR block from the 169.254.0.0/16 range.

source

pub fn maybe_tunnel1_inside_cidr( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1InsideCidr<S>>
where S::Tunnel1InsideCidr: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The CIDR block of the inside IP addresses for the first VPN tunnel. Valid value is a size /30 CIDR block from the 169.254.0.0/16 range.

source

pub fn tunnel1_inside_ipv6_cidr( self, value: impl Into<Output<Option<String>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1InsideIpv6Cidr<S>>
where S::Tunnel1InsideIpv6Cidr: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The range of inside IPv6 addresses for the first VPN tunnel. Supports only EC2 Transit Gateway. Valid value is a size /126 CIDR block from the local fd00::/8 range.

source

pub fn maybe_tunnel1_inside_ipv6_cidr( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1InsideIpv6Cidr<S>>
where S::Tunnel1InsideIpv6Cidr: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The range of inside IPv6 addresses for the first VPN tunnel. Supports only EC2 Transit Gateway. Valid value is a size /126 CIDR block from the local fd00::/8 range.

source

pub fn tunnel1_log_options( self, value: impl Into<Output<Option<VpnConnectionTunnel1LogOptions>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1LogOptions<S>>
where S::Tunnel1LogOptions: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::ec2::VpnConnectionTunnel1LogOptions>,
> as Default>::default()

Options for logging VPN tunnel activity. See Log Options below for more details.

source

pub fn maybe_tunnel1_log_options( self, value: Option<impl Into<Output<Option<VpnConnectionTunnel1LogOptions>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1LogOptions<S>>
where S::Tunnel1LogOptions: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::ec2::VpnConnectionTunnel1LogOptions>,
> as Default>::default()

Options for logging VPN tunnel activity. See Log Options below for more details.

source

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.

source

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.

source

pub fn tunnel1_phase1_encryption_algorithms( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1Phase1EncryptionAlgorithms<S>>
where S::Tunnel1Phase1EncryptionAlgorithms: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

List of one or more encryption algorithms that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16.

source

pub fn maybe_tunnel1_phase1_encryption_algorithms( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1Phase1EncryptionAlgorithms<S>>
where S::Tunnel1Phase1EncryptionAlgorithms: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

List of one or more encryption algorithms that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16.

source

pub fn tunnel1_phase1_integrity_algorithms( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1Phase1IntegrityAlgorithms<S>>
where S::Tunnel1Phase1IntegrityAlgorithms: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

One or more integrity algorithms that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are SHA1 | SHA2-256 | SHA2-384 | SHA2-512.

source

pub fn maybe_tunnel1_phase1_integrity_algorithms( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1Phase1IntegrityAlgorithms<S>>
where S::Tunnel1Phase1IntegrityAlgorithms: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

One or more integrity algorithms that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are SHA1 | SHA2-256 | SHA2-384 | SHA2-512.

source

pub fn tunnel1_phase1_lifetime_seconds( self, value: impl Into<Output<Option<i32>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1Phase1LifetimeSeconds<S>>
where S::Tunnel1Phase1LifetimeSeconds: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The lifetime for phase 1 of the IKE negotiation for the first VPN tunnel, in seconds. Valid value is between 900 and 28800.

source

pub fn maybe_tunnel1_phase1_lifetime_seconds( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1Phase1LifetimeSeconds<S>>
where S::Tunnel1Phase1LifetimeSeconds: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The lifetime for phase 1 of the IKE negotiation for the first VPN tunnel, in seconds. Valid value is between 900 and 28800.

source

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.

source

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.

source

pub fn tunnel1_phase2_encryption_algorithms( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1Phase2EncryptionAlgorithms<S>>
where S::Tunnel1Phase2EncryptionAlgorithms: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

List of one or more encryption algorithms that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16.

source

pub fn maybe_tunnel1_phase2_encryption_algorithms( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1Phase2EncryptionAlgorithms<S>>
where S::Tunnel1Phase2EncryptionAlgorithms: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

List of one or more encryption algorithms that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16.

source

pub fn tunnel1_phase2_integrity_algorithms( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1Phase2IntegrityAlgorithms<S>>
where S::Tunnel1Phase2IntegrityAlgorithms: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

List of one or more integrity algorithms that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are SHA1 | SHA2-256 | SHA2-384 | SHA2-512.

source

pub fn maybe_tunnel1_phase2_integrity_algorithms( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1Phase2IntegrityAlgorithms<S>>
where S::Tunnel1Phase2IntegrityAlgorithms: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

List of one or more integrity algorithms that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are SHA1 | SHA2-256 | SHA2-384 | SHA2-512.

source

pub fn tunnel1_phase2_lifetime_seconds( self, value: impl Into<Output<Option<i32>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1Phase2LifetimeSeconds<S>>
where S::Tunnel1Phase2LifetimeSeconds: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The lifetime for phase 2 of the IKE negotiation for the first VPN tunnel, in seconds. Valid value is between 900 and 3600.

source

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<i32>> as Default>::default().

The lifetime for phase 2 of the IKE negotiation for the first VPN tunnel, in seconds. Valid value is between 900 and 3600.

source

pub fn tunnel1_preshared_key( self, value: impl Into<Output<Option<String>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1PresharedKey<S>>
where S::Tunnel1PresharedKey: 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(_).

source

pub fn maybe_tunnel1_preshared_key( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1PresharedKey<S>>
where S::Tunnel1PresharedKey: 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(_).

source

pub fn tunnel1_rekey_fuzz_percentage( self, value: impl Into<Output<Option<i32>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1RekeyFuzzPercentage<S>>
where S::Tunnel1RekeyFuzzPercentage: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The percentage of the rekey window for the first VPN tunnel (determined by tunnel1_rekey_margin_time_seconds) during which the rekey time is randomly selected. Valid value is between 0 and 100.

source

pub fn maybe_tunnel1_rekey_fuzz_percentage( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1RekeyFuzzPercentage<S>>
where S::Tunnel1RekeyFuzzPercentage: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The percentage of the rekey window for the first VPN tunnel (determined by tunnel1_rekey_margin_time_seconds) during which the rekey time is randomly selected. Valid value is between 0 and 100.

source

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.

source

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.

source

pub fn tunnel1_replay_window_size( self, value: impl Into<Output<Option<i32>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1ReplayWindowSize<S>>
where S::Tunnel1ReplayWindowSize: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The number of packets in an IKE replay window for the first VPN tunnel. Valid value is between 64 and 2048.

source

pub fn maybe_tunnel1_replay_window_size( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel1ReplayWindowSize<S>>
where S::Tunnel1ReplayWindowSize: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The number of packets in an IKE replay window for the first VPN tunnel. Valid value is between 64 and 2048.

source

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.

source

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.

source

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.

source

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.

source

pub fn tunnel2_dpd_timeout_seconds( self, value: impl Into<Output<Option<i32>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2DpdTimeoutSeconds<S>>
where S::Tunnel2DpdTimeoutSeconds: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The number of seconds after which a DPD timeout occurs for the second VPN tunnel. Valid value is equal or higher than 30.

source

pub fn maybe_tunnel2_dpd_timeout_seconds( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2DpdTimeoutSeconds<S>>
where S::Tunnel2DpdTimeoutSeconds: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The number of seconds after which a DPD timeout occurs for the second VPN tunnel. Valid value is equal or higher than 30.

source

pub fn tunnel2_enable_tunnel_lifecycle_control( self, value: impl Into<Output<Option<bool>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2EnableTunnelLifecycleControl<S>>
where S::Tunnel2EnableTunnelLifecycleControl: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Turn on or off tunnel endpoint lifecycle control feature for the second VPN tunnel. Valid values are true | false.

source

pub fn maybe_tunnel2_enable_tunnel_lifecycle_control( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2EnableTunnelLifecycleControl<S>>
where S::Tunnel2EnableTunnelLifecycleControl: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Turn on or off tunnel endpoint lifecycle control feature for the second VPN tunnel. Valid values are true | false.

source

pub fn tunnel2_ike_versions( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2IkeVersions<S>>
where S::Tunnel2IkeVersions: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

The IKE versions that are permitted for the second VPN tunnel. Valid values are ikev1 | ikev2.

source

pub fn maybe_tunnel2_ike_versions( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2IkeVersions<S>>
where S::Tunnel2IkeVersions: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

The IKE versions that are permitted for the second VPN tunnel. Valid values are ikev1 | ikev2.

source

pub fn tunnel2_inside_cidr( self, value: impl Into<Output<Option<String>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2InsideCidr<S>>
where S::Tunnel2InsideCidr: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The CIDR block of the inside IP addresses for the second VPN tunnel. Valid value is a size /30 CIDR block from the 169.254.0.0/16 range.

source

pub fn maybe_tunnel2_inside_cidr( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2InsideCidr<S>>
where S::Tunnel2InsideCidr: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The CIDR block of the inside IP addresses for the second VPN tunnel. Valid value is a size /30 CIDR block from the 169.254.0.0/16 range.

source

pub fn tunnel2_inside_ipv6_cidr( self, value: impl Into<Output<Option<String>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2InsideIpv6Cidr<S>>
where S::Tunnel2InsideIpv6Cidr: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The range of inside IPv6 addresses for the second VPN tunnel. Supports only EC2 Transit Gateway. Valid value is a size /126 CIDR block from the local fd00::/8 range.

source

pub fn maybe_tunnel2_inside_ipv6_cidr( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2InsideIpv6Cidr<S>>
where S::Tunnel2InsideIpv6Cidr: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The range of inside IPv6 addresses for the second VPN tunnel. Supports only EC2 Transit Gateway. Valid value is a size /126 CIDR block from the local fd00::/8 range.

source

pub fn tunnel2_log_options( self, value: impl Into<Output<Option<VpnConnectionTunnel2LogOptions>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2LogOptions<S>>
where S::Tunnel2LogOptions: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::ec2::VpnConnectionTunnel2LogOptions>,
> as Default>::default()

Options for logging VPN tunnel activity. See Log Options below for more details.

source

pub fn maybe_tunnel2_log_options( self, value: Option<impl Into<Output<Option<VpnConnectionTunnel2LogOptions>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2LogOptions<S>>
where S::Tunnel2LogOptions: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::ec2::VpnConnectionTunnel2LogOptions>,
> as Default>::default()

Options for logging VPN tunnel activity. See Log Options below for more details.

source

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.

source

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.

source

pub fn tunnel2_phase1_encryption_algorithms( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2Phase1EncryptionAlgorithms<S>>
where S::Tunnel2Phase1EncryptionAlgorithms: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

List of one or more encryption algorithms that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16.

source

pub fn maybe_tunnel2_phase1_encryption_algorithms( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2Phase1EncryptionAlgorithms<S>>
where S::Tunnel2Phase1EncryptionAlgorithms: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

List of one or more encryption algorithms that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16.

source

pub fn tunnel2_phase1_integrity_algorithms( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2Phase1IntegrityAlgorithms<S>>
where S::Tunnel2Phase1IntegrityAlgorithms: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

One or more integrity algorithms that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are SHA1 | SHA2-256 | SHA2-384 | SHA2-512.

source

pub fn maybe_tunnel2_phase1_integrity_algorithms( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2Phase1IntegrityAlgorithms<S>>
where S::Tunnel2Phase1IntegrityAlgorithms: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

One or more integrity algorithms that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are SHA1 | SHA2-256 | SHA2-384 | SHA2-512.

source

pub fn tunnel2_phase1_lifetime_seconds( self, value: impl Into<Output<Option<i32>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2Phase1LifetimeSeconds<S>>
where S::Tunnel2Phase1LifetimeSeconds: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The lifetime for phase 1 of the IKE negotiation for the second VPN tunnel, in seconds. Valid value is between 900 and 28800.

source

pub fn maybe_tunnel2_phase1_lifetime_seconds( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2Phase1LifetimeSeconds<S>>
where S::Tunnel2Phase1LifetimeSeconds: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The lifetime for phase 1 of the IKE negotiation for the second VPN tunnel, in seconds. Valid value is between 900 and 28800.

source

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.

source

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.

source

pub fn tunnel2_phase2_encryption_algorithms( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2Phase2EncryptionAlgorithms<S>>
where S::Tunnel2Phase2EncryptionAlgorithms: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

List of one or more encryption algorithms that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16.

source

pub fn maybe_tunnel2_phase2_encryption_algorithms( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2Phase2EncryptionAlgorithms<S>>
where S::Tunnel2Phase2EncryptionAlgorithms: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

List of one or more encryption algorithms that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16.

source

pub fn tunnel2_phase2_integrity_algorithms( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2Phase2IntegrityAlgorithms<S>>
where S::Tunnel2Phase2IntegrityAlgorithms: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

List of one or more integrity algorithms that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are SHA1 | SHA2-256 | SHA2-384 | SHA2-512.

source

pub fn maybe_tunnel2_phase2_integrity_algorithms( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2Phase2IntegrityAlgorithms<S>>
where S::Tunnel2Phase2IntegrityAlgorithms: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

List of one or more integrity algorithms that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are SHA1 | SHA2-256 | SHA2-384 | SHA2-512.

source

pub fn tunnel2_phase2_lifetime_seconds( self, value: impl Into<Output<Option<i32>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2Phase2LifetimeSeconds<S>>
where S::Tunnel2Phase2LifetimeSeconds: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The lifetime for phase 2 of the IKE negotiation for the second VPN tunnel, in seconds. Valid value is between 900 and 3600.

source

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<i32>> as Default>::default().

The lifetime for phase 2 of the IKE negotiation for the second VPN tunnel, in seconds. Valid value is between 900 and 3600.

source

pub fn tunnel2_preshared_key( self, value: impl Into<Output<Option<String>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2PresharedKey<S>>
where S::Tunnel2PresharedKey: 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(_).

source

pub fn maybe_tunnel2_preshared_key( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2PresharedKey<S>>
where S::Tunnel2PresharedKey: 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(_).

source

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.

source

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.

source

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.

source

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.

source

pub fn tunnel2_replay_window_size( self, value: impl Into<Output<Option<i32>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2ReplayWindowSize<S>>
where S::Tunnel2ReplayWindowSize: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The number of packets in an IKE replay window for the second VPN tunnel. Valid value is between 64 and 2048.

source

pub fn maybe_tunnel2_replay_window_size( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> VpnConnectionArgsBuilder<SetTunnel2ReplayWindowSize<S>>
where S::Tunnel2ReplayWindowSize: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The number of packets in an IKE replay window for the second VPN tunnel. Valid value is between 64 and 2048.

source

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.

source

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.

source

pub fn tunnel_inside_ip_version( self, value: impl Into<Output<Option<String>>>, ) -> VpnConnectionArgsBuilder<SetTunnelInsideIpVersion<S>>
where S::TunnelInsideIpVersion: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. Valid values are ipv4 | ipv6. ipv6 Supports only EC2 Transit Gateway.

source

pub fn maybe_tunnel_inside_ip_version( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VpnConnectionArgsBuilder<SetTunnelInsideIpVersion<S>>
where S::TunnelInsideIpVersion: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. Valid values are ipv4 | ipv6. ipv6 Supports only EC2 Transit Gateway.

source

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”.

source

pub fn vpn_gateway_id( self, value: impl Into<Output<Option<String>>>, ) -> VpnConnectionArgsBuilder<SetVpnGatewayId<S>>
where S::VpnGatewayId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The ID of the Virtual Private Gateway.

source

pub fn maybe_vpn_gateway_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VpnConnectionArgsBuilder<SetVpnGatewayId<S>>
where S::VpnGatewayId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The ID of the Virtual Private Gateway.

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.