AWS Route 53 Recovery Readiness Recoveryreadiness Resource Set
This page shows how to write Terraform and CloudFormation for Route 53 Recovery Readiness Recoveryreadiness Resource Set and write them securely.
aws_route53recoveryreadiness_resource_set (Terraform)
The Recoveryreadiness Resource Set in Route 53 Recovery Readiness can be configured in Terraform with the resource name aws_route53recoveryreadiness_resource_set
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
The following arguments are supported:
resource_set_name
- (Required) Unique name describing the resource set.resource_set_type
- (Required) Type of the resources in the resource set.resources
- (Required) List of resources to add to this resource set. See below.
The following arguments are optional:
tags
- (Optional) Key-value mapping of resource tags. If configured with a providerdefault_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
resources
dns_target_resource
- (Required ifresource_arn
is not set) Component for DNS/Routing Control Readiness Checks.readiness_scopes
- (Optional) Recovery group ARN or cell ARN that contains this resource set.resource_arn
- (Required ifdns_target_resource
is not set) ARN of the resource.
dns_target_resource
domain_name
- (Optional) DNS Name that acts as the ingress point to a portion of application.hosted_zone_arn
- (Optional) Hosted Zone ARN that contains the DNS record with the provided name of target resource.record_set_id
- (Optional) Route53 record set id to uniquely identify a record given adomain_name
and arecord_type
.record_type
- (Optional) Type of DNS Record of target resource.target_resource
- (Optional) Target resource the R53 record specified with the above params points to.
target_resource
nlb_resource
- (Optional) NLB resource a DNS Target Resource points to. Required ifr53_resource
is not set.r53_resource
- (Optional) Route53 resource a DNS Target Resource record points to.
nlb_resource
arn
- (Required) NLB resource ARN.
r53_resource
domain_name
- (Optional) Domain name that is targeted.record_set_id
- (Optional) Resource record set ID that is targeted.
In addition to all arguments above, the following attributes are exported:
arn
- ARN of the resource setresources.#.component_id
- Unique identified for DNS Target Resources, use for readiness checks.tags_all
- Map of tags assigned to the resource, including those inherited from the providerdefault_tags
configuration block.
Explanation in Terraform Registry
Provides an AWS Route 53 Recovery Readiness Resource Set.
AWS::Route53RecoveryReadiness::ResourceSet (CloudFormation)
The ResourceSet in Route53RecoveryReadiness can be configured in CloudFormation with the resource name AWS::Route53RecoveryReadiness::ResourceSet
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
Resources
A list of resource objects in the resource set.
Required: Yes
Type: List of Resource
Update requires: No interruption
ResourceSetName
The name of the resource set to create.
Required: Yes
Type: String
Update requires: Replacement
ResourceSetType
The resource type of the resources in the resource set. Enter one of the following values for resource type:
AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, 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.
Note that AWS::Route53RecoveryReadiness::DNSTargetResource is only used for this setting. It isn't an actual AWS CloudFormation resource type.
Required: Yes
Type: String
Update requires: Replacement
Tags
A tag to associate with the parameters for a resource set.
Required: No
Type: List of Tag
Update requires: No interruption
Explanation in CloudFormation Registry
Creates a resource set. A resource set is a group of resources that you can associate with a readiness check.