Class CfnKeySigningKeyMixinProps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • hostedZoneId

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

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

      @Stability(Stable) public CfnKeySigningKeyMixinProps.Builder status(String status)
      Parameters:
      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.
      Returns:
      this
    • build

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