@Generated(value="software.amazon.awssdk:codegen") public final class CreateKeySigningKeyRequest extends Route53Request implements ToCopyableBuilder<CreateKeySigningKeyRequest.Builder,CreateKeySigningKeyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateKeySigningKeyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateKeySigningKeyRequest.Builder |
builder() |
String |
callerReference()
A unique string that identifies the request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hostedZoneId()
The unique string (ID) used to identify a hosted zone.
|
String |
keyManagementServiceArn()
The Amazon resource name (ARN) for a customer managed customer master key (CMK) in AWS Key Management Service
(AWS KMS).
|
String |
name()
A string used to identify a key-signing key (KSK).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateKeySigningKeyRequest.Builder> |
serializableBuilderClass() |
String |
status()
A string specifying the initial status of the key-signing key (KSK).
|
CreateKeySigningKeyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String callerReference()
A unique string that identifies the request.
public final String hostedZoneId()
The unique string (ID) used to identify a hosted zone.
public final 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. To see an example of KeyManagementServiceArn that grants the correct permissions for
DNSSEC, scroll down to Example.
You must configure the customer managed CMK as follows:
Enabled
ECC_NIST_P256
Sign and verify
The key policy must give permission for the following actions:
DescribeKey
GetPublicKey
Sign
The key policy must also include the Amazon Route 53 service in the principal for your account. Specify the following:
"Service": "dnssec.route53.aws.amazonaws.com"
For more information about working with a customer managed CMK in AWS KMS, see AWS Key Management Service concepts.
KeyManagementServiceArn must be unique for each key-signing key (KSK)
in a single hosted zone. To see an example of KeyManagementServiceArn that grants the
correct permissions for DNSSEC, scroll down to Example.
You must configure the customer managed CMK as follows:
Enabled
ECC_NIST_P256
Sign and verify
The key policy must give permission for the following actions:
DescribeKey
GetPublicKey
Sign
The key policy must also include the Amazon Route 53 service in the principal for your account. Specify the following:
"Service": "dnssec.route53.aws.amazonaws.com"
For more information about working with a customer managed CMK in AWS KMS, see AWS Key Management Service concepts.
public final String 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.
Name can include numbers, letters, and
underscores (_). Name must be unique for each key-signing key in the same hosted zone.public final String status()
A string specifying the initial status of the key-signing key (KSK). You can set the value to ACTIVE
or INACTIVE.
ACTIVE or INACTIVE.public CreateKeySigningKeyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateKeySigningKeyRequest.Builder,CreateKeySigningKeyRequest>toBuilder in class Route53Requestpublic static CreateKeySigningKeyRequest.Builder builder()
public static Class<? extends CreateKeySigningKeyRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.