Interface CfnResourceDefinitionVersion.ISecretsManagerSecretResourceDataProperty
Settings for a secret resource, which references a secret from AWS Secrets Manager .
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISecretsManagerSecretResourceDataProperty
Syntax (vb)
Public Interface ISecretsManagerSecretResourceDataProperty
Remarks
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 AWS CloudFormation template, SecretsManagerSecretResourceData
can be used in the ResourceDataContainer
property type.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Greengrass;
var secretsManagerSecretResourceDataProperty = new SecretsManagerSecretResourceDataProperty {
Arn = "arn",
// the properties below are optional
AdditionalStagingLabelsToDownload = new [] { "additionalStagingLabelsToDownload" }
};
Synopsis
Properties
AdditionalStagingLabelsToDownload | The staging labels whose values you want to make available on the core, in addition to |
Arn | The Amazon Resource Name (ARN) of the Secrets Manager secret to make available on the core. |
Properties
AdditionalStagingLabelsToDownload
The staging labels whose values you want to make available on the core, in addition to AWSCURRENT
.
virtual string[] AdditionalStagingLabelsToDownload { get; }
Property Value
System.String[]
Remarks
Arn
The Amazon Resource Name (ARN) of the Secrets Manager secret to make available on the core.
string Arn { get; }
Property Value
System.String
Remarks
The value of the secret's latest version (represented by the AWSCURRENT
staging label) is included by default.