Class: AWSCDK::Cognito::CfnUserPool::AdvancedSecurityAdditionalFlowsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Cognito::CfnUserPool::AdvancedSecurityAdditionalFlowsProperty
- Defined in:
- cognito/cfn_user_pool.rb
Overview
Threat protection configuration options for additional authentication types in your user pool, including custom authentication.
Instance Attribute Summary collapse
-
#custom_auth_mode ⇒ String?
readonly
The operating mode of threat protection in custom authentication with Custom authentication challenge Lambda triggers .
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(custom_auth_mode: nil) ⇒ AdvancedSecurityAdditionalFlowsProperty
constructor
A new instance of AdvancedSecurityAdditionalFlowsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(custom_auth_mode: nil) ⇒ AdvancedSecurityAdditionalFlowsProperty
Returns a new instance of AdvancedSecurityAdditionalFlowsProperty.
1054 1055 1056 1057 |
# File 'cognito/cfn_user_pool.rb', line 1054 def initialize(custom_auth_mode: nil) @custom_auth_mode = custom_auth_mode Jsii::Type.check_type(@custom_auth_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "customAuthMode") unless @custom_auth_mode.nil? end |
Instance Attribute Details
#custom_auth_mode ⇒ String? (readonly)
The operating mode of threat protection in custom authentication with Custom authentication challenge Lambda triggers .
1063 1064 1065 |
# File 'cognito/cfn_user_pool.rb', line 1063 def custom_auth_mode @custom_auth_mode end |
Class Method Details
.jsii_properties ⇒ Object
1065 1066 1067 1068 1069 |
# File 'cognito/cfn_user_pool.rb', line 1065 def self.jsii_properties { :custom_auth_mode => "customAuthMode", } end |
Instance Method Details
#to_jsii ⇒ Object
1071 1072 1073 1074 1075 1076 1077 |
# File 'cognito/cfn_user_pool.rb', line 1071 def to_jsii result = {} result.merge!({ "customAuthMode" => @custom_auth_mode, }) result.compact end |