@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:43.732Z") @Stability(value=Stable) public class CfnKeySigningKey extends CfnResource implements IInspectable
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();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnKeySigningKey.Builder
A fluent builder for
CfnKeySigningKey. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnKeySigningKey(Construct scope,
String id,
CfnKeySigningKeyProps props)
Create a new `AWS::Route53::KeySigningKey`.
|
protected |
CfnKeySigningKey(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnKeySigningKey(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getCfnProperties() |
String |
getHostedZoneId()
The unique string (ID) that is used to identify a hosted zone.
|
String |
getKeyManagementServiceArn()
The Amazon resource name (ARN) for a customer managed customer master key (CMK) in AWS Key Management Service ( AWS KMS ).
|
String |
getName()
A string used to identify a key-signing key (KSK).
|
String |
getStatus()
A string that represents the current key-signing key (KSK) status.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setHostedZoneId(String value)
The unique string (ID) that is used to identify a hosted zone.
|
void |
setKeyManagementServiceArn(String value)
The Amazon resource name (ARN) for a customer managed customer master key (CMK) in AWS Key Management Service ( AWS KMS ).
|
void |
setName(String value)
A string used to identify a key-signing key (KSK).
|
void |
setStatus(String value)
A string that represents the current key-signing key (KSK) status.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnKeySigningKey(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnKeySigningKey(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnKeySigningKey(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnKeySigningKeyProps props)
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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getHostedZoneId()
For example: Z00001111A1ABCaaABC11 .
@Stability(value=Stable)
public void setHostedZoneId(@NotNull
String value)
For example: Z00001111A1ABCaaABC11 .
@Stability(value=Stable) @NotNull public String getKeyManagementServiceArn()
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 .
@Stability(value=Stable)
public void setKeyManagementServiceArn(@NotNull
String value)
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 .
@Stability(value=Stable) @NotNull public String getName()
Name can include numbers, letters, and underscores (_). Name must be unique for each key-signing key in the same hosted zone.
@Stability(value=Stable)
public void setName(@NotNull
String value)
Name can include numbers, letters, and underscores (_). Name must be unique for each key-signing key in the same hosted zone.
@Stability(value=Stable) @NotNull public String getStatus()
Status can have one of the following values:
@Stability(value=Stable)
public void setStatus(@NotNull
String value)
Status can have one of the following values:
Copyright © 2022. All rights reserved.