Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ModifyVpnTunnelOptionsSpecification = ModifyVpnTunnelOptionsSpecification' {
- dPDTimeoutAction :: Maybe Text
- dPDTimeoutSeconds :: Maybe Int
- iKEVersions :: Maybe [IKEVersionsRequestListValue]
- logOptions :: Maybe VpnTunnelLogOptionsSpecification
- phase1DHGroupNumbers :: Maybe [Phase1DHGroupNumbersRequestListValue]
- phase1EncryptionAlgorithms :: Maybe [Phase1EncryptionAlgorithmsRequestListValue]
- phase1IntegrityAlgorithms :: Maybe [Phase1IntegrityAlgorithmsRequestListValue]
- phase1LifetimeSeconds :: Maybe Int
- phase2DHGroupNumbers :: Maybe [Phase2DHGroupNumbersRequestListValue]
- phase2EncryptionAlgorithms :: Maybe [Phase2EncryptionAlgorithmsRequestListValue]
- phase2IntegrityAlgorithms :: Maybe [Phase2IntegrityAlgorithmsRequestListValue]
- phase2LifetimeSeconds :: Maybe Int
- preSharedKey :: Maybe Text
- rekeyFuzzPercentage :: Maybe Int
- rekeyMarginTimeSeconds :: Maybe Int
- replayWindowSize :: Maybe Int
- startupAction :: Maybe Text
- tunnelInsideCidr :: Maybe Text
- tunnelInsideIpv6Cidr :: Maybe Text
- newModifyVpnTunnelOptionsSpecification :: ModifyVpnTunnelOptionsSpecification
- modifyVpnTunnelOptionsSpecification_dPDTimeoutAction :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Text)
- modifyVpnTunnelOptionsSpecification_dPDTimeoutSeconds :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Int)
- modifyVpnTunnelOptionsSpecification_iKEVersions :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe [IKEVersionsRequestListValue])
- modifyVpnTunnelOptionsSpecification_logOptions :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe VpnTunnelLogOptionsSpecification)
- modifyVpnTunnelOptionsSpecification_phase1DHGroupNumbers :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe [Phase1DHGroupNumbersRequestListValue])
- modifyVpnTunnelOptionsSpecification_phase1EncryptionAlgorithms :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe [Phase1EncryptionAlgorithmsRequestListValue])
- modifyVpnTunnelOptionsSpecification_phase1IntegrityAlgorithms :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe [Phase1IntegrityAlgorithmsRequestListValue])
- modifyVpnTunnelOptionsSpecification_phase1LifetimeSeconds :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Int)
- modifyVpnTunnelOptionsSpecification_phase2DHGroupNumbers :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe [Phase2DHGroupNumbersRequestListValue])
- modifyVpnTunnelOptionsSpecification_phase2EncryptionAlgorithms :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe [Phase2EncryptionAlgorithmsRequestListValue])
- modifyVpnTunnelOptionsSpecification_phase2IntegrityAlgorithms :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe [Phase2IntegrityAlgorithmsRequestListValue])
- modifyVpnTunnelOptionsSpecification_phase2LifetimeSeconds :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Int)
- modifyVpnTunnelOptionsSpecification_preSharedKey :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Text)
- modifyVpnTunnelOptionsSpecification_rekeyFuzzPercentage :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Int)
- modifyVpnTunnelOptionsSpecification_rekeyMarginTimeSeconds :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Int)
- modifyVpnTunnelOptionsSpecification_replayWindowSize :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Int)
- modifyVpnTunnelOptionsSpecification_startupAction :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Text)
- modifyVpnTunnelOptionsSpecification_tunnelInsideCidr :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Text)
- modifyVpnTunnelOptionsSpecification_tunnelInsideIpv6Cidr :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Text)
Documentation
data ModifyVpnTunnelOptionsSpecification Source #
The Amazon Web Services Site-to-Site VPN tunnel options to modify.
See: newModifyVpnTunnelOptionsSpecification
smart constructor.
ModifyVpnTunnelOptionsSpecification' | |
|
Instances
newModifyVpnTunnelOptionsSpecification :: ModifyVpnTunnelOptionsSpecification Source #
Create a value of ModifyVpnTunnelOptionsSpecification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dPDTimeoutAction:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_dPDTimeoutAction
- The action to take after DPD timeout occurs. Specify restart
to
restart the IKE initiation. Specify clear
to end the IKE session.
Valid Values: clear
| none
| restart
Default: clear
$sel:dPDTimeoutSeconds:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_dPDTimeoutSeconds
- The number of seconds after which a DPD timeout occurs.
Constraints: A value greater than or equal to 30.
Default: 30
$sel:iKEVersions:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_iKEVersions
- The IKE versions that are permitted for the VPN tunnel.
Valid values: ikev1
| ikev2
$sel:logOptions:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_logOptions
- Options for logging VPN tunnel activity.
$sel:phase1DHGroupNumbers:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_phase1DHGroupNumbers
- One or more Diffie-Hellman group numbers that are permitted for the VPN
tunnel for phase 1 IKE negotiations.
Valid values: 2
| 14
| 15
| 16
| 17
| 18
| 19
| 20
|
21
| 22
| 23
| 24
$sel:phase1EncryptionAlgorithms:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_phase1EncryptionAlgorithms
- One or more encryption algorithms that are permitted for the VPN tunnel
for phase 1 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
| AES256-GCM-16
$sel:phase1IntegrityAlgorithms:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_phase1IntegrityAlgorithms
- One or more integrity algorithms that are permitted for the VPN tunnel
for phase 1 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
$sel:phase1LifetimeSeconds:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_phase1LifetimeSeconds
- The lifetime for phase 1 of the IKE negotiation, in seconds.
Constraints: A value between 900 and 28,800.
Default: 28800
$sel:phase2DHGroupNumbers:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_phase2DHGroupNumbers
- One or more Diffie-Hellman group numbers that are permitted for the VPN
tunnel for phase 2 IKE negotiations.
Valid values: 2
| 5
| 14
| 15
| 16
| 17
| 18
| 19
| 20
| 21
| 22
| 23
| 24
$sel:phase2EncryptionAlgorithms:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_phase2EncryptionAlgorithms
- One or more encryption algorithms that are permitted for the VPN tunnel
for phase 2 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
| AES256-GCM-16
$sel:phase2IntegrityAlgorithms:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_phase2IntegrityAlgorithms
- One or more integrity algorithms that are permitted for the VPN tunnel
for phase 2 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
$sel:phase2LifetimeSeconds:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_phase2LifetimeSeconds
- The lifetime for phase 2 of the IKE negotiation, in seconds.
Constraints: A value between 900 and 3,600. The value must be less than
the value for Phase1LifetimeSeconds
.
Default: 3600
$sel:preSharedKey:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_preSharedKey
- The pre-shared key (PSK) to establish initial authentication between the
virtual private gateway and the customer gateway.
Constraints: Allowed characters are alphanumeric characters, periods (.), and underscores (_). Must be between 8 and 64 characters in length and cannot start with zero (0).
$sel:rekeyFuzzPercentage:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_rekeyFuzzPercentage
- The percentage of the rekey window (determined by
RekeyMarginTimeSeconds
) during which the rekey time is randomly
selected.
Constraints: A value between 0 and 100.
Default: 100
$sel:rekeyMarginTimeSeconds:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_rekeyMarginTimeSeconds
- The margin time, in seconds, before the phase 2 lifetime expires, during
which the Amazon Web Services side of the VPN connection performs an IKE
rekey. The exact time of the rekey is randomly selected based on the
value for RekeyFuzzPercentage
.
Constraints: A value between 60 and half of Phase2LifetimeSeconds
.
Default: 540
$sel:replayWindowSize:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_replayWindowSize
- The number of packets in an IKE replay window.
Constraints: A value between 64 and 2048.
Default: 1024
$sel:startupAction:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_startupAction
- The action to take when the establishing the tunnel for the VPN
connection. By default, your customer gateway device must initiate the
IKE negotiation and bring up the tunnel. Specify start
for Amazon Web
Services to initiate the IKE negotiation.
Valid Values: add
| start
Default: add
$sel:tunnelInsideCidr:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_tunnelInsideCidr
- The range of inside IPv4 addresses for the tunnel. Any specified CIDR
blocks must be unique across all VPN connections that use the same
virtual private gateway.
Constraints: A size /30 CIDR block from the 169.254.0.0/16
range.
The following CIDR blocks are reserved and cannot be used:
169.254.0.0/30
169.254.1.0/30
169.254.2.0/30
169.254.3.0/30
169.254.4.0/30
169.254.5.0/30
169.254.169.252/30
$sel:tunnelInsideIpv6Cidr:ModifyVpnTunnelOptionsSpecification'
, modifyVpnTunnelOptionsSpecification_tunnelInsideIpv6Cidr
- The range of inside IPv6 addresses for the tunnel. Any specified CIDR
blocks must be unique across all VPN connections that use the same
transit gateway.
Constraints: A size /126 CIDR block from the local fd00::/8
range.
modifyVpnTunnelOptionsSpecification_dPDTimeoutAction :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Text) Source #
The action to take after DPD timeout occurs. Specify restart
to
restart the IKE initiation. Specify clear
to end the IKE session.
Valid Values: clear
| none
| restart
Default: clear
modifyVpnTunnelOptionsSpecification_dPDTimeoutSeconds :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Int) Source #
The number of seconds after which a DPD timeout occurs.
Constraints: A value greater than or equal to 30.
Default: 30
modifyVpnTunnelOptionsSpecification_iKEVersions :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe [IKEVersionsRequestListValue]) Source #
The IKE versions that are permitted for the VPN tunnel.
Valid values: ikev1
| ikev2
modifyVpnTunnelOptionsSpecification_logOptions :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe VpnTunnelLogOptionsSpecification) Source #
Options for logging VPN tunnel activity.
modifyVpnTunnelOptionsSpecification_phase1DHGroupNumbers :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe [Phase1DHGroupNumbersRequestListValue]) Source #
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: 2
| 14
| 15
| 16
| 17
| 18
| 19
| 20
|
21
| 22
| 23
| 24
modifyVpnTunnelOptionsSpecification_phase1EncryptionAlgorithms :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe [Phase1EncryptionAlgorithmsRequestListValue]) Source #
One or more encryption algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
| AES256-GCM-16
modifyVpnTunnelOptionsSpecification_phase1IntegrityAlgorithms :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe [Phase1IntegrityAlgorithmsRequestListValue]) Source #
One or more integrity algorithms that are permitted for the VPN tunnel for phase 1 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
modifyVpnTunnelOptionsSpecification_phase1LifetimeSeconds :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Int) Source #
The lifetime for phase 1 of the IKE negotiation, in seconds.
Constraints: A value between 900 and 28,800.
Default: 28800
modifyVpnTunnelOptionsSpecification_phase2DHGroupNumbers :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe [Phase2DHGroupNumbersRequestListValue]) Source #
One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: 2
| 5
| 14
| 15
| 16
| 17
| 18
| 19
| 20
| 21
| 22
| 23
| 24
modifyVpnTunnelOptionsSpecification_phase2EncryptionAlgorithms :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe [Phase2EncryptionAlgorithmsRequestListValue]) Source #
One or more encryption algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: AES128
| AES256
| AES128-GCM-16
| AES256-GCM-16
modifyVpnTunnelOptionsSpecification_phase2IntegrityAlgorithms :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe [Phase2IntegrityAlgorithmsRequestListValue]) Source #
One or more integrity algorithms that are permitted for the VPN tunnel for phase 2 IKE negotiations.
Valid values: SHA1
| SHA2-256
| SHA2-384
| SHA2-512
modifyVpnTunnelOptionsSpecification_phase2LifetimeSeconds :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Int) Source #
The lifetime for phase 2 of the IKE negotiation, in seconds.
Constraints: A value between 900 and 3,600. The value must be less than
the value for Phase1LifetimeSeconds
.
Default: 3600
modifyVpnTunnelOptionsSpecification_preSharedKey :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Text) Source #
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and the customer gateway.
Constraints: Allowed characters are alphanumeric characters, periods (.), and underscores (_). Must be between 8 and 64 characters in length and cannot start with zero (0).
modifyVpnTunnelOptionsSpecification_rekeyFuzzPercentage :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Int) Source #
The percentage of the rekey window (determined by
RekeyMarginTimeSeconds
) during which the rekey time is randomly
selected.
Constraints: A value between 0 and 100.
Default: 100
modifyVpnTunnelOptionsSpecification_rekeyMarginTimeSeconds :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Int) Source #
The margin time, in seconds, before the phase 2 lifetime expires, during
which the Amazon Web Services side of the VPN connection performs an IKE
rekey. The exact time of the rekey is randomly selected based on the
value for RekeyFuzzPercentage
.
Constraints: A value between 60 and half of Phase2LifetimeSeconds
.
Default: 540
modifyVpnTunnelOptionsSpecification_replayWindowSize :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Int) Source #
The number of packets in an IKE replay window.
Constraints: A value between 64 and 2048.
Default: 1024
modifyVpnTunnelOptionsSpecification_startupAction :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Text) Source #
The action to take when the establishing the tunnel for the VPN
connection. By default, your customer gateway device must initiate the
IKE negotiation and bring up the tunnel. Specify start
for Amazon Web
Services to initiate the IKE negotiation.
Valid Values: add
| start
Default: add
modifyVpnTunnelOptionsSpecification_tunnelInsideCidr :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Text) Source #
The range of inside IPv4 addresses for the tunnel. Any specified CIDR blocks must be unique across all VPN connections that use the same virtual private gateway.
Constraints: A size /30 CIDR block from the 169.254.0.0/16
range.
The following CIDR blocks are reserved and cannot be used:
169.254.0.0/30
169.254.1.0/30
169.254.2.0/30
169.254.3.0/30
169.254.4.0/30
169.254.5.0/30
169.254.169.252/30
modifyVpnTunnelOptionsSpecification_tunnelInsideIpv6Cidr :: Lens' ModifyVpnTunnelOptionsSpecification (Maybe Text) Source #
The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks must be unique across all VPN connections that use the same transit gateway.
Constraints: A size /126 CIDR block from the local fd00::/8
range.