Enum AttachmentTargetType

java.lang.Object
java.lang.Enum<AttachmentTargetType>
software.amazon.awscdk.services.secretsmanager.AttachmentTargetType
All Implemented Interfaces:
Serializable, Comparable<AttachmentTargetType>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:41.246Z") @Stability(Stable) public enum AttachmentTargetType extends Enum<AttachmentTargetType>
The type of service or database that's being associated with the secret.
  • Enum Constant Details

    • INSTANCE

      @Stability(Deprecated) @Deprecated public static final AttachmentTargetType INSTANCE
      Deprecated.
      use RDS_DB_INSTANCE instead
      (deprecated) A database instance.

    • CLUSTER

      @Stability(Deprecated) @Deprecated public static final AttachmentTargetType CLUSTER
      Deprecated.
      use RDS_DB_CLUSTER instead
      (deprecated) A database cluster.

    • RDS_DB_INSTANCE

      @Stability(Stable) public static final AttachmentTargetType RDS_DB_INSTANCE
      AWS::RDS::DBInstance.
    • RDS_DB_CLUSTER

      @Stability(Stable) public static final AttachmentTargetType RDS_DB_CLUSTER
      AWS::RDS::DBCluster.
    • RDS_DB_PROXY

      @Stability(Stable) public static final AttachmentTargetType RDS_DB_PROXY
      AWS::RDS::DBProxy.
    • REDSHIFT_CLUSTER

      @Stability(Stable) public static final AttachmentTargetType REDSHIFT_CLUSTER
      AWS::Redshift::Cluster.
    • DOCDB_DB_INSTANCE

      @Stability(Stable) public static final AttachmentTargetType DOCDB_DB_INSTANCE
      AWS::DocDB::DBInstance.
    • DOCDB_DB_CLUSTER

      @Stability(Stable) public static final AttachmentTargetType DOCDB_DB_CLUSTER
      AWS::DocDB::DBCluster.
  • Method Details

    • values

      public static AttachmentTargetType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AttachmentTargetType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null