Skip to content
v2.278.0

FailoverTypeProperty Struct ​

Example ​

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
# 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
// 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();
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"
};
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 ​

primaryRoute53HealthCheckIdstringprimary_route53_health_check_idstrprimaryRoute53HealthCheckIdStringPrimaryRoute53HealthCheckIdstringPrimaryRoute53HealthCheckId*string required #
secondaryRegionstringsecondary_regionstrsecondaryRegionStringSecondaryRegionstringSecondaryRegion*string required #