import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class ProjectIdentitySpecificPrivilege extends pulumi.CustomResource { /** * Get an existing ProjectIdentitySpecificPrivilege 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?: ProjectIdentitySpecificPrivilegeState, opts?: pulumi.CustomResourceOptions): ProjectIdentitySpecificPrivilege; /** * Returns true if the given object is an instance of ProjectIdentitySpecificPrivilege. 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 ProjectIdentitySpecificPrivilege; /** * The identity id to create identity specific privilege */ readonly identityId: pulumi.Output; /** * Flag to indicate the assigned specific privilege is temporary or not. When isTemporary is true fields temporary_mode, temporaryRange and temporaryAccessStartTime is required. */ readonly isTemporary: pulumi.Output; /** * (DEPRECATED, USE permissions_v2. Refer to the migration guide in https://infisical.com/docs/internals/permissions#migrating-from-permission-v1-to-permission-v2) The permissions assigned to the project identity specific privilege */ readonly permission: pulumi.Output; /** * The permissions assigned to the project identity specific privilege. Refer to the documentation here https://infisical.com/docs/internals/permissions/project-permissions for its usage. */ readonly permissionsV2s: pulumi.Output; /** * The slug of the project to create identity specific privilege */ readonly projectSlug: pulumi.Output; /** * The slug for the new privilege */ readonly slug: pulumi.Output; /** * ISO time for which temporary access will end. Computed based on temporaryRange and temporary_access_start_time */ readonly temporaryAccessEndTime: pulumi.Output; /** * ISO time for which temporary access should begin. The current time is used by default. */ readonly temporaryAccessStartTime: pulumi.Output; /** * Type of temporary access given. Types: relative. Default: relative */ readonly temporaryMode: pulumi.Output; /** * TTL for the temporary time. Eg: 1m, 1h, 1d. Default: 1h */ readonly temporaryRange: pulumi.Output; /** * Create a ProjectIdentitySpecificPrivilege 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: ProjectIdentitySpecificPrivilegeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ProjectIdentitySpecificPrivilege resources. */ export interface ProjectIdentitySpecificPrivilegeState { /** * The identity id to create identity specific privilege */ identityId?: pulumi.Input; /** * Flag to indicate the assigned specific privilege is temporary or not. When isTemporary is true fields temporary_mode, temporaryRange and temporaryAccessStartTime is required. */ isTemporary?: pulumi.Input; /** * (DEPRECATED, USE permissions_v2. Refer to the migration guide in https://infisical.com/docs/internals/permissions#migrating-from-permission-v1-to-permission-v2) The permissions assigned to the project identity specific privilege */ permission?: pulumi.Input; /** * The permissions assigned to the project identity specific privilege. Refer to the documentation here https://infisical.com/docs/internals/permissions/project-permissions for its usage. */ permissionsV2s?: pulumi.Input[] | undefined>; /** * The slug of the project to create identity specific privilege */ projectSlug?: pulumi.Input; /** * The slug for the new privilege */ slug?: pulumi.Input; /** * ISO time for which temporary access will end. Computed based on temporaryRange and temporary_access_start_time */ temporaryAccessEndTime?: pulumi.Input; /** * ISO time for which temporary access should begin. The current time is used by default. */ temporaryAccessStartTime?: pulumi.Input; /** * Type of temporary access given. Types: relative. Default: relative */ temporaryMode?: pulumi.Input; /** * TTL for the temporary time. Eg: 1m, 1h, 1d. Default: 1h */ temporaryRange?: pulumi.Input; } /** * The set of arguments for constructing a ProjectIdentitySpecificPrivilege resource. */ export interface ProjectIdentitySpecificPrivilegeArgs { /** * The identity id to create identity specific privilege */ identityId: pulumi.Input; /** * Flag to indicate the assigned specific privilege is temporary or not. When isTemporary is true fields temporary_mode, temporaryRange and temporaryAccessStartTime is required. */ isTemporary?: pulumi.Input; /** * (DEPRECATED, USE permissions_v2. Refer to the migration guide in https://infisical.com/docs/internals/permissions#migrating-from-permission-v1-to-permission-v2) The permissions assigned to the project identity specific privilege */ permission?: pulumi.Input; /** * The permissions assigned to the project identity specific privilege. Refer to the documentation here https://infisical.com/docs/internals/permissions/project-permissions for its usage. */ permissionsV2s?: pulumi.Input[] | undefined>; /** * The slug of the project to create identity specific privilege */ projectSlug: pulumi.Input; /** * The slug for the new privilege */ slug?: pulumi.Input; /** * ISO time for which temporary access will end. Computed based on temporaryRange and temporary_access_start_time */ temporaryAccessEndTime?: pulumi.Input; /** * ISO time for which temporary access should begin. The current time is used by default. */ temporaryAccessStartTime?: pulumi.Input; /** * Type of temporary access given. Types: relative. Default: relative */ temporaryMode?: pulumi.Input; /** * TTL for the temporary time. Eg: 1m, 1h, 1d. Default: 1h */ temporaryRange?: pulumi.Input; } //# sourceMappingURL=projectIdentitySpecificPrivilege.d.ts.map