import * as pulumi from "@pulumi/pulumi"; export declare class GatewayEnrollmentToken extends pulumi.CustomResource { /** * Get an existing GatewayEnrollmentToken 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: GatewayEnrollmentTokenState, opts?: pulumi.CustomResourceOptions): GatewayEnrollmentToken; /** * Returns true if the given object is an instance of GatewayEnrollmentToken. 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 GatewayEnrollmentToken; /** * When the token expires. A token that has already been used is invalid before this. */ readonly expiresAt: pulumi.Output; /** * The ID of the gateway to mint the token for. The gateway must be configured with `tokenAuth`. */ readonly gatewayId: pulumi.Output; /** * Arbitrary values that force a new token when any of them changes. List whatever forces the machine that consumes the token to be rebuilt, for example the AMI ID and subnet of an EC2 instance. Nothing validates this list, so an input you leave out means the rebuilt machine boots with a token that was already consumed, stays offline, and shows no drift. */ readonly keepers: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The enrollment token. Single-use, valid for one hour, and stored in Terraform state in plaintext. */ readonly token: pulumi.Output; /** * Create a GatewayEnrollmentToken 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: GatewayEnrollmentTokenArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GatewayEnrollmentToken resources. */ export interface GatewayEnrollmentTokenState { /** * When the token expires. A token that has already been used is invalid before this. */ expiresAt?: pulumi.Input; /** * The ID of the gateway to mint the token for. The gateway must be configured with `tokenAuth`. */ gatewayId?: pulumi.Input; /** * Arbitrary values that force a new token when any of them changes. List whatever forces the machine that consumes the token to be rebuilt, for example the AMI ID and subnet of an EC2 instance. Nothing validates this list, so an input you leave out means the rebuilt machine boots with a token that was already consumed, stays offline, and shows no drift. */ keepers?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The enrollment token. Single-use, valid for one hour, and stored in Terraform state in plaintext. */ token?: pulumi.Input; } /** * The set of arguments for constructing a GatewayEnrollmentToken resource. */ export interface GatewayEnrollmentTokenArgs { /** * The ID of the gateway to mint the token for. The gateway must be configured with `tokenAuth`. */ gatewayId: pulumi.Input; /** * Arbitrary values that force a new token when any of them changes. List whatever forces the machine that consumes the token to be rebuilt, for example the AMI ID and subnet of an EC2 instance. Nothing validates this list, so an input you leave out means the rebuilt machine boots with a token that was already consumed, stays offline, and shows no drift. */ keepers?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=gatewayEnrollmentToken.d.ts.map