Interface CfnResourceDefinitionVersion.SecretsManagerSecretResourceDataProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceDefinitionVersion.SecretsManagerSecretResourceDataProperty.Jsii$Proxy
- Enclosing class:
CfnResourceDefinitionVersion
@Stability(Stable)
public static interface CfnResourceDefinitionVersion.SecretsManagerSecretResourceDataProperty
extends software.amazon.jsii.JsiiSerializable
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 AWS 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 software.amazon.awscdk.services.greengrass.*; SecretsManagerSecretResourceDataProperty secretsManagerSecretResourceDataProperty = SecretsManagerSecretResourceDataProperty.builder() .arn("arn") // the properties below are optional .additionalStagingLabelsToDownload(List.of("additionalStagingLabelsToDownload")) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnResourceDefinitionVersion.SecretsManagerSecretResourceDataProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getArn
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.- See Also:
-
getAdditionalStagingLabelsToDownload
The staging labels whose values you want to make available on the core, in addition toAWSCURRENT
.- See Also:
-
builder
@Stability(Stable) static CfnResourceDefinitionVersion.SecretsManagerSecretResourceDataProperty.Builder builder()
-