@formalco/pulumi
Version:
A Pulumi package for creating and managing Formal resources.
96 lines (95 loc) • 3.59 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* This resource creates assigns a Native User to a Formal Identity.
*/
export declare class NativeUserLink extends pulumi.CustomResource {
/**
* Get an existing NativeUserLink 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<pulumi.ID>, state?: NativeUserLinkState, opts?: pulumi.CustomResourceOptions): NativeUserLink;
/**
* Returns true if the given object is an instance of NativeUserLink. 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 NativeUserLink;
/**
* The Formal ID for the User, Group, or Resource Hostname to be linked.
*/
readonly formalIdentityId: pulumi.Output<string>;
/**
* The type of Formal Identity to be linked. Accepted values are `user`, `group`, and `resourceHostname`.
*/
readonly formalIdentityType: pulumi.Output<string>;
/**
* The Native User ID of the Native User.
*/
readonly nativeUserId: pulumi.Output<string>;
/**
* The Resource ID of the Native User.
*/
readonly resourceId: pulumi.Output<string>;
/**
* If set to true, this Native User link cannot be deleted.
*/
readonly terminationProtection: pulumi.Output<boolean | undefined>;
/**
* Create a NativeUserLink 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: NativeUserLinkArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering NativeUserLink resources.
*/
export interface NativeUserLinkState {
/**
* The Formal ID for the User, Group, or Resource Hostname to be linked.
*/
formalIdentityId?: pulumi.Input<string>;
/**
* The type of Formal Identity to be linked. Accepted values are `user`, `group`, and `resourceHostname`.
*/
formalIdentityType?: pulumi.Input<string>;
/**
* The Native User ID of the Native User.
*/
nativeUserId?: pulumi.Input<string>;
/**
* The Resource ID of the Native User.
*/
resourceId?: pulumi.Input<string>;
/**
* If set to true, this Native User link cannot be deleted.
*/
terminationProtection?: pulumi.Input<boolean>;
}
/**
* The set of arguments for constructing a NativeUserLink resource.
*/
export interface NativeUserLinkArgs {
/**
* The Formal ID for the User, Group, or Resource Hostname to be linked.
*/
formalIdentityId: pulumi.Input<string>;
/**
* The type of Formal Identity to be linked. Accepted values are `user`, `group`, and `resourceHostname`.
*/
formalIdentityType: pulumi.Input<string>;
/**
* The Native User ID of the Native User.
*/
nativeUserId: pulumi.Input<string>;
/**
* If set to true, this Native User link cannot be deleted.
*/
terminationProtection?: pulumi.Input<boolean>;
}