Class SecretsManagerSecretOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.core.SecretsManagerSecretOptions.Jsii$Proxy
All Implemented Interfaces:
SecretsManagerSecretOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
SecretsManagerSecretOptions

@Stability(Stable) @Internal public static final class SecretsManagerSecretOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SecretsManagerSecretOptions
An implementation for SecretsManagerSecretOptions
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(SecretsManagerSecretOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the SecretsManagerSecretOptions.Builder.
  • Method Details

    • getJsonField

      public final String getJsonField()
      Description copied from interface: SecretsManagerSecretOptions
      The key of a JSON field to retrieve.

      This can only be used if the secret stores a JSON object.

      Default: - returns all the content stored in the Secrets Manager secret.

      Specified by:
      getJsonField in interface SecretsManagerSecretOptions
    • getVersionId

      public final String getVersionId()
      Description copied from interface: SecretsManagerSecretOptions
      Specifies the unique identifier of the version of the secret you want to use.

      Can specify at most one of versionId and versionStage.

      Default: AWSCURRENT

      Specified by:
      getVersionId in interface SecretsManagerSecretOptions
    • getVersionStage

      public final String getVersionStage()
      Description copied from interface: SecretsManagerSecretOptions
      Specifies the secret version that you want to retrieve by the staging label attached to the version.

      Can specify at most one of versionId and versionStage.

      Default: AWSCURRENT

      Specified by:
      getVersionStage in interface SecretsManagerSecretOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object