# RoutingPolicy

- Source: [`aws-servicediscovery/lib/service.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-servicediscovery/lib/service.ts#L491)

## Members

| Member | Description |
| --- | --- |
| `WEIGHTED` | Route 53 returns the applicable value from one randomly selected instance from among the instances that you registered using the same service. |
| `MULTIVALUE` | If you define a health check for the service and the health check is healthy, Route 53 returns the applicable value for up to eight instances. |

## Referenced by

- [`DnsServiceProps`](/v2/docs/aws-cdk-lib.aws_servicediscovery.DnsServiceProps).routingPolicy
- [`IService`](/v2/docs/aws-cdk-lib.aws_servicediscovery.IService).routingPolicy
- [`Service`](/v2/docs/aws-cdk-lib.aws_servicediscovery.Service).routingPolicy
- [`ServiceAttributes`](/v2/docs/aws-cdk-lib.aws_servicediscovery.ServiceAttributes).routingPolicy
