View a markdown version of this page

FailoverType - Amazon Cognito User Pools
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

FailoverType

Specifies failover configuration for multi-region user pool domains. Contains settings for the secondary region and health check configuration.

This data type is a request parameter of CreateUserPoolDomain and UpdateUserPoolDomain, and a response parameter of DescribeUserPoolDomain.

Contents

PrimaryRoute53HealthCheckId

The ID of the Amazon Route53 healthcheck that controls routing. If the healthcheck is healthy, traffic will be routed to the primary replica, and if the healthcheck is unhealthy, traffic will be routed to the secondary region.

Type: String

Length Constraints: Maximum length of 64.

Required: Yes

SecondaryRegion

The secondary Amazon Region to use for failover when the primary region becomes unavailable.

Type: String

Length Constraints: Minimum length of 5. Maximum length of 32.

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: