| 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 |
Amazonka.IoTSecureTunneling.Types.Tunnel
Description
Synopsis
- data Tunnel = Tunnel' {
- createdAt :: Maybe POSIX
- description :: Maybe Text
- destinationConfig :: Maybe DestinationConfig
- destinationConnectionState :: Maybe ConnectionState
- lastUpdatedAt :: Maybe POSIX
- sourceConnectionState :: Maybe ConnectionState
- status :: Maybe TunnelStatus
- tags :: Maybe (NonEmpty Tag)
- timeoutConfig :: Maybe TimeoutConfig
- tunnelArn :: Maybe Text
- tunnelId :: Maybe Text
- newTunnel :: Tunnel
- tunnel_createdAt :: Lens' Tunnel (Maybe UTCTime)
- tunnel_description :: Lens' Tunnel (Maybe Text)
- tunnel_destinationConfig :: Lens' Tunnel (Maybe DestinationConfig)
- tunnel_destinationConnectionState :: Lens' Tunnel (Maybe ConnectionState)
- tunnel_lastUpdatedAt :: Lens' Tunnel (Maybe UTCTime)
- tunnel_sourceConnectionState :: Lens' Tunnel (Maybe ConnectionState)
- tunnel_status :: Lens' Tunnel (Maybe TunnelStatus)
- tunnel_tags :: Lens' Tunnel (Maybe (NonEmpty Tag))
- tunnel_timeoutConfig :: Lens' Tunnel (Maybe TimeoutConfig)
- tunnel_tunnelArn :: Lens' Tunnel (Maybe Text)
- tunnel_tunnelId :: Lens' Tunnel (Maybe Text)
Documentation
A connection between a source computer and a destination device.
See: newTunnel smart constructor.
Constructors
| Tunnel' | |
Fields
| |
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:createdAt:Tunnel', tunnel_createdAt - The time when the tunnel was created.
$sel:description:Tunnel', tunnel_description - A description of the 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:destinationConnectionState:Tunnel', tunnel_destinationConnectionState - The connection state of the destination application.
Tunnel, tunnel_lastUpdatedAt - The last time the tunnel was updated.
$sel:sourceConnectionState:Tunnel', tunnel_sourceConnectionState - The connection state of the source application.
Tunnel, tunnel_status - The status of a tunnel. Valid values are: Open and Closed.
$sel:tags:Tunnel', tunnel_tags - A list of tag metadata associated with the secure tunnel.
$sel:timeoutConfig:Tunnel', tunnel_timeoutConfig - Timeout configuration for the tunnel.
$sel:tunnelArn:Tunnel', tunnel_tunnelArn - The Amazon Resource Name (ARN) of a tunnel.
$sel:tunnelId:Tunnel', tunnel_tunnelId - 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_destinationConnectionState :: Lens' Tunnel (Maybe ConnectionState) Source #
The connection state of the destination application.
tunnel_sourceConnectionState :: Lens' Tunnel (Maybe ConnectionState) Source #
The connection state of the source application.
tunnel_status :: Lens' Tunnel (Maybe TunnelStatus) Source #
The status of a tunnel. Valid values are: Open and Closed.
tunnel_tags :: Lens' Tunnel (Maybe (NonEmpty Tag)) Source #
A list of tag metadata associated with the secure tunnel.
tunnel_timeoutConfig :: Lens' Tunnel (Maybe TimeoutConfig) Source #
Timeout configuration for the tunnel.