# RiskExceptionConfigurationTypeProperty

Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## 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 riskExceptionConfigurationTypeProperty: cognito.CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty = {
  blockedIpRangeList: ['blockedIpRangeList'],
  skippedIpRangeList: ['skippedIpRangeList'],
};
```

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

risk_exception_configuration_type_property = cognito.CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty(
    blocked_ip_range_list=["blockedIpRangeList"],
    skipped_ip_range_list=["skippedIpRangeList"]
)
```

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.*;

RiskExceptionConfigurationTypeProperty riskExceptionConfigurationTypeProperty = RiskExceptionConfigurationTypeProperty.builder()
        .blockedIpRangeList(List.of("blockedIpRangeList"))
        .skippedIpRangeList(List.of("skippedIpRangeList"))
        .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 riskExceptionConfigurationTypeProperty = new RiskExceptionConfigurationTypeProperty {
    BlockedIpRangeList = new [] { "blockedIpRangeList" },
    SkippedIpRangeList = new [] { "skippedIpRangeList" }
};
```

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"

riskExceptionConfigurationTypeProperty := &RiskExceptionConfigurationTypeProperty{
	BlockedIpRangeList: []*string{
		jsii.String("blockedIpRangeList"),
	},
	SkippedIpRangeList: []*string{
		jsii.String("skippedIpRangeList"),
	},
}
```

## Properties

- `blockedIpRangeList`: string[] — An always-block IP address list.

  Overrides the risk decision and always blocks authentication requests. This parameter is displayed and set in CIDR notation.

- `skippedIpRangeList`: string[] — An always-allow IP address list.

  Risk detection isn't performed on the IP addresses in this range list. This parameter is displayed and set in CIDR notation.
