libZSservicesZSamazonka-iotsecuretunnelingZSamazonka-iotsecuretunneling
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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 identity the target application. The AWS 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 AWS IoT client instantiates the local proxy which uses this information to connect to the destination application.

Instances

Instances details
Eq DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

Read DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

Show 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 #

NFData DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

Methods

rnf :: DestinationConfig -> () #

Hashable DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

ToJSON DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

FromJSON 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" "libZSservicesZSamazonka-iotsecuretunnelingZSamazonka-iotsecuretunneling" '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 identity the target application. The AWS 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 AWS 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 identity the target application. The AWS 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 AWS IoT client instantiates the local proxy which uses this information to connect to the destination application.