import * as core from "@terrascript/core"; export interface DsParametersByPathArgs { /** * (Required) The prefix path of the parameter. */ path: string | core.StringOut; /** * (Optional) Whether to recursively return parameters under `path`. Defaults to `false`. */ recursive?: boolean | core.BooleanOut; /** * (Optional) Whether to return decrypted `SecureString` value. Defaults to `true`. */ withDecryption?: boolean | core.BooleanOut; } export class DsParametersByPath extends core.Data { /** * The ARNs of the parameters. */ @core.attr(String, { computed: true, kind: "array" }) public arns!: core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The names of the parameters. */ @core.attr(String, { computed: true, kind: "array" }) public names!: core.Array | core.ArrayOut; /** * (Required) The prefix path of the parameter. */ @core.attr(String) public path!: string | core.StringOut; /** * (Optional) Whether to recursively return parameters under `path`. Defaults to `false`. */ @core.attr(Boolean) public recursive?: boolean | core.BooleanOut; /** * The types of the parameters. */ @core.attr(String, { computed: true, kind: "array" }) public types!: core.Array | core.ArrayOut; /** * The value of the parameters. */ @core.attr(String, { computed: true, kind: "array" }) public values!: core.Array | core.ArrayOut; /** * (Optional) Whether to return decrypted `SecureString` value. Defaults to `true`. */ @core.attr(Boolean) public withDecryption?: boolean | core.BooleanOut; constructor(name: string, args?: DsParametersByPathArgs) { super(name, "aws_ssm_parameters_by_path", args); } public override getNamespace(): string { return "aws_ssm"; } }