Class: AWSCDK::Cognito::CfnUserPoolRiskConfigurationAttachment::CompromisedCredentialsActionsTypeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Cognito::CfnUserPoolRiskConfigurationAttachment::CompromisedCredentialsActionsTypeProperty
- Defined in:
- cognito/cfn_user_pool_risk_configuration_attachment.rb
Overview
Settings for user pool actions when Amazon Cognito detects compromised credentials with advanced security features in full-function ENFORCED mode.
Instance Attribute Summary collapse
-
#event_action ⇒ String
readonly
The action that Amazon Cognito takes when it detects compromised credentials.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(event_action:) ⇒ CompromisedCredentialsActionsTypeProperty
constructor
A new instance of CompromisedCredentialsActionsTypeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(event_action:) ⇒ CompromisedCredentialsActionsTypeProperty
Returns a new instance of CompromisedCredentialsActionsTypeProperty.
699 700 701 702 |
# File 'cognito/cfn_user_pool_risk_configuration_attachment.rb', line 699 def initialize(event_action:) @event_action = event_action Jsii::Type.check_type(@event_action, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "eventAction") end |
Instance Attribute Details
#event_action ⇒ String (readonly)
The action that Amazon Cognito takes when it detects compromised credentials.
708 709 710 |
# File 'cognito/cfn_user_pool_risk_configuration_attachment.rb', line 708 def event_action @event_action end |
Class Method Details
.jsii_properties ⇒ Object
710 711 712 713 714 |
# File 'cognito/cfn_user_pool_risk_configuration_attachment.rb', line 710 def self.jsii_properties { :event_action => "eventAction", } end |
Instance Method Details
#to_jsii ⇒ Object
716 717 718 719 720 721 722 |
# File 'cognito/cfn_user_pool_risk_configuration_attachment.rb', line 716 def to_jsii result = {} result.merge!({ "eventAction" => @event_action, }) result.compact end |