# FailoverTypeProperty

- Source: Generated at build time
- Type last changed: v2.261.0 · 2 Jul 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const failoverTypeProperty: cognito.CfnUserPoolDomain.FailoverTypeProperty = {
  primaryRoute53HealthCheckId: 'primaryRoute53HealthCheckId',
  secondaryRegion: 'secondaryRegion',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cognito as cognito

failover_type_property = cognito.CfnUserPoolDomain.FailoverTypeProperty(
    primary_route53_health_check_id="primaryRoute53HealthCheckId",
    secondary_region="secondaryRegion"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;

FailoverTypeProperty failoverTypeProperty = FailoverTypeProperty.builder()
        .primaryRoute53HealthCheckId("primaryRoute53HealthCheckId")
        .secondaryRegion("secondaryRegion")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;

var failoverTypeProperty = new FailoverTypeProperty {
    PrimaryRoute53HealthCheckId = "primaryRoute53HealthCheckId",
    SecondaryRegion = "secondaryRegion"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

failoverTypeProperty := &FailoverTypeProperty{
	PrimaryRoute53HealthCheckId: jsii.String("primaryRoute53HealthCheckId"),
	SecondaryRegion: jsii.String("secondaryRegion"),
}
```

## Properties

- `primaryRoute53HealthCheckId`: string (required)

- `secondaryRegion`: string (required)
