import * as core from "@terrascript/core"; export interface KeyPairArgs extends core.ResourceArgs { /** * (Optional) The name for the key pair. If neither `key_name` nor `key_name_prefix` is provided, Terra * form will create a unique key name using the prefix `terraform-`. */ keyName?: string | core.StringOut; /** * (Optional) Creates a unique name beginning with the specified prefix. Conflicts with `key_name`. If * neither `key_name` nor `key_name_prefix` is provided, Terraform will create a unique key name using * the prefix `terraform-`. */ keyNamePrefix?: string | core.StringOut; /** * (Required) The public key material. */ publicKey: string | core.StringOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export declare class KeyPair extends core.Resource { /** * The key pair ARN. */ arn: string | core.StringOut; /** * The MD5 public key fingerprint as specified in section 4 of RFC 4716. */ fingerprint: string | core.StringOut; /** * The key pair name. */ id: string | core.StringOut; /** * (Optional) The name for the key pair. If neither `key_name` nor `key_name_prefix` is provided, Terra * form will create a unique key name using the prefix `terraform-`. */ keyName?: string | core.StringOut; /** * (Optional) Creates a unique name beginning with the specified prefix. Conflicts with `key_name`. If * neither `key_name` nor `key_name_prefix` is provided, Terraform will create a unique key name using * the prefix `terraform-`. */ keyNamePrefix?: string | core.StringOut; /** * The key pair ID. */ keyPairId: string | core.StringOut; /** * The type of key pair. */ keyType: string | core.StringOut; /** * (Required) The public key material. */ publicKey: string | core.StringOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: KeyPairArgs); getNamespace(): string; } //# sourceMappingURL=key_pair.d.ts.map