import * as core from "@terrascript/core"; export interface DsParameterArgs { /** * (Required) The name of the parameter. */ name: string | core.StringOut; /** * (Optional) Whether to return decrypted `SecureString` value. Defaults to `true`. */ withDecryption?: boolean | core.BooleanOut; } export class DsParameter extends core.Data { /** * The ARN of the parameter. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the parameter. */ @core.attr(String) public name!: string | core.StringOut; /** * The type of the parameter. Valid types are `String`, `StringList` and `SecureString`. */ @core.attr(String, { computed: true }) public type!: string | core.StringOut; /** * The value of the parameter. This value is always marked as sensitive in the Terraform plan output, r * egardless of `type`. In Terraform CLI version 0.15 and later, this may require additional configurat * ion handling for certain scenarios. For more information, see the [Terraform v0.15 Upgrade Guide](ht * tps://www.terraform.io/upgrade-guides/0-15.html#sensitive-output-values). */ @core.attr(String, { computed: true }) public value!: string | core.StringOut; /** * The version of the parameter. */ @core.attr(Number, { computed: true }) public version!: number | core.NumberOut; /** * (Optional) Whether to return decrypted `SecureString` value. Defaults to `true`. */ @core.attr(Boolean) public withDecryption?: boolean | core.BooleanOut; constructor(name: string, args?: DsParameterArgs) { super(name, "aws_ssm_parameter", args); } public override getNamespace(): string { return "aws_ssm"; } }