Class CfnSecretTargetAttachmentProps.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class CfnSecretTargetAttachmentProps.Jsii$Proxy extends implements CfnSecretTargetAttachmentProps
An implementation for CfnSecretTargetAttachmentProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy( objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      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
    • equals

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

      public final int hashCode()
      hashCode in class Object