libZSservicesZSamazonka-greengrassZSamazonka-greengrass
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.Greengrass.Types.SecretsManagerSecretResourceData

Description

 
Synopsis

Documentation

data SecretsManagerSecretResourceData Source #

Attributes that define a secret resource, which references a secret from AWS Secrets Manager. AWS IoT Greengrass stores a local, encrypted copy of the secret on the Greengrass core, where it can be securely accessed by connectors and Lambda functions.

See: newSecretsManagerSecretResourceData smart constructor.

Constructors

SecretsManagerSecretResourceData' 

Fields

  • additionalStagingLabelsToDownload :: Maybe [Text]

    Optional. The staging labels whose values you want to make available on the core, in addition to ''AWSCURRENT''.

  • arn :: Maybe Text

    The ARN of the Secrets Manager secret to make available on the core. The value of the secret's latest version (represented by the ''AWSCURRENT'' staging label) is included by default.

Instances

Instances details
Eq SecretsManagerSecretResourceData Source # 
Instance details

Defined in Amazonka.Greengrass.Types.SecretsManagerSecretResourceData

Read SecretsManagerSecretResourceData Source # 
Instance details

Defined in Amazonka.Greengrass.Types.SecretsManagerSecretResourceData

Show SecretsManagerSecretResourceData Source # 
Instance details

Defined in Amazonka.Greengrass.Types.SecretsManagerSecretResourceData

Generic SecretsManagerSecretResourceData Source # 
Instance details

Defined in Amazonka.Greengrass.Types.SecretsManagerSecretResourceData

Associated Types

type Rep SecretsManagerSecretResourceData :: Type -> Type #

NFData SecretsManagerSecretResourceData Source # 
Instance details

Defined in Amazonka.Greengrass.Types.SecretsManagerSecretResourceData

Hashable SecretsManagerSecretResourceData Source # 
Instance details

Defined in Amazonka.Greengrass.Types.SecretsManagerSecretResourceData

ToJSON SecretsManagerSecretResourceData Source # 
Instance details

Defined in Amazonka.Greengrass.Types.SecretsManagerSecretResourceData

FromJSON SecretsManagerSecretResourceData Source # 
Instance details

Defined in Amazonka.Greengrass.Types.SecretsManagerSecretResourceData

type Rep SecretsManagerSecretResourceData Source # 
Instance details

Defined in Amazonka.Greengrass.Types.SecretsManagerSecretResourceData

type Rep SecretsManagerSecretResourceData = D1 ('MetaData "SecretsManagerSecretResourceData" "Amazonka.Greengrass.Types.SecretsManagerSecretResourceData" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "SecretsManagerSecretResourceData'" 'PrefixI 'True) (S1 ('MetaSel ('Just "additionalStagingLabelsToDownload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSecretsManagerSecretResourceData :: SecretsManagerSecretResourceData Source #

Create a value of SecretsManagerSecretResourceData 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:additionalStagingLabelsToDownload:SecretsManagerSecretResourceData', secretsManagerSecretResourceData_additionalStagingLabelsToDownload - Optional. The staging labels whose values you want to make available on the core, in addition to ''AWSCURRENT''.

$sel:arn:SecretsManagerSecretResourceData', secretsManagerSecretResourceData_arn - The ARN of the Secrets Manager secret to make available on the core. The value of the secret's latest version (represented by the ''AWSCURRENT'' staging label) is included by default.

secretsManagerSecretResourceData_additionalStagingLabelsToDownload :: Lens' SecretsManagerSecretResourceData (Maybe [Text]) Source #

Optional. The staging labels whose values you want to make available on the core, in addition to ''AWSCURRENT''.

secretsManagerSecretResourceData_arn :: Lens' SecretsManagerSecretResourceData (Maybe Text) Source #

The ARN of the Secrets Manager secret to make available on the core. The value of the secret's latest version (represented by the ''AWSCURRENT'' staging label) is included by default.