Class CfnUserPool.SmsConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnUserPool.SmsConfigurationProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnUserPool.SmsConfigurationProperty
CfnUserPool.SmsConfigurationProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cognito.CfnUserPool.SmsConfigurationProperty
CfnUserPool.SmsConfigurationProperty.Builder, CfnUserPool.SmsConfigurationProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnUserPool.SmsConfigurationProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnUserPool.SmsConfigurationProperty.Builder
.
-
-
Method Details
-
getExternalId
Description copied from interface:CfnUserPool.SmsConfigurationProperty
The external ID is a value.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 anExternalId
, the Cognito User Pool uses it when attempting to assume your IAM role. You can also set your roles trust policy to require theExternalID
. 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 usesExternalId
.- Specified by:
getExternalId
in interfaceCfnUserPool.SmsConfigurationProperty
-
getSnsCallerArn
Description copied from interface:CfnUserPool.SmsConfigurationProperty
The Amazon Resource Name (ARN) of the Amazon SNS caller.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 .
- Specified by:
getSnsCallerArn
in interfaceCfnUserPool.SmsConfigurationProperty
-
getSnsRegion
Description copied from interface:CfnUserPool.SmsConfigurationProperty
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 .
- Specified by:
getSnsRegion
in interfaceCfnUserPool.SmsConfigurationProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-