Skip to main content

cells

Creates, updates, deletes, gets or lists a cells resource.

Overview

Namecells
TypeResource
Idaws.route53_recovery_readiness.cells

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
cell_arnstringThe Amazon Resource Name (ARN) for the cell.
cell_namestringThe name of the cell. (pattern: <code>\A[a-zA-Z0-9_]+\z</code>)
cellsarrayA list of cell ARNs.
parent_readiness_scopesarrayThe readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is a list but currently can have only one element.
tagsobjectTags on the resources.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_cellselectcell_name, regionGets information about a cell including cell name, cell Amazon Resource Name (ARN), ARNs of nested cells for this cell, and a list of those cell ARNs with their associated recovery group ARNs.
list_cellsselectregionmaxResults, nextTokenLists the cells for an account.
create_cellinsertregion, CellNameCreates a cell in an account.
update_cellupdatecell_name, regionUpdates a cell to replace the list of nested cells with a new list of nested cells.
delete_celldeletecell_name, regionDelete a cell. When successful, the response code is 204, with no response body.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
cell_namestringThe name of the cell.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe number of objects that you want to return with this call.
nextTokenstringThe token that identifies which batch of results you want to see.

SELECT examples

Gets information about a cell including cell name, cell Amazon Resource Name (ARN), ARNs of nested cells for this cell, and a list of those cell ARNs with their associated recovery group ARNs.

SELECT
cell_arn,
cell_name,
cells,
parent_readiness_scopes,
tags
FROM aws.route53_recovery_readiness.cells
WHERE cell_name = '{{ cell_name }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a cell in an account.

INSERT INTO aws.route53_recovery_readiness.cells (
CellName,
Cells,
Tags,
region
)
SELECT
'{{ CellName }}' /* required */,
'{{ Cells }}',
'{{ Tags }}',
'{{ region }}'
RETURNING
cell_arn,
cell_name,
cells,
parent_readiness_scopes,
tags
;

UPDATE examples

Updates a cell to replace the list of nested cells with a new list of nested cells.

UPDATE aws.route53_recovery_readiness.cells
SET
Cells = '{{ Cells }}'
WHERE
cell_name = '{{ cell_name }}' --required
AND region = '{{ region }}' --required
RETURNING
cell_arn,
cell_name,
cells,
parent_readiness_scopes,
tags;

DELETE examples

Delete a cell. When successful, the response code is 204, with no response body.

DELETE FROM aws.route53_recovery_readiness.cells
WHERE cell_name = '{{ cell_name }}' --required
AND region = '{{ region }}' --required
;