@Stability(value=Stable) public static final class CfnSecretTargetAttachmentProps.Builder extends Object implements software.amazon.jsii.Builder<CfnSecretTargetAttachmentProps>
CfnSecretTargetAttachmentProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnSecretTargetAttachmentProps |
build()
Builds the configured instance.
|
CfnSecretTargetAttachmentProps.Builder |
secretId(String secretId)
Sets the value of
CfnSecretTargetAttachmentProps.getSecretId() |
CfnSecretTargetAttachmentProps.Builder |
targetId(String targetId)
Sets the value of
CfnSecretTargetAttachmentProps.getTargetId() |
CfnSecretTargetAttachmentProps.Builder |
targetType(String targetType)
Sets the value of
CfnSecretTargetAttachmentProps.getTargetType() |
@Stability(value=Stable) public CfnSecretTargetAttachmentProps.Builder secretId(String secretId)
CfnSecretTargetAttachmentProps.getSecretId()secretId - The ARN or name of the secret. This parameter is required.
To reference a secret also created in this template, use the see Ref function with the secret's logical ID.this@Stability(value=Stable) public CfnSecretTargetAttachmentProps.Builder targetId(String targetId)
CfnSecretTargetAttachmentProps.getTargetId()targetId - The ID of the database or cluster. This parameter is required.this@Stability(value=Stable) public CfnSecretTargetAttachmentProps.Builder targetType(String targetType)
CfnSecretTargetAttachmentProps.getTargetType()targetType - A string that defines the type of service or database associated with the secret. This parameter is required.
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:
this@Stability(value=Stable) public CfnSecretTargetAttachmentProps build()
build in interface software.amazon.jsii.Builder<CfnSecretTargetAttachmentProps>CfnSecretTargetAttachmentPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.