[{"data":1,"prerenderedAt":65},["ShallowReactive",2],{"pattern-cognito-sns-sms-origination-id":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":13,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":25,"language":29,"level":30,"meta":31,"patternArch":32,"resources":51,"s3URL":6,"services":6,"stem":60,"testing":61,"videoId":6,"__hash__":64},"patterns\u002Fpatterns\u002Fcognito-sns-sms-origination-id.json","Amazon Cognito - Amazon SNS SMS Origination Id",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11,12],"content\u002Fcontributors\u002Fvinodh-kannan-sadayamuthu.json","content\u002Fcontributors\u002Fsarath-kumar-ks.json",{"text":14},[15],"cdk deploy","This pattern creates an Amazon Cognito user pool and an AWS Lambda function.","json","AWS CDK",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fcognito-sns-sms-origination-id","serverless-patterns\u002Fcognito-sns-sms-origination-id","cognito-sns-sms-origination-id","lib\u002Fcognito-sns-sms-origination-identity-stack.ts",{"headline":26,"text":27},"How it works",[28],"This pattern deploys an Amazon Cognito user pool and an AWS Lambda function with required polices. Amazon Cognito sends SMS on your behalf by publishing the request to send SMS for MFA and other use cases. Cognito uses the default settings when choosing origination IDs. If you cannot secure the same origination ID, or if you operate with multiple origination IDs with your account, you will need to select the correct origination ID for your Cognito use cases. This solution will provide guidance on how to use Cognito with Lambda triggers to select origination IDs to suit your needs.","TypeScript","300",{},{"icon1":33,"icon2":38,"icon3":41,"line1":45,"line2":49},{"x":34,"y":35,"service":36,"label":37},20,50,"cognito","Amazon Cognito",{"x":35,"y":35,"service":39,"label":40},"lambda","AWS Lambda",{"x":42,"y":35,"service":43,"label":44},80,"sns","Amazon SNS",{"from":46,"to":47,"label":48},"icon1","icon2","",{"from":47,"to":50,"label":48},"icon3",{"bullets":52},[53,55,57],{"text":37,"link":54},"https:\u002F\u002Faws.amazon.com\u002Fcognito\u002F",{"text":44,"link":56},"https:\u002F\u002Faws.amazon.com\u002Fsns\u002F",{"text":58,"link":59},"Custom SMS sender Lambda trigger","https:\u002F\u002Fdocs.aws.amazon.com\u002Fcognito\u002Flatest\u002Fdeveloperguide\u002Fuser-pool-lambda-custom-sms-sender.html","patterns\u002Fcognito-sns-sms-origination-id",{"text":62},[63],"See the GitHub repo for detailed testing instructions.","vdy2ME_BOTtw0gRa9vCzbw1l3TDwVeVrLoOz1R_aXFE",1778846884009]