interface SecretsManagerSecretResourceDataProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins.CfnResourceDefinitionPropsMixin.SecretsManagerSecretResourceDataProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgreengrass/mixins#CfnResourceDefinitionPropsMixin_SecretsManagerSecretResourceDataProperty |
Java | software.amazon.awscdk.mixins.preview.services.greengrass.mixins.CfnResourceDefinitionPropsMixin.SecretsManagerSecretResourceDataProperty |
Python | aws_cdk.mixins_preview.aws_greengrass.mixins.CfnResourceDefinitionPropsMixin.SecretsManagerSecretResourceDataProperty |
TypeScript | @aws-cdk/mixins-preview » aws_greengrass » mixins » CfnResourceDefinitionPropsMixin » SecretsManagerSecretResourceDataProperty |
Settings for 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. For more information, see Deploy Secrets to the AWS IoT Greengrass Core in the Developer Guide .
In an CloudFormation template, SecretsManagerSecretResourceData can be used in the ResourceDataContainer property type.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as greengrass_mixins } from '@aws-cdk/mixins-preview/aws-greengrass';
const secretsManagerSecretResourceDataProperty: greengrass_mixins.CfnResourceDefinitionPropsMixin.SecretsManagerSecretResourceDataProperty = {
additionalStagingLabelsToDownload: ['additionalStagingLabelsToDownload'],
arn: 'arn',
};
Properties
| Name | Type | Description |
|---|---|---|
| additional | string[] | The staging labels whose values you want to make available on the core, in addition to AWSCURRENT . |
| arn? | string | The Amazon Resource Name (ARN) of the Secrets Manager secret to make available on the core. |
additionalStagingLabelsToDownload?
Type:
string[]
(optional)
The staging labels whose values you want to make available on the core, in addition to AWSCURRENT .
arn?
Type:
string
(optional)
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.

.NET
Go
Java
Python
TypeScript