# CfnUserPoolReplicaProps

Struct · External

Properties for defining a `CfnUserPoolReplica`.

Used as props by: [CfnUserPoolReplica](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cognito.CfnUserPoolReplica.html)

- Source: Generated at build time
- Type last changed: v2.262.0 · 22 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 cfnUserPoolReplicaProps: cognito.CfnUserPoolReplicaProps = {
  regionName: 'regionName',
  userPoolId: 'userPoolId',

  // the properties below are optional
  userPoolTagsAtCreate: {
    userPoolTagsAtCreateKey: 'userPoolTagsAtCreate',
  },
};
```

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

cfn_user_pool_replica_props = cognito.CfnUserPoolReplicaProps(
    region_name="regionName",
    user_pool_id="userPoolId",

    # the properties below are optional
    user_pool_tags_at_create={
        "user_pool_tags_at_create_key": "userPoolTagsAtCreate"
    }
)
```

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.*;

CfnUserPoolReplicaProps cfnUserPoolReplicaProps = CfnUserPoolReplicaProps.builder()
        .regionName("regionName")
        .userPoolId("userPoolId")

        // the properties below are optional
        .userPoolTagsAtCreate(Map.of(
                "userPoolTagsAtCreateKey", "userPoolTagsAtCreate"))
        .build();
```

C#:

```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 cfnUserPoolReplicaProps = new CfnUserPoolReplicaProps {
    RegionName = "regionName",
    UserPoolId = "userPoolId",

    // the properties below are optional
    UserPoolTagsAtCreate = new Dictionary<string, string> {
        { "userPoolTagsAtCreateKey", "userPoolTagsAtCreate" }
    }
};
```

Go:

```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"

cfnUserPoolReplicaProps := &CfnUserPoolReplicaProps{
	RegionName: jsii.String("regionName"),
	UserPoolId: jsii.String("userPoolId"),

	// the properties below are optional
	UserPoolTagsAtCreate: map[string]*string{
		"userPoolTagsAtCreateKey": jsii.String("userPoolTagsAtCreate"),
	},
}
```

## Properties

- `regionName`: string (required)

- `userPoolId`: string (required)

- `userPoolTagsAtCreate`: { [key: string]: string }
