Skip to content
v2.278.0

UserPoolReplicaReference ​

Struct External

A reference to a UserPoolReplica resource.

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 interfaces_cognito } from 'aws-cdk-lib/interfaces';
const userPoolReplicaReference: interfaces_cognito.UserPoolReplicaReference = {
  regionName: 'regionName',
  userPoolId: 'userPoolId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_cognito as interfaces_cognito

user_pool_replica_reference = interfaces_cognito.UserPoolReplicaReference(
    region_name="regionName",
    user_pool_id="userPoolId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.cognito.*;

UserPoolReplicaReference userPoolReplicaReference = UserPoolReplicaReference.builder()
        .regionName("regionName")
        .userPoolId("userPoolId")
        .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.Interfaces.Cognito;

var userPoolReplicaReference = new UserPoolReplicaReference {
    RegionName = "regionName",
    UserPoolId = "userPoolId"
};
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"

userPoolReplicaReference := &UserPoolReplicaReference{
	RegionName: jsii.String("regionName"),
	UserPoolId: jsii.String("userPoolId"),
}

Properties ​

regionNamestringregion_namestrregionNameStringRegionNamestringRegionName*string required #
The RegionName of the UserPoolReplica resource.
userPoolIdstringuser_pool_idstruserPoolIdStringUserPoolIdstringUserPoolId*string required #
The UserPoolId of the UserPoolReplica resource.