RoutingPolicy

class aws_cdk.aws_servicediscovery.RoutingPolicy

Bases: enum.Enum

An enumeration.

Attributes

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.

WEIGHTED

Route 53 returns the applicable value from one randomly selected instance from among the instances that you registered using the same service.

Attributes

MULTIVALUE = '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.

WEIGHTED = 'WEIGHTED'

Route 53 returns the applicable value from one randomly selected instance from among the instances that you registered using the same service.