Skip to main content

Resource Set

Provides Route53 Recovery Readiness Resource Set

Examples

exports.createResources = () => [
{
type: "ResourceSet",
group: "Route53RecoveryReadiness",
properties: ({ getId }) => ({
ResourceSetName: "dynamodb",
ResourceSetType: "AWS::DynamoDB::Table",
Resources: [
{
ReadinessScopes: [
`${getId({
type: "Cell",
group: "Route53RecoveryReadiness",
name: "my-recoverygroup-cell1",
})}`,
],
ResourceArn: `${getId({
type: "Table",
group: "DynamoDB",
name: "my-table",
})}`,
},
],
}),
dependencies: ({}) => ({
cells: ["my-recoverygroup-cell1"],
dynamoDBTable: "my-table",
}),
},
];

Source Code Examples

Properties

Dependencies

Used By

List

List the endpoints with the Route53RecoveryReadiness::ResourceSet filter:

gc list -t Route53RecoveryReadiness::ResourceSet
Listing resources on 1 provider: aws
✓ aws us-east-1
✓ Initialising
✓ Listing 1/1
┌─────────────────────────────────────────────────────────────────────────────────┐
│ 1 Route53RecoveryReadiness::ResourceSet from aws │
├─────────────────────────────────────────────────────────────────────────────────┤
│ name: dynamodb │
│ managedByUs: Yes │
│ live: │
│ ResourceSetArn: arn:aws:route53-recovery-readiness::840541460064:resource-se… │
│ ResourceSetName: dynamodb │
│ ResourceSetType: AWS::DynamoDB::Table │
│ Resources: │
│ - │
│ ReadinessScopes: │
│ - "arn:aws:route53-recovery-readiness::840541460064:cell/my-recoverygr… │
│ ResourceArn: arn:aws:dynamodb:us-east-1:840541460064:table/my-table │
│ Tags: │
│ │
└─────────────────────────────────────────────────────────────────────────────────┘


List Summary:
Provider: aws
┌────────────────────────────────────────────────────────────────────────────────┐
│ aws │
├───────────────────────────────────────┬────────────────────────────────────────┤
│ Route53RecoveryReadiness::ResourceSet │ dynamodb │
└───────────────────────────────────────┴────────────────────────────────────────┘
1 resource, 1 type, 1 provider
Command "gc list -t Route53RecoveryReadiness::ResourceSet" executed in 5s, 111 MB