@Stability(value=Stable) @Internal public static final class CfnUserPool.SmsConfigurationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnUserPool.SmsConfigurationProperty
CfnUserPool.SmsConfigurationPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnUserPool.SmsConfigurationProperty.Builder, CfnUserPool.SmsConfigurationProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnUserPool.SmsConfigurationProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnUserPool.AccountRecoverySettingProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getExternalId()
The external ID is a value.
|
String |
getSnsCallerArn()
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) caller.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnUserPool.SmsConfigurationProperty.Builder builder)
CfnUserPool.AccountRecoverySettingProperty.Builder.public final String getExternalId()
CfnUserPool.SmsConfigurationProperty
We recommend you use ExternalId to add security to your IAM role, which is used to call Amazon SNS to send SMS messages for your user pool. If you provide an ExternalId , the Cognito User Pool uses it when attempting to assume your IAM role. You can also set your roles trust policy to require the ExternalID . If you use the Cognito Management Console to create a role for SMS MFA, Cognito creates a role with the required permissions and a trust policy that uses ExternalId .
getExternalId in interface CfnUserPool.SmsConfigurationPropertypublic final String getSnsCallerArn()
CfnUserPool.SmsConfigurationPropertyThis is the ARN of the IAM role in your AWS account which Cognito will use to send SMS messages. SMS messages are subject to a spending limit .
getSnsCallerArn in interface CfnUserPool.SmsConfigurationProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.