Class CfnKeySigningKey

java.lang.Object
software.amazon.jsii.JsiiObject
All Implemented Interfaces:
IConstruct, IDependable, IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:42.935Z") @Stability(Stable) public class CfnKeySigningKey extends CfnResource implements IInspectable
A CloudFormation AWS::Route53::KeySigningKey.

The AWS::Route53::KeySigningKey resource creates a new key-signing key (KSK) in a hosted zone. The hosted zone ID is passed as a parameter in the KSK properties. You can specify the properties of this KSK using the Name , Status , and KeyManagementServiceArn properties of the resource.

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.route53.*;
 CfnKeySigningKey cfnKeySigningKey = CfnKeySigningKey.Builder.create(this, "MyCfnKeySigningKey")
         .hostedZoneId("hostedZoneId")
         .keyManagementServiceArn("keyManagementServiceArn")
         .name("name")
         .status("status")
         .build();
 
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnKeySigningKey

      protected CfnKeySigningKey(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnKeySigningKey

      protected CfnKeySigningKey(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnKeySigningKey

      @Stability(Stable) public CfnKeySigningKey(@NotNull Construct scope, @NotNull String id, @NotNull CfnKeySigningKeyProps props)
      Create a new AWS::Route53::KeySigningKey.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      props -
      • resource properties.
      This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector -
      • tree inspector to collect and process attributes.
      This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getHostedZoneId

      @Stability(Stable) @NotNull public String getHostedZoneId()
      The unique string (ID) that is used to identify a hosted zone.

      For example: Z00001111A1ABCaaABC11 .

    • setHostedZoneId

      @Stability(Stable) public void setHostedZoneId(@NotNull String value)
      The unique string (ID) that is used to identify a hosted zone.

      For example: Z00001111A1ABCaaABC11 .

    • getKeyManagementServiceArn

      @Stability(Stable) @NotNull public String getKeyManagementServiceArn()
      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 .

    • setKeyManagementServiceArn

      @Stability(Stable) public void setKeyManagementServiceArn(@NotNull String value)
      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 .

    • getName

      @Stability(Stable) @NotNull public String getName()
      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.

    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      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.

    • getStatus

      @Stability(Stable) @NotNull public String getStatus()
      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.
    • setStatus

      @Stability(Stable) public void setStatus(@NotNull String value)
      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.