create_resource_set
¶
create_resource_set(
*,
config_overrides: Optional[Route53RecoveryReadinessClientConfig] = None,
resource_set_name: Optional[__string] = None,
resource_set_type: Optional[__stringPatternAWSAZaZ09AZaZ09] = None,
resources: Optional[__listOfResource] = None,
tags: Optional[Tags] = None,
) -> CreateResourceSetResponse
Creates a resource set. A resource set is a set of resources of one type that span multiple cells. You can associate a resource set with a readiness check to monitor the resources for failover readiness.
Parameters:
-
resource_set_name(Optional[__string], default:None) –The name of the resource set to create.
-
resource_set_type(Optional[__stringPatternAWSAZaZ09AZaZ09], default:None) –The resource type of the resources in the resource set. Enter one of the following values for resource type:
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
-
resources(Optional[__listOfResource], default:None) –A list of resource objects in the resource set.
-
tags(Optional[Tags], default:None) –A tag to associate with the parameters for a resource set.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–An unexpected error occurred.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.