public static final class CfnUserPool.SmsConfigurationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnUserPool.SmsConfigurationProperty
CfnUserPool.SmsConfigurationProperty
CfnUserPool.SmsConfigurationProperty.Builder, CfnUserPool.SmsConfigurationProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.lang.String |
getExternalId()
The external ID is a value.
|
java.lang.String |
getSnsCallerArn()
The Amazon Resource Name (ARN) of the Amazon SNS caller.
|
java.lang.String |
getSnsRegion()
The AWS Region to use with Amazon SNS integration.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.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.SmsConfigurationProperty
public final java.lang.String getSnsCallerArn()
CfnUserPool.SmsConfigurationProperty
This is the ARN of the IAM role in your AWS account that Amazon Cognito will use to send SMS messages. SMS messages are subject to a spending limit .
getSnsCallerArn
in interface CfnUserPool.SmsConfigurationProperty
public final java.lang.String getSnsRegion()
CfnUserPool.SmsConfigurationProperty
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 .
getSnsRegion
in interface CfnUserPool.SmsConfigurationProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()