import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class Gateway extends pulumi.CustomResource { /** * Get an existing Gateway 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?: GatewayState, opts?: pulumi.CustomResourceOptions): Gateway; /** * Returns true if the given object is an instance of Gateway. 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 Gateway; /** * Authenticate the gateway with its AWS IAM identity. The machine re-authenticates on every start, so no secret is stored. At least one of `allowedPrincipalArns` or `allowedAccountIds` must be non-empty. */ readonly awsAuth: pulumi.Output; /** * Authenticate the gateway with its GCP identity. The machine re-authenticates on every start, so no secret is stored. At least one of `allowedServiceAccounts` or `allowedProjects` must be non-empty. */ readonly gcpAuth: pulumi.Output; /** * Authenticate the gateway with its Kubernetes service account token. The pod re-authenticates on every start, so no secret is stored. At least one of `allowedNamespaces` or `allowedServiceAccountNames` must be non-empty. */ readonly kubernetesAuth: pulumi.Output; /** * The name of the gateway. Unique within the organization. Renaming is an in-place update, so the gateway keeps its ID and anything referencing it keeps working. */ readonly name: pulumi.Output; /** * Authenticate the gateway with a one-time enrollment token. The token itself is minted by a separate `infisical.GatewayEnrollmentToken` resource. This block takes no arguments, because token auth has nothing to configure: write `tokenAuth = {}`. Prefer `awsAuth`, `gcpAuth` or `kubernetesAuth` where the platform can vouch for the machine, since those re-authenticate on every start and put no secret in state. */ readonly tokenAuth: pulumi.Output; /** * Create a Gateway 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?: GatewayArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Gateway resources. */ export interface GatewayState { /** * Authenticate the gateway with its AWS IAM identity. The machine re-authenticates on every start, so no secret is stored. At least one of `allowedPrincipalArns` or `allowedAccountIds` must be non-empty. */ awsAuth?: pulumi.Input; /** * Authenticate the gateway with its GCP identity. The machine re-authenticates on every start, so no secret is stored. At least one of `allowedServiceAccounts` or `allowedProjects` must be non-empty. */ gcpAuth?: pulumi.Input; /** * Authenticate the gateway with its Kubernetes service account token. The pod re-authenticates on every start, so no secret is stored. At least one of `allowedNamespaces` or `allowedServiceAccountNames` must be non-empty. */ kubernetesAuth?: pulumi.Input; /** * The name of the gateway. Unique within the organization. Renaming is an in-place update, so the gateway keeps its ID and anything referencing it keeps working. */ name?: pulumi.Input; /** * Authenticate the gateway with a one-time enrollment token. The token itself is minted by a separate `infisical.GatewayEnrollmentToken` resource. This block takes no arguments, because token auth has nothing to configure: write `tokenAuth = {}`. Prefer `awsAuth`, `gcpAuth` or `kubernetesAuth` where the platform can vouch for the machine, since those re-authenticate on every start and put no secret in state. */ tokenAuth?: pulumi.Input; } /** * The set of arguments for constructing a Gateway resource. */ export interface GatewayArgs { /** * Authenticate the gateway with its AWS IAM identity. The machine re-authenticates on every start, so no secret is stored. At least one of `allowedPrincipalArns` or `allowedAccountIds` must be non-empty. */ awsAuth?: pulumi.Input; /** * Authenticate the gateway with its GCP identity. The machine re-authenticates on every start, so no secret is stored. At least one of `allowedServiceAccounts` or `allowedProjects` must be non-empty. */ gcpAuth?: pulumi.Input; /** * Authenticate the gateway with its Kubernetes service account token. The pod re-authenticates on every start, so no secret is stored. At least one of `allowedNamespaces` or `allowedServiceAccountNames` must be non-empty. */ kubernetesAuth?: pulumi.Input; /** * The name of the gateway. Unique within the organization. Renaming is an in-place update, so the gateway keeps its ID and anything referencing it keeps working. */ name?: pulumi.Input; /** * Authenticate the gateway with a one-time enrollment token. The token itself is minted by a separate `infisical.GatewayEnrollmentToken` resource. This block takes no arguments, because token auth has nothing to configure: write `tokenAuth = {}`. Prefer `awsAuth`, `gcpAuth` or `kubernetesAuth` where the platform can vouch for the machine, since those re-authenticate on every start and put no secret in state. */ tokenAuth?: pulumi.Input; } //# sourceMappingURL=gateway.d.ts.map