Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Tunnel = Tunnel' {
- status :: Maybe TunnelStatus
- lastUpdatedAt :: Maybe POSIX
- createdAt :: Maybe POSIX
- tunnelArn :: Maybe Text
- sourceConnectionState :: Maybe ConnectionState
- destinationConnectionState :: Maybe ConnectionState
- tunnelId :: Maybe Text
- destinationConfig :: Maybe DestinationConfig
- description :: Maybe Text
- timeoutConfig :: Maybe TimeoutConfig
- tags :: Maybe (NonEmpty Tag)
- newTunnel :: Tunnel
- tunnel_status :: Lens' Tunnel (Maybe TunnelStatus)
- tunnel_lastUpdatedAt :: Lens' Tunnel (Maybe UTCTime)
- tunnel_createdAt :: Lens' Tunnel (Maybe UTCTime)
- tunnel_tunnelArn :: Lens' Tunnel (Maybe Text)
- tunnel_sourceConnectionState :: Lens' Tunnel (Maybe ConnectionState)
- tunnel_destinationConnectionState :: Lens' Tunnel (Maybe ConnectionState)
- tunnel_tunnelId :: Lens' Tunnel (Maybe Text)
- tunnel_destinationConfig :: Lens' Tunnel (Maybe DestinationConfig)
- tunnel_description :: Lens' Tunnel (Maybe Text)
- tunnel_timeoutConfig :: Lens' Tunnel (Maybe TimeoutConfig)
- tunnel_tags :: Lens' Tunnel (Maybe (NonEmpty Tag))
Documentation
A connection between a source computer and a destination device.
See: newTunnel
smart constructor.
Tunnel' | |
|
Instances
Create a value of Tunnel
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:status:Tunnel'
, tunnel_status
- The status of a tunnel. Valid values are: Open and Closed.
$sel:lastUpdatedAt:Tunnel'
, tunnel_lastUpdatedAt
- The last time the tunnel was updated.
$sel:createdAt:Tunnel'
, tunnel_createdAt
- The time when the tunnel was created.
$sel:tunnelArn:Tunnel'
, tunnel_tunnelArn
- The Amazon Resource Name (ARN) of a tunnel. The tunnel ARN format is
arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>
$sel:sourceConnectionState:Tunnel'
, tunnel_sourceConnectionState
- The connection state of the source application.
$sel:destinationConnectionState:Tunnel'
, tunnel_destinationConnectionState
- The connection state of the destination application.
$sel:tunnelId:Tunnel'
, tunnel_tunnelId
- A unique alpha-numeric ID that identifies a tunnel.
$sel:destinationConfig:Tunnel'
, tunnel_destinationConfig
- The destination configuration that specifies the thing name of the
destination device and a service name that the local proxy uses to
connect to the destination application.
$sel:description:Tunnel'
, tunnel_description
- A description of the tunnel.
$sel:timeoutConfig:Tunnel'
, tunnel_timeoutConfig
- Timeout configuration for the tunnel.
$sel:tags:Tunnel'
, tunnel_tags
- A list of tag metadata associated with the secure tunnel.
tunnel_status :: Lens' Tunnel (Maybe TunnelStatus) Source #
The status of a tunnel. Valid values are: Open and Closed.
tunnel_tunnelArn :: Lens' Tunnel (Maybe Text) Source #
The Amazon Resource Name (ARN) of a tunnel. The tunnel ARN format is
arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>
tunnel_sourceConnectionState :: Lens' Tunnel (Maybe ConnectionState) Source #
The connection state of the source application.
tunnel_destinationConnectionState :: Lens' Tunnel (Maybe ConnectionState) Source #
The connection state of the destination application.
tunnel_tunnelId :: Lens' Tunnel (Maybe Text) Source #
A unique alpha-numeric ID that identifies a tunnel.
tunnel_destinationConfig :: Lens' Tunnel (Maybe DestinationConfig) Source #
The destination configuration that specifies the thing name of the destination device and a service name that the local proxy uses to connect to the destination application.
tunnel_timeoutConfig :: Lens' Tunnel (Maybe TimeoutConfig) Source #
Timeout configuration for the tunnel.