Interface SecretReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SecretReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:20.730Z")
@Stability(Stable)
public interface SecretReference
extends software.amazon.jsii.JsiiSerializable
A reference to a Secret resource.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.secretsmanager.*;
SecretReference secretReference = SecretReference.builder()
.secretId("secretId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSecretReferencestatic final classAn implementation forSecretReference -
Method Summary
Modifier and TypeMethodDescriptionstatic SecretReference.Builderbuilder()The Id of the Secret resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSecretId
The Id of the Secret resource. -
builder
- Returns:
- a
SecretReference.BuilderofSecretReference
-