UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

67 lines (66 loc) 3.16 kB
import * as pulumi from "@pulumi/pulumi"; import * as enums from "../types/enums"; /** * Represents a key signing key (KSK) associated with a hosted zone. You can only have two KSKs per hosted zone. */ export declare class KeySigningKey extends pulumi.CustomResource { /** * Get an existing KeySigningKey resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): KeySigningKey; /** * Returns true if the given object is an instance of KeySigningKey. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is KeySigningKey; /** * The unique string (ID) used to identify a hosted zone. */ readonly hostedZoneId: pulumi.Output<string>; /** * The Amazon resource name (ARN) for a customer managed key (CMK) in AWS Key Management Service (KMS). The KeyManagementServiceArn must be unique for each key signing key (KSK) in a single hosted zone. */ readonly keyManagementServiceArn: pulumi.Output<string>; /** * An alphanumeric string used to identify a key signing key (KSK). Name must be unique for each key signing key in the same hosted zone. */ readonly name: pulumi.Output<string>; /** * A string specifying the initial status of the key signing key (KSK). You can set the value to ACTIVE or INACTIVE. */ readonly status: pulumi.Output<enums.route53.KeySigningKeyStatus>; /** * Create a KeySigningKey resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: KeySigningKeyArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a KeySigningKey resource. */ export interface KeySigningKeyArgs { /** * The unique string (ID) used to identify a hosted zone. */ hostedZoneId: pulumi.Input<string>; /** * The Amazon resource name (ARN) for a customer managed key (CMK) in AWS Key Management Service (KMS). The KeyManagementServiceArn must be unique for each key signing key (KSK) in a single hosted zone. */ keyManagementServiceArn: pulumi.Input<string>; /** * An alphanumeric string used to identify a key signing key (KSK). Name must be unique for each key signing key in the same hosted zone. */ name?: pulumi.Input<string>; /** * A string specifying the initial status of the key signing key (KSK). You can set the value to ACTIVE or INACTIVE. */ status: pulumi.Input<enums.route53.KeySigningKeyStatus>; }