# AdvancedSecurityAdditionalFlowsProperty

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

- Source: Generated at build time
- Type last changed: v2.154.0 · 22 Aug 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `customAuthMode`: string — The operating mode of threat protection in custom authentication with [Custom authentication challenge Lambda triggers](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-challenge.html) .
