import * as core from "@terrascript/core"; export interface ParameterArgs extends core.ResourceArgs { /** * (Optional) Regular expression used to validate the parameter value. */ allowedPattern?: string | core.StringOut; /** * ARN of the parameter. */ arn?: string | core.StringOut; /** * (Optional) Data type of the parameter. Valid values: `text` and `aws:ec2:image` for AMI format, see * the [Native parameter support for Amazon Machine Image IDs](https://docs.aws.amazon.com/systems-mana * ger/latest/userguide/parameter-store-ec2-aliases.html). */ dataType?: string | core.StringOut; /** * (Optional) Description of the parameter. */ description?: string | core.StringOut; /** * (Optional, exactly one of `value` or `insecure_value` is required) Value of the parameter. **Use cau * tion:** This value is _never_ marked as sensitive in the Terraform plan output. This argument is not * valid with a `type` of `SecureString`. */ insecureValue?: string | core.StringOut; /** * (Optional) KMS key ID or ARN for encrypting a SecureString. */ keyId?: string | core.StringOut; /** * (Required) Name of the parameter. If the name contains a path (e.g., any forward slashes (`/`)), it * must be fully qualified with a leading forward slash (`/`). For additional requirements and constrai * nts, see the [AWS SSM User Guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysma * n-parameter-name-constraints.html). */ name: string | core.StringOut; /** * (Optional) Overwrite an existing parameter. If not specified, will default to `false` if the resourc * e has not been created by terraform to avoid overwrite of existing resource and will default to `tru * e` otherwise (terraform lifecycle rules should then be used to manage the update behavior). */ overwrite?: boolean | core.BooleanOut; /** * (Optional) Map of tags to assign to the object. If configured with a provider [`default_tags` config * uration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-config * uration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * Map of tags assigned to the resource, including those inherited from the provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block). */ tagsAll?: core.Map | core.MapOut; /** * (Optional) Parameter tier to assign to the parameter. If not specified, will use the default paramet * er tier for the region. Valid tiers are `Standard`, `Advanced`, and `Intelligent-Tiering`. Downgradi * ng an `Advanced` tier parameter to `Standard` will recreate the resource. For more information on pa * rameter tiers, see the [AWS SSM Parameter tier comparison and guide](https://docs.aws.amazon.com/sys * tems-manager/latest/userguide/parameter-store-advanced-parameters.html). */ tier?: string | core.StringOut; /** * (Required) Type of the parameter. Valid types are `String`, `StringList` and `SecureString`. */ type: string | core.StringOut; /** * (Optional, exactly one of `value` or `insecure_value` is required) Value of the parameter. This valu * e is always marked as sensitive in the Terraform plan output, regardless of `type`. In Terraform CLI * version 0.15 and later, this may require additional configuration handling for certain scenarios. F * or more information, see the [Terraform v0.15 Upgrade Guide](https://www.terraform.io/upgrade-guides * /0-15.html#sensitive-output-values). */ value?: string | core.StringOut; } export declare class Parameter extends core.Resource { /** * (Optional) Regular expression used to validate the parameter value. */ allowedPattern?: string | core.StringOut; /** * ARN of the parameter. */ arn?: string | core.StringOut; /** * (Optional) Data type of the parameter. Valid values: `text` and `aws:ec2:image` for AMI format, see * the [Native parameter support for Amazon Machine Image IDs](https://docs.aws.amazon.com/systems-mana * ger/latest/userguide/parameter-store-ec2-aliases.html). */ dataType?: string | core.StringOut; /** * (Optional) Description of the parameter. */ description?: string | core.StringOut; id: string | core.StringOut; /** * (Optional, exactly one of `value` or `insecure_value` is required) Value of the parameter. **Use cau * tion:** This value is _never_ marked as sensitive in the Terraform plan output. This argument is not * valid with a `type` of `SecureString`. */ insecureValue?: string | core.StringOut; /** * (Optional) KMS key ID or ARN for encrypting a SecureString. */ keyId?: string | core.StringOut; /** * (Required) Name of the parameter. If the name contains a path (e.g., any forward slashes (`/`)), it * must be fully qualified with a leading forward slash (`/`). For additional requirements and constrai * nts, see the [AWS SSM User Guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysma * n-parameter-name-constraints.html). */ name: string | core.StringOut; /** * (Optional) Overwrite an existing parameter. If not specified, will default to `false` if the resourc * e has not been created by terraform to avoid overwrite of existing resource and will default to `tru * e` otherwise (terraform lifecycle rules should then be used to manage the update behavior). */ overwrite?: boolean | core.BooleanOut; /** * (Optional) Map of tags to assign to the object. If configured with a provider [`default_tags` config * uration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-config * uration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * Map of tags assigned to the resource, including those inherited from the provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block). */ tagsAll?: core.Map | core.MapOut; /** * (Optional) Parameter tier to assign to the parameter. If not specified, will use the default paramet * er tier for the region. Valid tiers are `Standard`, `Advanced`, and `Intelligent-Tiering`. Downgradi * ng an `Advanced` tier parameter to `Standard` will recreate the resource. For more information on pa * rameter tiers, see the [AWS SSM Parameter tier comparison and guide](https://docs.aws.amazon.com/sys * tems-manager/latest/userguide/parameter-store-advanced-parameters.html). */ tier?: string | core.StringOut; /** * (Required) Type of the parameter. Valid types are `String`, `StringList` and `SecureString`. */ type: string | core.StringOut; /** * (Optional, exactly one of `value` or `insecure_value` is required) Value of the parameter. This valu * e is always marked as sensitive in the Terraform plan output, regardless of `type`. In Terraform CLI * version 0.15 and later, this may require additional configuration handling for certain scenarios. F * or more information, see the [Terraform v0.15 Upgrade Guide](https://www.terraform.io/upgrade-guides * /0-15.html#sensitive-output-values). */ value?: string | core.StringOut; /** * Version of the parameter. */ version: number | core.NumberOut; constructor(name: string, args?: ParameterArgs); getNamespace(): string; } //# sourceMappingURL=parameter.d.ts.map