Interface SecretReference
- All Superinterfaces:
 software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
 SecretReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:48.525Z")
@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.services.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 
 
 -