Class CfnKeySigningKeyProps.Builder

java.lang.Object
software.amazon.awscdk.services.route53.CfnKeySigningKeyProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKeySigningKeyProps>
Enclosing interface:
CfnKeySigningKeyProps

@Stability(Stable) public static final class CfnKeySigningKeyProps.Builder extends Object implements software.amazon.jsii.Builder<CfnKeySigningKeyProps>
A builder for CfnKeySigningKeyProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • hostedZoneId

      @Stability(Stable) public CfnKeySigningKeyProps.Builder hostedZoneId(String hostedZoneId)
      Parameters:
      hostedZoneId - The unique string (ID) that is used to identify a hosted zone. This parameter is required. For example: Z00001111A1ABCaaABC11 .
      Returns:
      this
    • keyManagementServiceArn

      @Stability(Stable) public CfnKeySigningKeyProps.Builder keyManagementServiceArn(String keyManagementServiceArn)
      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. 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 .
      Returns:
      this
    • name

      @Stability(Stable) public CfnKeySigningKeyProps.Builder name(String name)
      Parameters:
      name - A string used to identify a key-signing key (KSK). This parameter is required. Name can include numbers, letters, and underscores (_). Name must be unique for each key-signing key in the same hosted zone.
      Returns:
      this
    • status

      @Stability(Stable) public CfnKeySigningKeyProps.Builder status(String status)
      Parameters:
      status - A string that represents the current key-signing key (KSK) status. This parameter is required. 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.
      Returns:
      this
    • build

      @Stability(Stable) public CfnKeySigningKeyProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnKeySigningKeyProps>
      Returns:
      a new instance of CfnKeySigningKeyProps
      Throws:
      NullPointerException - if any required attribute was not provided