import * as core from "@terrascript/core"; export interface DsRandomPasswordArgs { /** * (Optional) A string of the characters that you don't want in the password. */ excludeCharacters?: string | core.StringOut; /** * (Optional) Specifies whether to exclude lowercase letters from the password. */ excludeLowercase?: boolean | core.BooleanOut; /** * (Optional) Specifies whether to exclude numbers from the password. */ excludeNumbers?: boolean | core.BooleanOut; /** * (Optional) Specifies whether to exclude the following punctuation characters from the password: ``! * " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ .`` */ excludePunctuation?: boolean | core.BooleanOut; /** * (Optional) Specifies whether to exclude uppercase letters from the password. */ excludeUppercase?: boolean | core.BooleanOut; /** * (Optional) Specifies whether to include the space character. */ includeSpace?: boolean | core.BooleanOut; /** * (Optional) The length of the password. */ passwordLength?: number | core.NumberOut; /** * The random password. */ randomPassword?: string | core.StringOut; /** * (Optional) Specifies whether to include at least one upper and lowercase letter, one number, and one * punctuation. */ requireEachIncludedType?: boolean | core.BooleanOut; } export class DsRandomPassword extends core.Data { /** * (Optional) A string of the characters that you don't want in the password. */ @core.attr(String) public excludeCharacters?: string | core.StringOut; /** * (Optional) Specifies whether to exclude lowercase letters from the password. */ @core.attr(Boolean) public excludeLowercase?: boolean | core.BooleanOut; /** * (Optional) Specifies whether to exclude numbers from the password. */ @core.attr(Boolean) public excludeNumbers?: boolean | core.BooleanOut; /** * (Optional) Specifies whether to exclude the following punctuation characters from the password: ``! * " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ .`` */ @core.attr(Boolean) public excludePunctuation?: boolean | core.BooleanOut; /** * (Optional) Specifies whether to exclude uppercase letters from the password. */ @core.attr(Boolean) public excludeUppercase?: boolean | core.BooleanOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) Specifies whether to include the space character. */ @core.attr(Boolean) public includeSpace?: boolean | core.BooleanOut; /** * (Optional) The length of the password. */ @core.attr(Number) public passwordLength?: number | core.NumberOut; /** * The random password. */ @core.attr(String, { computed: true }) public randomPassword?: string | core.StringOut; /** * (Optional) Specifies whether to include at least one upper and lowercase letter, one number, and one * punctuation. */ @core.attr(Boolean) public requireEachIncludedType?: boolean | core.BooleanOut; constructor(name: string, args?: DsRandomPasswordArgs) { super(name, "aws_secretsmanager_random_password", args); } public override getNamespace(): string { return "aws_secretsmanager"; } }