@Stability(value=Stable)
public static interface CfnResourceDefinition.SecretsManagerSecretResourceDataProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResourceDefinition.SecretsManagerSecretResourceDataProperty.Builder
|
static class |
CfnResourceDefinition.SecretsManagerSecretResourceDataProperty.Jsii$Proxy
An implementation for
CfnResourceDefinition.SecretsManagerSecretResourceDataProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnResourceDefinition.SecretsManagerSecretResourceDataProperty.Builder |
builder() |
default List<String> |
getAdditionalStagingLabelsToDownload()
The staging labels whose values you want to make available on the core, in addition to `AWSCURRENT` .
|
String |
getArn()
The Amazon Resource Name (ARN) of the Secrets Manager secret to make available on the core.
|
@Stability(value=Stable) @NotNull String getArn()
The value of the secret's latest version (represented by the AWSCURRENT staging label) is included by default.
@Stability(value=Stable) @Nullable default List<String> getAdditionalStagingLabelsToDownload()
@Stability(value=Stable) static CfnResourceDefinition.SecretsManagerSecretResourceDataProperty.Builder builder()
Copyright © 2022. All rights reserved.