# KeySigningKeyAttributes

The attributes of a key signing key.

- Source: [`aws-route53/lib/key-signing-key.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-route53/lib/key-signing-key.ts#L87)
- Type last changed: v2.138.0 · 18 Apr 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53 as route53 } from 'aws-cdk-lib';

declare const hostedZone: route53.HostedZone;
const keySigningKeyAttributes: route53.KeySigningKeyAttributes = {
  hostedZone: hostedZone,
  keySigningKeyName: 'keySigningKeyName',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_route53 as route53

# hosted_zone: route53.HostedZone

key_signing_key_attributes = route53.KeySigningKeyAttributes(
    hosted_zone=hosted_zone,
    key_signing_key_name="keySigningKeyName"
)
```

Java:

```java
// 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.*;

HostedZone hostedZone;

KeySigningKeyAttributes keySigningKeyAttributes = KeySigningKeyAttributes.builder()
        .hostedZone(hostedZone)
        .keySigningKeyName("keySigningKeyName")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53;

HostedZone hostedZone;

var keySigningKeyAttributes = new KeySigningKeyAttributes {
    HostedZone = hostedZone,
    KeySigningKeyName = "keySigningKeyName"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var hostedZone HostedZone

keySigningKeyAttributes := &KeySigningKeyAttributes{
	HostedZone: hostedZone,
	KeySigningKeyName: jsii.String("keySigningKeyName"),
}
```

## Properties

- `hostedZone`: [IHostedZone](/cdk/api/v2/docs/aws-cdk-lib.aws_route53.IHostedZone.html) (required) — The hosted zone that the key signing key signs.

- `keySigningKeyName`: string (required) — The name of the key signing key.
