amazonka-iotsecuretunneling-2.0: Amazon IoT Secure Tunneling SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTSecureTunneling.Types.DestinationConfig

Description

 
Synopsis

Documentation

data DestinationConfig Source #

The destination configuration.

See: newDestinationConfig smart constructor.

Constructors

DestinationConfig' 

Fields

  • thingName :: Maybe Text

    The name of the IoT thing to which you want to connect.

  • services :: NonEmpty Text

    A list of service names that identify the target application. The IoT client running on the destination device reads this value and uses it to look up a port or an IP address and a port. The IoT client instantiates the local proxy, which uses this information to connect to the destination application.

Instances

Instances details
FromJSON DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

ToJSON DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

Generic DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

Associated Types

type Rep DestinationConfig :: Type -> Type #

Read DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

Show DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

NFData DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

Methods

rnf :: DestinationConfig -> () #

Eq DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

Hashable DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

type Rep DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

type Rep DestinationConfig = D1 ('MetaData "DestinationConfig" "Amazonka.IoTSecureTunneling.Types.DestinationConfig" "amazonka-iotsecuretunneling-2.0-B7tp11579Ld35NvrM5xQuK" 'False) (C1 ('MetaCons "DestinationConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "thingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "services") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newDestinationConfig Source #

Create a value of DestinationConfig 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:thingName:DestinationConfig', destinationConfig_thingName - The name of the IoT thing to which you want to connect.

$sel:services:DestinationConfig', destinationConfig_services - A list of service names that identify the target application. The IoT client running on the destination device reads this value and uses it to look up a port or an IP address and a port. The IoT client instantiates the local proxy, which uses this information to connect to the destination application.

destinationConfig_thingName :: Lens' DestinationConfig (Maybe Text) Source #

The name of the IoT thing to which you want to connect.

destinationConfig_services :: Lens' DestinationConfig (NonEmpty Text) Source #

A list of service names that identify the target application. The IoT client running on the destination device reads this value and uses it to look up a port or an IP address and a port. The IoT client instantiates the local proxy, which uses this information to connect to the destination application.