Class CfnKeySigningKey.Builder
java.lang.Object
software.amazon.awscdk.services.route53.CfnKeySigningKey.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKeySigningKey>
- Enclosing class:
CfnKeySigningKey
@Stability(Stable)
public static final class CfnKeySigningKey.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKeySigningKey>
A fluent builder for
CfnKeySigningKey
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnKeySigningKey.Builder
hostedZoneId
(String hostedZoneId) The unique string (ID) that is used to identify a hosted zone.keyManagementServiceArn
(String keyManagementServiceArn) The Amazon resource name (ARN) for a customer managed customer master key (CMK) in AWS Key Management Service ( AWS KMS ).A string used to identify a key-signing key (KSK).A string that represents the current key-signing key (KSK) status.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnKeySigningKey.Builder
.
-
hostedZoneId
The unique string (ID) that is used to identify a hosted zone.For example:
Z00001111A1ABCaaABC11
.- Parameters:
hostedZoneId
- The unique string (ID) that is used to identify a hosted zone. This parameter is required.- Returns:
this
-
keyManagementServiceArn
@Stability(Stable) public CfnKeySigningKey.Builder keyManagementServiceArn(String keyManagementServiceArn) The Amazon resource name (ARN) for a customer managed customer master key (CMK) in AWS Key Management Service ( AWS KMS ).The
KeyManagementServiceArn
must be unique for each key-signing key (KSK) in a single hosted zone. For example:arn:aws:kms:us-east-1:111122223333:key/111a2222-a11b-1ab1-2ab2-1ab21a2b3a111
.- Parameters:
keyManagementServiceArn
- The Amazon resource name (ARN) for a customer managed customer master key (CMK) in AWS Key Management Service ( AWS KMS ). This parameter is required.- Returns:
this
-
name
A string used to identify a key-signing key (KSK).Name
can include numbers, letters, and underscores (_).Name
must be unique for each key-signing key in the same hosted zone.- Parameters:
name
- A string used to identify a key-signing key (KSK). This parameter is required.- Returns:
this
-
status
A string that represents the current key-signing key (KSK) status.Status can have one of the following values:
- ACTIVE - The KSK is being used for signing.
- INACTIVE - The KSK is not being used for signing.
- DELETING - The KSK is in the process of being deleted.
- ACTION_NEEDED - There is a problem with the KSK that requires you to take action to resolve. For example, the customer managed key might have been deleted, or the permissions for the customer managed key might have been changed.
- INTERNAL_FAILURE - There was an error during a request. Before you can continue to work with DNSSEC signing, including actions that involve this KSK, you must correct the problem. For example, you may need to activate or deactivate the KSK.
- Parameters:
status
- A string that represents the current key-signing key (KSK) status. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnKeySigningKey>
- Returns:
- a newly built instance of
CfnKeySigningKey
.
-