CompromisedCredentialsRiskConfigurationTypeProperty Struct
Settings for compromised-credentials actions and authentication-event sources with advanced security features in full-function ENFORCED mode.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const compromisedCredentialsRiskConfigurationTypeProperty: cognito.CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty = {
actions: {
eventAction: 'eventAction',
},
// the properties below are optional
eventFilter: ['eventFilter'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cognito as cognito
compromised_credentials_risk_configuration_type_property = cognito.CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty(
actions=cognito.CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsTypeProperty(
event_action="eventAction"
),
# the properties below are optional
event_filter=["eventFilter"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;
CompromisedCredentialsRiskConfigurationTypeProperty compromisedCredentialsRiskConfigurationTypeProperty = CompromisedCredentialsRiskConfigurationTypeProperty.builder()
.actions(CompromisedCredentialsActionsTypeProperty.builder()
.eventAction("eventAction")
.build())
// the properties below are optional
.eventFilter(List.of("eventFilter"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var compromisedCredentialsRiskConfigurationTypeProperty = new CompromisedCredentialsRiskConfigurationTypeProperty {
Actions = new CompromisedCredentialsActionsTypeProperty {
EventAction = "eventAction"
},
// the properties below are optional
EventFilter = new [] { "eventFilter" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
compromisedCredentialsRiskConfigurationTypeProperty := &CompromisedCredentialsRiskConfigurationTypeProperty{
Actions: &CompromisedCredentialsActionsTypeProperty{
EventAction: jsii.String("eventAction"),
},
// the properties below are optional
EventFilter: []*string{
jsii.String("eventFilter"),
},
}
Properties
actionsIResolvable | CfnUserPoolRiskConfigurationAttachment.actionstyping.Union[IResolvable, CompromisedCredentialsActionsTypeProperty]actionsIResolvableActionsIResolvableActionsinterface{} required #Settings for the actions that you want your user pool to take when Amazon Cognito detects compromised credentials.
eventFilteroptionalstring[]event_filteroptionaltyping.List[str]eventFilteroptionalList<String>EventFilteroptionalstring[]EventFilteroptional*[]*string #Settings for the sign-in activity where you want to configure compromised-credentials actions.
Defaults to all events.