View a markdown version of this page

AWS::Cognito::UserPoolDomain FailoverType - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Cognito::UserPoolDomain 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 API_CreateUserPoolDomain and API_UpdateUserPoolDomain, and a response parameter of API_DescribeUserPoolDomain.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "PrimaryRoute53HealthCheckId" : String, "SecondaryRegion" : String }

Properties

PrimaryRoute53HealthCheckId

The ID of the AWS 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.

Required: Yes

Type: String

Maximum: 64

Update requires: No interruption

SecondaryRegion

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

Required: Yes

Type: String

Minimum: 5

Maximum: 32

Update requires: No interruption