AWSCognitoIdentityProviderSmsMfaConfigType

Objective-C

@interface AWSCognitoIdentityProviderSmsMfaConfigType

Swift

class AWSCognitoIdentityProviderSmsMfaConfigType

The SMS text message multi-factor authentication (MFA) configuration type.

  • The SMS authentication message that will be sent to users with the code they must sign in. The message must contain the ‘{####}’ placeholder, which is replaced with the code. If the message isn’t included, and default message will be used.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable smsAuthenticationMessage;

    Swift

    var smsAuthenticationMessage: String? { get set }
  • The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your Amazon Web Services account through Amazon Simple Notification Service. To request Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management (IAM) role that you provide for your Amazon Web Services account.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSCognitoIdentityProviderSmsConfigurationType *_Nullable smsConfiguration;

    Swift

    var smsConfiguration: AWSCognitoIdentityProviderSmsConfigurationType? { get set }