UserPoolSmsConfiguration constructor
const
UserPoolSmsConfiguration({})
Creates a new UserPoolSmsConfiguration.
externalId External ID used in IAM role trust relationships. For more information about using external IDs, see How to Use an External ID When Granting Access to Your AWS Resources to a Third Party.
snsCallerArn ARN of the Amazon SNS caller. This is usually the IAM role that you've given Cognito permission to assume.
snsRegion The AWS Region to use with Amazon SNS integration. You can choose the same Region as your user pool, or a supported Legacy Amazon SNS alternate Region. Amazon Cognito resources in the Asia Pacific (Seoul) AWS Region must use your Amazon SNS configuration in the Asia Pacific (Tokyo) Region. For more information, see SMS message settings for Amazon Cognito user pools.
Implementation
const UserPoolSmsConfiguration({
required this.externalId,
required this.snsCallerArn,
this.snsRegion,
});