Skip to content
v2.278.0

AdvancedSecurityAdditionalFlowsProperty Struct ​

Threat protection configuration options for additional authentication types in your user pool, including custom authentication.

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 advancedSecurityAdditionalFlowsProperty: cognito.CfnUserPool.AdvancedSecurityAdditionalFlowsProperty = {
  customAuthMode: 'customAuthMode',
};
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

advanced_security_additional_flows_property = cognito.CfnUserPool.AdvancedSecurityAdditionalFlowsProperty(
    custom_auth_mode="customAuthMode"
)
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.*;

AdvancedSecurityAdditionalFlowsProperty advancedSecurityAdditionalFlowsProperty = AdvancedSecurityAdditionalFlowsProperty.builder()
        .customAuthMode("customAuthMode")
        .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 advancedSecurityAdditionalFlowsProperty = new AdvancedSecurityAdditionalFlowsProperty {
    CustomAuthMode = "customAuthMode"
};
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"

advancedSecurityAdditionalFlowsProperty := &AdvancedSecurityAdditionalFlowsProperty{
	CustomAuthMode: jsii.String("customAuthMode"),
}

Properties ​

customAuthModeoptionalstringcustom_auth_modeoptionalstrcustomAuthModeoptionalStringCustomAuthModeoptionalstringCustomAuthModeoptional*string #
The operating mode of threat protection in custom authentication with Custom authentication challenge Lambda triggers .