CfnUserPoolReplicaProps
Struct External
Properties for defining a CfnUserPoolReplica.
| Source | |
|---|---|
| Type last changed |
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 cfnUserPoolReplicaProps: cognito.CfnUserPoolReplicaProps = {
regionName: 'regionName',
userPoolId: 'userPoolId',
// the properties below are optional
userPoolTagsAtCreate: {
userPoolTagsAtCreateKey: 'userPoolTagsAtCreate',
},
};
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
// 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();
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
// 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
userPoolTagsAtCreateoptional{ [key: string]: string }user_pool_tags_at_createoptionaltyping.Mapping[str, str]userPoolTagsAtCreateoptionalMap<String, String>UserPoolTagsAtCreateoptionalIDictionary<string, string>UserPoolTagsAtCreateoptional*map[string]*string #