Skip to main content

readiness_checks

Creates, updates, deletes or gets a readiness_check resource or lists readiness_checks in a region

Overview

Namereadiness_checks
TypeResource
DescriptionAws Route53 Recovery Readiness Check Schema and API specification.
Idaws.route53recoveryreadiness.readiness_checks

Fields

NameDatatypeDescription
resource_set_namestringThe name of the resource set to check.
readiness_check_namestringName of the ReadinessCheck to create.
readiness_check_arnstringThe Amazon Resource Name (ARN) of the readiness check.
tagsarrayA collection of tags associated with a resource.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTregion
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all readiness_checks in a region.

SELECT
region,
resource_set_name,
readiness_check_name,
readiness_check_arn,
tags
FROM aws.route53recoveryreadiness.readiness_checks
WHERE region = 'us-east-1';

Gets all properties from an individual readiness_check.

SELECT
region,
resource_set_name,
readiness_check_name,
readiness_check_arn,
tags
FROM aws.route53recoveryreadiness.readiness_checks
WHERE region = 'us-east-1' AND data__Identifier = '<ReadinessCheckName>';

INSERT example

Use the following StackQL query and manifest file to create a new readiness_check resource, using stack-deploy.

/*+ create */
INSERT INTO aws.route53recoveryreadiness.readiness_checks (
ResourceSetName,
ReadinessCheckName,
Tags,
region
)
SELECT
'{{ ResourceSetName }}',
'{{ ReadinessCheckName }}',
'{{ Tags }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.route53recoveryreadiness.readiness_checks
WHERE data__Identifier = '<ReadinessCheckName>'
AND region = 'us-east-1';

Permissions

To operate on the readiness_checks resource, the following permissions are required:

Create

route53-recovery-readiness:CreateReadinessCheck,
route53-recovery-readiness:GetResourceSet,
route53-recovery-readiness:GetReadinessCheck,
route53-recovery-readiness:ListTagsForResources,
route53-recovery-readiness:TagResource

Read

route53-recovery-readiness:GetReadinessCheck,
route53-recovery-readiness:ListTagsForResources

Update

route53-recovery-readiness:UpdateReadinessCheck,
route53-recovery-readiness:GetResourceSet,
route53-recovery-readiness:GetReadinessCheck,
route53-recovery-readiness:ListTagsForResources,
route53-recovery-readiness:TagResource,
route53-recovery-readiness:UntagResource

Delete

route53-recovery-readiness:DeleteReadinessCheck,
route53-recovery-readiness:GetReadinessCheck

List

route53-recovery-readiness:ListReadinessChecks,
route53-recovery-readiness:GetReadinessChecks