# CfnUserPoolRegionalConfigurationAttachmentProps

Properties for defining a `CfnUserPoolRegionalConfigurationAttachment`.

Extends: CfnUserPoolRegionalConfigurationAttachmentProps
Used as props by: CfnUserPoolRegionalConfigurationAttachment

- Source: Generated code
- Type last changed: v2.262.0 · 22 Jul 2026

## 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 cfnUserPoolRegionalConfigurationAttachmentProps: cognito.CfnUserPoolRegionalConfigurationAttachmentProps = {
  userPoolId: 'userPoolId',

  // the properties below are optional
  emailConfiguration: {
    configurationSet: 'configurationSet',
    emailSendingAccount: 'emailSendingAccount',
    from: 'from',
    replyToEmailAddress: 'replyToEmailAddress',
    sourceArn: 'sourceArn',
  },
  lambdaConfig: {
    createAuthChallenge: 'createAuthChallenge',
    customEmailSender: {
      lambdaArn: 'lambdaArn',
      lambdaVersion: 'lambdaVersion',
    },
    customMessage: 'customMessage',
    customSmsSender: {
      lambdaArn: 'lambdaArn',
      lambdaVersion: 'lambdaVersion',
    },
    defineAuthChallenge: 'defineAuthChallenge',
    inboundFederation: {
      lambdaArn: 'lambdaArn',
      lambdaVersion: 'lambdaVersion',
    },
    kmsKeyId: 'kmsKeyId',
    postAuthentication: 'postAuthentication',
    postConfirmation: 'postConfirmation',
    preAuthentication: 'preAuthentication',
    preSignUp: 'preSignUp',
    preTokenGeneration: 'preTokenGeneration',
    preTokenGenerationConfig: {
      lambdaArn: 'lambdaArn',
      lambdaVersion: 'lambdaVersion',
    },
    userMigration: 'userMigration',
    verifyAuthChallengeResponse: 'verifyAuthChallengeResponse',
  },
  smsConfiguration: {
    eumsSms: {
      callerArn: 'callerArn',

      // the properties below are optional
      configurationSetName: 'configurationSetName',
      externalId: 'externalId',
      inEntityId: 'inEntityId',
      inTemplateId: 'inTemplateId',
      originationIdentity: 'originationIdentity',
      region: 'region',
    },
    externalId: 'externalId',
    snsCallerArn: 'snsCallerArn',
    snsRegion: 'snsRegion',
  },
  status: 'status',
  userPoolTags: {
    userPoolTagsKey: 'userPoolTags',
  },
};
```

## Properties

- `emailConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cognito.CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty.html)

- `lambdaConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserPoolRegionalConfigurationAttachment.LambdaConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cognito.CfnUserPoolRegionalConfigurationAttachment.LambdaConfigProperty.html)

- `smsConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserPoolRegionalConfigurationAttachment.SmsConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cognito.CfnUserPoolRegionalConfigurationAttachment.SmsConfigurationProperty.html)

- `status`: string — The status of the replica.

  Set to ACTIVE or INACTIVE.

- `userPoolId`: string (required)

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