import * as core from "@terrascript/core"; export interface AuthenticationModeArgs extends core.SchemaArgs { passwordCount: number | core.NumberOut; type: string | core.StringOut; } export class AuthenticationMode extends core.Schema { @core.attr(Number, { computed: true }) public passwordCount!: number | core.NumberOut; @core.attr(String, { computed: true }) public type!: string | core.StringOut; } export interface DsUserArgs { /** * A map of tags assigned to the subnet group. */ tags?: core.Map | core.MapOut; /** * (Required) Name of the user. */ userName: string | core.StringOut; } export class DsUser extends core.Data { /** * The access permissions string used for this user. */ @core.attr(String, { computed: true }) public accessString!: string | core.StringOut; /** * ARN of the user. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * Denotes the user's authentication properties. */ @core.attr(AuthenticationMode, { computed: true, kind: "array" }) public authenticationMode!: | core.Array | core.ArrayOut; /** * Name of the user. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The minimum engine version supported for the user. */ @core.attr(String, { computed: true }) public minimumEngineVersion!: string | core.StringOut; /** * A map of tags assigned to the subnet group. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * (Required) Name of the user. */ @core.attr(String) public userName!: string | core.StringOut; constructor(name: string, args?: DsUserArgs) { super(name, "aws_memorydb_user", args); } public override getNamespace(): string { return "aws_memorydb"; } }