AWS::Greengrass::ResourceDefinition SecretsManagerSecretResourceData - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Greengrass::ResourceDefinition 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