Class KeySigningKey.Builder
java.lang.Object
software.amazon.awscdk.services.route53.KeySigningKey.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<KeySigningKey>
- Enclosing class:
KeySigningKey
@Stability(Stable)
public static final class KeySigningKey.Builder
extends Object
implements software.amazon.jsii.Builder<KeySigningKey>
A fluent builder for
KeySigningKey.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static KeySigningKey.BuilderhostedZone(IHostedZone hostedZone) The hosted zone that this key will be used to sign.keySigningKeyName(String keySigningKeyName) The name for the key signing key.The customer-managed KMS key that that will be used to sign the records.status(KeySigningKeyStatus status) The status of the key signing key.
-
Method Details
-
create
@Stability(Stable) public static KeySigningKey.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
KeySigningKey.Builder.
-
hostedZone
The hosted zone that this key will be used to sign.- Parameters:
hostedZone- The hosted zone that this key will be used to sign. This parameter is required.- Returns:
this
-
kmsKey
The customer-managed KMS key that that will be used to sign the records.The KMS Key must be unique for each KSK within a hosted zone. Additionally, the KMS key must be an asymetric customer-managed key using the ECC_NIST_P256 algorithm.
- Parameters:
kmsKey- The customer-managed KMS key that that will be used to sign the records. This parameter is required.- Returns:
this- See Also:
-
keySigningKeyName
The name for the key signing key.This name must be unique within a hosted zone.
Default: an autogenerated name
- Parameters:
keySigningKeyName- The name for the key signing key. This parameter is required.- Returns:
this
-
status
The status of the key signing key.Default: ACTIVE
- Parameters:
status- The status of the key signing key. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KeySigningKey>- Returns:
- a newly built instance of
KeySigningKey.
-