import * as core from "@terrascript/core"; export interface ReadinessCheckArgs extends core.ResourceArgs { /** * (Required) Unique name describing the readiness check. */ readinessCheckName: string | core.StringOut; /** * (Required) Name describing the resource set that will be monitored for readiness. */ resourceSetName: string | core.StringOut; /** * (Optional) Key-value mapping of resource tags. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-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; } export class ReadinessCheck extends core.Resource { /** * ARN of the readiness_check */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Unique name describing the readiness check. */ @core.attr(String) public readinessCheckName!: string | core.StringOut; /** * (Required) Name describing the resource set that will be monitored for readiness. */ @core.attr(String) public resourceSetName!: string | core.StringOut; /** * (Optional) Key-value mapping of resource tags. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ @core.attr(String, { kind: "map" }) public 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). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: ReadinessCheckArgs) { super(name, "aws_route53recoveryreadiness_readiness_check", args); } public override getNamespace(): string { return "aws_route53recoveryreadiness"; } }