RiskExceptionConfigurationTypeProperty Struct
Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.
| 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 riskExceptionConfigurationTypeProperty: cognito.CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty = {
blockedIpRangeList: ['blockedIpRangeList'],
skippedIpRangeList: ['skippedIpRangeList'],
};
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
// 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();
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" }
};
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
blockedIpRangeListoptionalstring[]blocked_ip_range_listoptionaltyping.List[str]blockedIpRangeListoptionalList<String>BlockedIpRangeListoptionalstring[]BlockedIpRangeListoptional*[]*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.
skippedIpRangeListoptionalstring[]skipped_ip_range_listoptionaltyping.List[str]skippedIpRangeListoptionalList<String>SkippedIpRangeListoptionalstring[]SkippedIpRangeListoptional*[]*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.