/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * The target resource that the Route 53 record points to. */ export type TargetResource = { NLBResource?: NLBResource; R53Resource?: R53ResourceRecord; } & TargetResource1; export type TargetResource1 = | { [k: string]: unknown; } | { [k: string]: unknown; }; /** * Schema for the AWS Route53 Recovery Readiness ResourceSet Resource and API. */ export interface AwsRoute53RecoveryreadinessResourceset { /** * The name of the resource set to create. */ ResourceSetName?: string; /** * A list of resource objects in the resource set. * * @minItems 1 * @maxItems 6 */ Resources: | [Resource] | [Resource, Resource] | [Resource, Resource, Resource] | [Resource, Resource, Resource, Resource] | [Resource, Resource, Resource, Resource, Resource] | [Resource, Resource, Resource, Resource, Resource, Resource]; /** * The Amazon Resource Name (ARN) of the resource set. */ ResourceSetArn?: string; /** * 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 */ ResourceSetType: string; /** * A tag to associate with the parameters for a resource set. */ Tags?: Tag[]; } /** * The resource element of a ResourceSet */ export interface Resource { /** * The Amazon Resource Name (ARN) of the AWS resource. */ ResourceArn?: string; /** * The component identifier of the resource, generated when DNS target resource is used. */ ComponentId?: string; DnsTargetResource?: DNSTargetResource; /** * A list of recovery group Amazon Resource Names (ARNs) and cell ARNs that this resource is contained within. */ ReadinessScopes?: string[]; } /** * A component for DNS/routing control readiness checks. */ export interface DNSTargetResource { /** * The domain name that acts as an ingress point to a portion of the customer application. */ DomainName?: string; /** * The Route 53 record set ID that will uniquely identify a DNS record, given a name and a type. */ RecordSetId?: string; /** * The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target resource. */ HostedZoneArn?: string; /** * The type of DNS record of the target resource. */ RecordType?: string; TargetResource?: TargetResource; } /** * The Network Load Balancer resource that a DNS target resource points to. */ export interface NLBResource { /** * A Network Load Balancer resource Amazon Resource Name (ARN). */ Arn?: string; } /** * The Route 53 resource that a DNS target resource record points to. */ export interface R53ResourceRecord { /** * The DNS target domain name. */ DomainName?: string; /** * The Resource Record set id. */ RecordSetId?: string; } export interface Tag { Key: string; Value: string; }