UNPKG

@pierskarsenbarg/sdm

Version:

A Pulumi package for creating and managing StrongDM cloud resources.

106 lines (105 loc) 2.87 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * IdentityAliases define the username to be used for a specific account * when connecting to a remote resource using that identity set. * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sdm from "@pierskarsenbarg/sdm"; * * const user = sdm.getIdentityAlias({ * id: "i-0900909", * username: "user", * }); * ``` */ export declare function getIdentityAlias(args?: GetIdentityAliasArgs, opts?: pulumi.InvokeOptions): Promise<GetIdentityAliasResult>; /** * A collection of arguments for invoking getIdentityAlias. */ export interface GetIdentityAliasArgs { /** * The account for this identity alias. */ accountId?: string; /** * Unique identifier of the IdentityAlias. */ id?: string; /** * The identity set. */ identitySetId?: string; /** * The username to be used as the identity alias for this account. */ username?: string; } /** * A collection of values returned by getIdentityAlias. */ export interface GetIdentityAliasResult { /** * The account for this identity alias. */ readonly accountId?: string; /** * Unique identifier of the IdentityAlias. */ readonly id?: string; /** * A list where each element has the following attributes: */ readonly identityAliases: outputs.GetIdentityAliasIdentityAlias[]; /** * The identity set. */ readonly identitySetId?: string; /** * a list of strings of ids of data sources that match the given arguments. */ readonly ids: string[]; /** * The username to be used as the identity alias for this account. */ readonly username?: string; } /** * IdentityAliases define the username to be used for a specific account * when connecting to a remote resource using that identity set. * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sdm from "@pierskarsenbarg/sdm"; * * const user = sdm.getIdentityAlias({ * id: "i-0900909", * username: "user", * }); * ``` */ export declare function getIdentityAliasOutput(args?: GetIdentityAliasOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIdentityAliasResult>; /** * A collection of arguments for invoking getIdentityAlias. */ export interface GetIdentityAliasOutputArgs { /** * The account for this identity alias. */ accountId?: pulumi.Input<string>; /** * Unique identifier of the IdentityAlias. */ id?: pulumi.Input<string>; /** * The identity set. */ identitySetId?: pulumi.Input<string>; /** * The username to be used as the identity alias for this account. */ username?: pulumi.Input<string>; }