Interface CfnSecretTargetAttachmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSecretTargetAttachmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:41.270Z")
@Stability(Stable)
public interface CfnSecretTargetAttachmentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSecretTargetAttachment
.
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.*; CfnSecretTargetAttachmentProps cfnSecretTargetAttachmentProps = CfnSecretTargetAttachmentProps.builder() .secretId("secretId") .targetId("targetId") .targetType("targetType") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSecretTargetAttachmentProps
static final class
An implementation forCfnSecretTargetAttachmentProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The ARN or name of the secret.The ID of the database or cluster.A string that defines the type of service or database associated with the secret.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSecretId
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.
-
getTargetId
The ID of the database or cluster. -
getTargetType
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
-
builder
-