---
title: "PUT /resourcesets/{resourceSetName}"
method: PUT
path: "/resourcesets/{resourceSetName}"
---

# PUT /resourcesets/{resourceSetName}

`PUT /resourcesets/{resourceSetName}`

Updates a resource set.

## Path parameters

- `resourceSetName` string, required

## Request body

- object
  - `resourceSetType` string, required — <p>The resource type of the resources in the resource set. Enter one of the following values for resource type:</p> <p>AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource</p>
  - `resources` Resource[], required — A list of resource objects.
    - `ComponentId` string — The component identifier of the resource, generated when DNS target resource is used.
    - `DnsTargetResource` object — The DNS target resource.
      - `DomainName` string — The domain name that acts as an ingress point to a portion of the customer application.
      - `HostedZoneArn` string — The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target resource.
      - `RecordSetId` string — The Route 53 record set ID that uniquely identifies a DNS record, given a name and a type.
      - `RecordType` string — The type of DNS record of the target resource.
      - `TargetResource` object — The target resource of the DNS target resource.
        - `NLBResource` object — The Network Load Balancer Resource.
          - `Arn` string — The Network Load Balancer resource Amazon Resource Name (ARN).
        - `R53Resource` object — The Route 53 resource.
          - `DomainName` string — The DNS target domain name.
          - `RecordSetId` string — The Route 53 Resource Record Set ID.
    - `ReadinessScopes` String[] — A list of recovery group Amazon Resource Names (ARNs) and cell ARNs that this resource is contained within.
    - `ResourceArn` string — The Amazon Resource Name (ARN) of the Amazon Web Services resource.

## Response `200`

Success

- UpdateResourceSetResponse
  - `ResourceSetArn` string — The Amazon Resource Name (ARN) for the resource set.
  - `ResourceSetName` string — The name of the resource set.
  - `ResourceSetType` string — <p>The resource type of the resources in the resource set. Enter one of the following values for resource type:</p> <p>AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource</p>
  - `Resources` Resource[] — A list of resource objects.
    - `ComponentId` string — The component identifier of the resource, generated when DNS target resource is used.
    - `DnsTargetResource` object — The DNS target resource.
      - `DomainName` string — The domain name that acts as an ingress point to a portion of the customer application.
      - `HostedZoneArn` string — The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target resource.
      - `RecordSetId` string — The Route 53 record set ID that uniquely identifies a DNS record, given a name and a type.
      - `RecordType` string — The type of DNS record of the target resource.
      - `TargetResource` object — The target resource of the DNS target resource.
        - `NLBResource` object — The Network Load Balancer Resource.
          - `Arn` string — The Network Load Balancer resource Amazon Resource Name (ARN).
        - `R53Resource` object — The Route 53 resource.
          - `DomainName` string — The DNS target domain name.
          - `RecordSetId` string — The Route 53 Resource Record Set ID.
    - `ReadinessScopes` String[] — A list of recovery group Amazon Resource Names (ARNs) and cell ARNs that this resource is contained within.
    - `ResourceArn` string — The Amazon Resource Name (ARN) of the Amazon Web Services resource.
  - `Tags` object — A collection of tags associated with a resource.

## Other responses

- `480` — ResourceNotFoundException
- `481` — ThrottlingException
- `482` — ValidationException
- `483` — InternalServerException
- `484` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/route53-recovery-readiness.md) · [All operations](https://skmtc.net/aws/apis/route53-recovery-readiness/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/route53-recovery-readiness/versions/02a096935a32/schema)
