CfnUserPoolRegionalConfigurationAttachmentProps Struct
Properties for defining a CfnUserPoolRegionalConfigurationAttachment.
| 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 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',
},
};
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_regional_configuration_attachment_props = cognito.CfnUserPoolRegionalConfigurationAttachmentProps(
user_pool_id="userPoolId",
# the properties below are optional
email_configuration=cognito.CfnUserPoolRegionalConfigurationAttachment.EmailConfigurationProperty(
configuration_set="configurationSet",
email_sending_account="emailSendingAccount",
from="from",
reply_to_email_address="replyToEmailAddress",
source_arn="sourceArn"
),
lambda_config=cognito.CfnUserPoolRegionalConfigurationAttachment.LambdaConfigProperty(
create_auth_challenge="createAuthChallenge",
custom_email_sender=cognito.CfnUserPoolRegionalConfigurationAttachment.CustomEmailSenderProperty(
lambda_arn="lambdaArn",
lambda_version="lambdaVersion"
),
custom_message="customMessage",
custom_sms_sender=cognito.CfnUserPoolRegionalConfigurationAttachment.CustomSMSSenderProperty(
lambda_arn="lambdaArn",
lambda_version="lambdaVersion"
),
define_auth_challenge="defineAuthChallenge",
inbound_federation=cognito.CfnUserPoolRegionalConfigurationAttachment.InboundFederationProperty(
lambda_arn="lambdaArn",
lambda_version="lambdaVersion"
),
kms_key_id="kmsKeyId",
post_authentication="postAuthentication",
post_confirmation="postConfirmation",
pre_authentication="preAuthentication",
pre_sign_up="preSignUp",
pre_token_generation="preTokenGeneration",
pre_token_generation_config=cognito.CfnUserPoolRegionalConfigurationAttachment.PreTokenGenerationConfigProperty(
lambda_arn="lambdaArn",
lambda_version="lambdaVersion"
),
user_migration="userMigration",
verify_auth_challenge_response="verifyAuthChallengeResponse"
),
sms_configuration=cognito.CfnUserPoolRegionalConfigurationAttachment.SmsConfigurationProperty(
eums_sms=cognito.CfnUserPoolRegionalConfigurationAttachment.EumsSmsConfigurationProperty(
caller_arn="callerArn",
# the properties below are optional
configuration_set_name="configurationSetName",
external_id="externalId",
in_entity_id="inEntityId",
in_template_id="inTemplateId",
origination_identity="originationIdentity",
region="region"
),
external_id="externalId",
sns_caller_arn="snsCallerArn",
sns_region="snsRegion"
),
status="status",
user_pool_tags={
"user_pool_tags_key": "userPoolTags"
}
)
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.*;
CfnUserPoolRegionalConfigurationAttachmentProps cfnUserPoolRegionalConfigurationAttachmentProps = CfnUserPoolRegionalConfigurationAttachmentProps.builder()
.userPoolId("userPoolId")
// the properties below are optional
.emailConfiguration(EmailConfigurationProperty.builder()
.configurationSet("configurationSet")
.emailSendingAccount("emailSendingAccount")
.from("from")
.replyToEmailAddress("replyToEmailAddress")
.sourceArn("sourceArn")
.build())
.lambdaConfig(LambdaConfigProperty.builder()
.createAuthChallenge("createAuthChallenge")
.customEmailSender(CustomEmailSenderProperty.builder()
.lambdaArn("lambdaArn")
.lambdaVersion("lambdaVersion")
.build())
.customMessage("customMessage")
.customSmsSender(CustomSMSSenderProperty.builder()
.lambdaArn("lambdaArn")
.lambdaVersion("lambdaVersion")
.build())
.defineAuthChallenge("defineAuthChallenge")
.inboundFederation(InboundFederationProperty.builder()
.lambdaArn("lambdaArn")
.lambdaVersion("lambdaVersion")
.build())
.kmsKeyId("kmsKeyId")
.postAuthentication("postAuthentication")
.postConfirmation("postConfirmation")
.preAuthentication("preAuthentication")
.preSignUp("preSignUp")
.preTokenGeneration("preTokenGeneration")
.preTokenGenerationConfig(PreTokenGenerationConfigProperty.builder()
.lambdaArn("lambdaArn")
.lambdaVersion("lambdaVersion")
.build())
.userMigration("userMigration")
.verifyAuthChallengeResponse("verifyAuthChallengeResponse")
.build())
.smsConfiguration(SmsConfigurationProperty.builder()
.eumsSms(EumsSmsConfigurationProperty.builder()
.callerArn("callerArn")
// the properties below are optional
.configurationSetName("configurationSetName")
.externalId("externalId")
.inEntityId("inEntityId")
.inTemplateId("inTemplateId")
.originationIdentity("originationIdentity")
.region("region")
.build())
.externalId("externalId")
.snsCallerArn("snsCallerArn")
.snsRegion("snsRegion")
.build())
.status("status")
.userPoolTags(Map.of(
"userPoolTagsKey", "userPoolTags"))
.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 cfnUserPoolRegionalConfigurationAttachmentProps = new CfnUserPoolRegionalConfigurationAttachmentProps {
UserPoolId = "userPoolId",
// the properties below are optional
EmailConfiguration = new EmailConfigurationProperty {
ConfigurationSet = "configurationSet",
EmailSendingAccount = "emailSendingAccount",
From = "from",
ReplyToEmailAddress = "replyToEmailAddress",
SourceArn = "sourceArn"
},
LambdaConfig = new LambdaConfigProperty {
CreateAuthChallenge = "createAuthChallenge",
CustomEmailSender = new CustomEmailSenderProperty {
LambdaArn = "lambdaArn",
LambdaVersion = "lambdaVersion"
},
CustomMessage = "customMessage",
CustomSmsSender = new CustomSMSSenderProperty {
LambdaArn = "lambdaArn",
LambdaVersion = "lambdaVersion"
},
DefineAuthChallenge = "defineAuthChallenge",
InboundFederation = new InboundFederationProperty {
LambdaArn = "lambdaArn",
LambdaVersion = "lambdaVersion"
},
KmsKeyId = "kmsKeyId",
PostAuthentication = "postAuthentication",
PostConfirmation = "postConfirmation",
PreAuthentication = "preAuthentication",
PreSignUp = "preSignUp",
PreTokenGeneration = "preTokenGeneration",
PreTokenGenerationConfig = new PreTokenGenerationConfigProperty {
LambdaArn = "lambdaArn",
LambdaVersion = "lambdaVersion"
},
UserMigration = "userMigration",
VerifyAuthChallengeResponse = "verifyAuthChallengeResponse"
},
SmsConfiguration = new SmsConfigurationProperty {
EumsSms = new EumsSmsConfigurationProperty {
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 = new Dictionary<string, string> {
{ "userPoolTagsKey", "userPoolTags" }
}
};
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"
cfnUserPoolRegionalConfigurationAttachmentProps := &CfnUserPoolRegionalConfigurationAttachmentProps{
UserPoolId: jsii.String("userPoolId"),
// the properties below are optional
EmailConfiguration: &EmailConfigurationProperty{
ConfigurationSet: jsii.String("configurationSet"),
EmailSendingAccount: jsii.String("emailSendingAccount"),
From: jsii.String("from"),
ReplyToEmailAddress: jsii.String("replyToEmailAddress"),
SourceArn: jsii.String("sourceArn"),
},
LambdaConfig: &LambdaConfigProperty{
CreateAuthChallenge: jsii.String("createAuthChallenge"),
CustomEmailSender: &CustomEmailSenderProperty{
LambdaArn: jsii.String("lambdaArn"),
LambdaVersion: jsii.String("lambdaVersion"),
},
CustomMessage: jsii.String("customMessage"),
CustomSmsSender: &CustomSMSSenderProperty{
LambdaArn: jsii.String("lambdaArn"),
LambdaVersion: jsii.String("lambdaVersion"),
},
DefineAuthChallenge: jsii.String("defineAuthChallenge"),
InboundFederation: &InboundFederationProperty{
LambdaArn: jsii.String("lambdaArn"),
LambdaVersion: jsii.String("lambdaVersion"),
},
KmsKeyId: jsii.String("kmsKeyId"),
PostAuthentication: jsii.String("postAuthentication"),
PostConfirmation: jsii.String("postConfirmation"),
PreAuthentication: jsii.String("preAuthentication"),
PreSignUp: jsii.String("preSignUp"),
PreTokenGeneration: jsii.String("preTokenGeneration"),
PreTokenGenerationConfig: &PreTokenGenerationConfigProperty{
LambdaArn: jsii.String("lambdaArn"),
LambdaVersion: jsii.String("lambdaVersion"),
},
UserMigration: jsii.String("userMigration"),
VerifyAuthChallengeResponse: jsii.String("verifyAuthChallengeResponse"),
},
SmsConfiguration: &SmsConfigurationProperty{
EumsSms: &EumsSmsConfigurationProperty{
CallerArn: jsii.String("callerArn"),
// the properties below are optional
ConfigurationSetName: jsii.String("configurationSetName"),
ExternalId: jsii.String("externalId"),
InEntityId: jsii.String("inEntityId"),
InTemplateId: jsii.String("inTemplateId"),
OriginationIdentity: jsii.String("originationIdentity"),
Region: jsii.String("region"),
},
ExternalId: jsii.String("externalId"),
SnsCallerArn: jsii.String("snsCallerArn"),
SnsRegion: jsii.String("snsRegion"),
},
Status: jsii.String("status"),
UserPoolTags: map[string]*string{
"userPoolTagsKey": jsii.String("userPoolTags"),
},
}
Properties
emailConfigurationoptionalIResolvable | CfnUserPoolRegionalConfigurationAttachment.email_configurationoptionaltyping.Union[IResolvable, EmailConfigurationProperty]emailConfigurationoptionalIResolvableEmailConfigurationoptionalIResolvableEmailConfigurationoptionalinterface{} #lambdaConfigoptionalIResolvable | CfnUserPoolRegionalConfigurationAttachment.lambda_configoptionaltyping.Union[IResolvable, LambdaConfigProperty]lambdaConfigoptionalIResolvableLambdaConfigoptionalIResolvableLambdaConfigoptionalinterface{} #smsConfigurationoptionalIResolvable | CfnUserPoolRegionalConfigurationAttachment.sms_configurationoptionaltyping.Union[IResolvable, SmsConfigurationProperty]smsConfigurationoptionalIResolvableSmsConfigurationoptionalIResolvableSmsConfigurationoptionalinterface{} #statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #The status of the replica.
Set to ACTIVE or INACTIVE.
userPoolTagsoptional{ [key: string]: string }user_pool_tagsoptionaltyping.Mapping[str, str]userPoolTagsoptionalMap<String, String>UserPoolTagsoptionalIDictionary<string, string>UserPoolTagsoptional*map[string]*string #