import * as pulumi from "@pulumi/pulumi"; /** * Generate a random password. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.secretsmanager.getRandomPassword({ * passwordLength: 50, * excludeNumbers: true, * }); * ``` */ export declare function getRandomPassword(args?: GetRandomPasswordArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRandomPassword. */ export interface GetRandomPasswordArgs { /** * String of the characters that you don't want in the password. */ excludeCharacters?: string; /** * Whether to exclude lowercase letters from the password. */ excludeLowercase?: boolean; /** * Whether to exclude numbers from the password. */ excludeNumbers?: boolean; /** * Whether to exclude the following punctuation characters from the password: ``! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ .`` */ excludePunctuation?: boolean; /** * Whether to exclude uppercase letters from the password. */ excludeUppercase?: boolean; /** * Whether to include the space character. */ includeSpace?: boolean; /** * Length of the password. */ passwordLength?: number; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; /** * Whether to include at least one upper and lowercase letter, one number, and one punctuation. */ requireEachIncludedType?: boolean; } /** * A collection of values returned by getRandomPassword. */ export interface GetRandomPasswordResult { readonly excludeCharacters?: string; readonly excludeLowercase?: boolean; readonly excludeNumbers?: boolean; readonly excludePunctuation?: boolean; readonly excludeUppercase?: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly includeSpace?: boolean; readonly passwordLength?: number; /** * Random password. */ readonly randomPassword: string; readonly region: string; readonly requireEachIncludedType?: boolean; } /** * Generate a random password. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.secretsmanager.getRandomPassword({ * passwordLength: 50, * excludeNumbers: true, * }); * ``` */ export declare function getRandomPasswordOutput(args?: GetRandomPasswordOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRandomPassword. */ export interface GetRandomPasswordOutputArgs { /** * String of the characters that you don't want in the password. */ excludeCharacters?: pulumi.Input; /** * Whether to exclude lowercase letters from the password. */ excludeLowercase?: pulumi.Input; /** * Whether to exclude numbers from the password. */ excludeNumbers?: pulumi.Input; /** * Whether to exclude the following punctuation characters from the password: ``! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ .`` */ excludePunctuation?: pulumi.Input; /** * Whether to exclude uppercase letters from the password. */ excludeUppercase?: pulumi.Input; /** * Whether to include the space character. */ includeSpace?: pulumi.Input; /** * Length of the password. */ passwordLength?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Whether to include at least one upper and lowercase letter, one number, and one punctuation. */ requireEachIncludedType?: pulumi.Input; } //# sourceMappingURL=getRandomPassword.d.ts.map