AWS::Greengrass::ResourceDefinitionVersion SecretsManagerSecretResourceData
Settings for a secret resource, which references a secret from Amazon Secrets Manager. Amazon 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. For more information, see Deploy Secrets to the Amazon IoT Greengrass Core in the Amazon IoT Greengrass Version 1 Developer Guide .
In an Amazon CloudFormation template, SecretsManagerSecretResourceData
can be
used in the ResourceDataContainer
property type.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "AdditionalStagingLabelsToDownload" :
[ String, ... ]
, "ARN" :String
}
YAML
AdditionalStagingLabelsToDownload:
- String
ARN:String
Properties
AdditionalStagingLabelsToDownload
-
The staging labels whose values you want to make available on the core, in addition to
AWSCURRENT
.Required: No
Type: Array of String
Update requires: Replacement
ARN
-
The Amazon Resource Name (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.Required: Yes
Type: String
Update requires: Replacement
See also
-
SecretsManagerSecretResourceData in the Amazon IoT Greengrass Version 1 API Reference