import * as pulumi from "@pulumi/pulumi"; /** * After you create a Cloud Identity Center user, you need to grant the user login access to each account. * When users require access to Volcano Engine cloud resources with permissions that share abstractable characteristics, such as network operations permissions or security management permissions, you can predefine permission sets in the Cloud Identity Center as templates. You can achieve centralized authorization based on these permission sets. The Cloud Identity Center will synchronize and distribute permission sets to each account, reducing enterprise permission management costs. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const cloudIdentityPermissionSetAssignmentDemo = new volcenginecc.cloudidentity.PermissionSetAssignment("CloudIdentityPermissionSetAssignmentDemo", { * permissionSetId: "897569*****", * principalId: "899471*****", * principalType: "User", * targetId: "21036*****", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:cloudidentity/permissionSetAssignment:PermissionSetAssignment example "target_id|principal_id|permission_set_id" * ``` */ export declare class PermissionSetAssignment extends pulumi.CustomResource { /** * Get an existing PermissionSetAssignment 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?: PermissionSetAssignmentState, opts?: pulumi.CustomResourceOptions): PermissionSetAssignment; /** * Returns true if the given object is an instance of PermissionSetAssignment. 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 PermissionSetAssignment; /** * Authorization creation time */ readonly createdTime: pulumi.Output; /** * Permission set ID */ readonly permissionSetId: pulumi.Output; /** * Permission set name */ readonly permissionSetName: pulumi.Output; /** * Cloud Identity Center object ID */ readonly principalId: pulumi.Output; /** * Cloud Identity Center object name */ readonly principalName: pulumi.Output; /** * Cloud Identity Center object type: User or Group */ readonly principalType: pulumi.Output; /** * Authorized account ID */ readonly targetId: pulumi.Output; /** * Authorized account name */ readonly targetName: pulumi.Output; /** * Create a PermissionSetAssignment 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: PermissionSetAssignmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PermissionSetAssignment resources. */ export interface PermissionSetAssignmentState { /** * Authorization creation time */ createdTime?: pulumi.Input; /** * Permission set ID */ permissionSetId?: pulumi.Input; /** * Permission set name */ permissionSetName?: pulumi.Input; /** * Cloud Identity Center object ID */ principalId?: pulumi.Input; /** * Cloud Identity Center object name */ principalName?: pulumi.Input; /** * Cloud Identity Center object type: User or Group */ principalType?: pulumi.Input; /** * Authorized account ID */ targetId?: pulumi.Input; /** * Authorized account name */ targetName?: pulumi.Input; } /** * The set of arguments for constructing a PermissionSetAssignment resource. */ export interface PermissionSetAssignmentArgs { /** * Permission set ID */ permissionSetId: pulumi.Input; /** * Cloud Identity Center object ID */ principalId: pulumi.Input; /** * Cloud Identity Center object type: User or Group */ principalType: pulumi.Input; /** * Authorized account ID */ targetId: pulumi.Input; }