@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.030Z") @Stability(value=Stable) public interface CfnSecretTargetAttachmentProps extends software.amazon.jsii.JsiiSerializable
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() |
String |
getSecretId()
The ARN or name of the secret.
|
String |
getTargetId()
The ID of the database or cluster.
|
String |
getTargetType()
A string that defines the type of service or database associated with the secret.
|
@Stability(value=Stable) @NotNull String getSecretId()
To reference a secret also created in this template, use the see Ref function with the secret's logical ID.
@Stability(value=Stable) @NotNull String getTargetId()
@Stability(value=Stable) @NotNull 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:
@Stability(value=Stable) static CfnSecretTargetAttachmentProps.Builder builder()
Copyright © 2022. All rights reserved.