@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-14T16:25:30.221Z")
public interface CfnSecretTargetAttachmentProps
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnSecretTargetAttachmentProps.Builder
A builder for
CfnSecretTargetAttachmentProps |
static class |
CfnSecretTargetAttachmentProps.Jsii$Proxy
An implementation for
CfnSecretTargetAttachmentProps |
Modifier and Type | Method and Description |
---|---|
static CfnSecretTargetAttachmentProps.Builder |
builder() |
java.lang.String |
getSecretId()
The ARN or name of the secret.
|
java.lang.String |
getTargetId()
The ID of the database or cluster.
|
java.lang.String |
getTargetType()
A string that defines the type of service or database associated with the secret.
|
java.lang.String getSecretId()
To reference a secret also created in this template, use the see Ref function with the secret's logical ID.
java.lang.String getTargetId()
java.lang.String getTargetType()
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:
static CfnSecretTargetAttachmentProps.Builder builder()