Class CfnSecretTargetAttachmentProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnSecretTargetAttachmentProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnSecretTargetAttachmentProps
An implementation for CfnSecretTargetAttachmentProps
  • 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(CfnSecretTargetAttachmentProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnSecretTargetAttachmentProps.Builder.
  • Method Details

    • getSecretId

      public final String getSecretId()
      Description copied from interface: CfnSecretTargetAttachmentProps
      The ARN or name of the secret.

      To reference a secret also created in this template, use the see Ref function with the secret's logical ID.

      Specified by:
      getSecretId in interface CfnSecretTargetAttachmentProps
    • getTargetId

      public final String getTargetId()
      Description copied from interface: CfnSecretTargetAttachmentProps
      The ID of the database or cluster.
      Specified by:
      getTargetId in interface CfnSecretTargetAttachmentProps
    • getTargetType

      public final String getTargetType()
      Description copied from interface: CfnSecretTargetAttachmentProps
      A string that defines the type of service or database associated with the secret.

      This value instructs Secrets Manager how to update the secret with the details of the service or database. This value must be one of the following:

      • AWS::RDS::DBInstance
      • AWS::RDS::DBCluster
      • AWS::Redshift::Cluster
      • AWS::DocDB::DBInstance
      • AWS::DocDB::DBCluster
      Specified by:
      getTargetType in interface CfnSecretTargetAttachmentProps
    • $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