amazonka-greengrass-2.0: Amazon Greengrass 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.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

  • 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.

  • additionalStagingLabelsToDownload :: Maybe [Text]

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

Instances

Instances details
FromJSON SecretsManagerSecretResourceData Source # 
Instance details

Defined in Amazonka.Greengrass.Types.SecretsManagerSecretResourceData

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

Read SecretsManagerSecretResourceData Source # 
Instance details

Defined in Amazonka.Greengrass.Types.SecretsManagerSecretResourceData

Show SecretsManagerSecretResourceData Source # 
Instance details

Defined in Amazonka.Greengrass.Types.SecretsManagerSecretResourceData

NFData SecretsManagerSecretResourceData Source # 
Instance details

Defined in Amazonka.Greengrass.Types.SecretsManagerSecretResourceData

Eq SecretsManagerSecretResourceData Source # 
Instance details

Defined in Amazonka.Greengrass.Types.SecretsManagerSecretResourceData

Hashable 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" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "SecretsManagerSecretResourceData'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "additionalStagingLabelsToDownload") '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: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.

$sel:additionalStagingLabelsToDownload:SecretsManagerSecretResourceData', secretsManagerSecretResourceData_additionalStagingLabelsToDownload - 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.

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''.