@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SmsConfigurationType extends Object implements Serializable, Cloneable, StructuredPojo
The SMS configuration type that includes the settings the Amazon Cognito User Pool must call for the Amazon Simple Notification Service service to send an SMS message from your Amazon Web Services account. The Amazon Cognito User Pool makes the request to the Amazon SNS Service by using an Identity and Access Management role that you provide for your Amazon Web Services account.
| Constructor and Description |
|---|
SmsConfigurationType() |
| Modifier and Type | Method and Description |
|---|---|
SmsConfigurationType |
clone() |
boolean |
equals(Object obj) |
String |
getExternalId()
The external ID is a value that you should use to add security to your IAM role that is used to call Amazon SNS
to send SMS messages for your user pool.
|
String |
getSnsCallerArn()
The Amazon Resource Name (ARN) of the Amazon SNS caller.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setExternalId(String externalId)
The external ID is a value that you should use to add security to your IAM role that is used to call Amazon SNS
to send SMS messages for your user pool.
|
void |
setSnsCallerArn(String snsCallerArn)
The Amazon Resource Name (ARN) of the Amazon SNS caller.
|
String |
toString()
Returns a string representation of this object.
|
SmsConfigurationType |
withExternalId(String externalId)
The external ID is a value that you should use to add security to your IAM role that is used to call Amazon SNS
to send SMS messages for your user pool.
|
SmsConfigurationType |
withSnsCallerArn(String snsCallerArn)
The Amazon Resource Name (ARN) of the Amazon SNS caller.
|
public void setSnsCallerArn(String snsCallerArn)
The Amazon Resource Name (ARN) of the Amazon SNS caller. This is the ARN of the IAM role in your Amazon Web Services account that Amazon Cognito will use to send SMS messages. SMS messages are subject to a spending limit.
snsCallerArn - The Amazon Resource Name (ARN) of the Amazon SNS caller. This is the ARN of the IAM role in your Amazon
Web Services account that Amazon Cognito will use to send SMS messages. SMS messages are subject to a spending limit.public String getSnsCallerArn()
The Amazon Resource Name (ARN) of the Amazon SNS caller. This is the ARN of the IAM role in your Amazon Web Services account that Amazon Cognito will use to send SMS messages. SMS messages are subject to a spending limit.
public SmsConfigurationType withSnsCallerArn(String snsCallerArn)
The Amazon Resource Name (ARN) of the Amazon SNS caller. This is the ARN of the IAM role in your Amazon Web Services account that Amazon Cognito will use to send SMS messages. SMS messages are subject to a spending limit.
snsCallerArn - The Amazon Resource Name (ARN) of the Amazon SNS caller. This is the ARN of the IAM role in your Amazon
Web Services account that Amazon Cognito will use to send SMS messages. SMS messages are subject to a spending limit.public void setExternalId(String externalId)
The external ID is a value that you should use to add security to your IAM role that is used to call Amazon SNS
to send SMS messages for your user pool. If you provide an ExternalId, the Amazon Cognito User Pool
will include it when attempting to assume your IAM role so that you can set your roles trust policy to require
the ExternalID. If you use the Amazon Cognito Management Console to create a role for SMS
multi-factor authentication (MFA), Amazon Cognito will create a role with the required permissions and a trust
policy that demonstrates use of the ExternalId.
For more information about the ExternalId of a role, see How to use an
external ID when granting access to your Amazon Web Services resources to a third party
externalId - The external ID is a value that you should use to add security to your IAM role that is used to call
Amazon SNS to send SMS messages for your user pool. If you provide an ExternalId, the Amazon
Cognito User Pool will include it when attempting to assume your IAM role so that you can set your roles
trust policy to require the ExternalID. If you use the Amazon Cognito Management Console to
create a role for SMS multi-factor authentication (MFA), Amazon Cognito will create a role with the
required permissions and a trust policy that demonstrates use of the ExternalId.
For more information about the ExternalId of a role, see How to
use an external ID when granting access to your Amazon Web Services resources to a third party
public String getExternalId()
The external ID is a value that you should use to add security to your IAM role that is used to call Amazon SNS
to send SMS messages for your user pool. If you provide an ExternalId, the Amazon Cognito User Pool
will include it when attempting to assume your IAM role so that you can set your roles trust policy to require
the ExternalID. If you use the Amazon Cognito Management Console to create a role for SMS
multi-factor authentication (MFA), Amazon Cognito will create a role with the required permissions and a trust
policy that demonstrates use of the ExternalId.
For more information about the ExternalId of a role, see How to use an
external ID when granting access to your Amazon Web Services resources to a third party
ExternalId, the Amazon
Cognito User Pool will include it when attempting to assume your IAM role so that you can set your roles
trust policy to require the ExternalID. If you use the Amazon Cognito Management Console to
create a role for SMS multi-factor authentication (MFA), Amazon Cognito will create a role with the
required permissions and a trust policy that demonstrates use of the ExternalId.
For more information about the ExternalId of a role, see How to
use an external ID when granting access to your Amazon Web Services resources to a third party
public SmsConfigurationType withExternalId(String externalId)
The external ID is a value that you should use to add security to your IAM role that is used to call Amazon SNS
to send SMS messages for your user pool. If you provide an ExternalId, the Amazon Cognito User Pool
will include it when attempting to assume your IAM role so that you can set your roles trust policy to require
the ExternalID. If you use the Amazon Cognito Management Console to create a role for SMS
multi-factor authentication (MFA), Amazon Cognito will create a role with the required permissions and a trust
policy that demonstrates use of the ExternalId.
For more information about the ExternalId of a role, see How to use an
external ID when granting access to your Amazon Web Services resources to a third party
externalId - The external ID is a value that you should use to add security to your IAM role that is used to call
Amazon SNS to send SMS messages for your user pool. If you provide an ExternalId, the Amazon
Cognito User Pool will include it when attempting to assume your IAM role so that you can set your roles
trust policy to require the ExternalID. If you use the Amazon Cognito Management Console to
create a role for SMS multi-factor authentication (MFA), Amazon Cognito will create a role with the
required permissions and a trust policy that demonstrates use of the ExternalId.
For more information about the ExternalId of a role, see How to
use an external ID when granting access to your Amazon Web Services resources to a third party
public String toString()
toString in class ObjectObject.toString()public SmsConfigurationType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.