com.pulumi.aws.cognito.outputs.RiskConfigurationRiskExceptionConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.cognito.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class RiskConfigurationRiskExceptionConfiguration {
/**
* @return Overrides the risk decision to always block the pre-authentication requests.
* The IP range is in CIDR notation, a compact representation of an IP address and its routing prefix.
* Can contain a maximum of 200 items.
*
*/
private @Nullable List blockedIpRangeLists;
/**
* @return Risk detection isn't performed on the IP addresses in this range list.
* The IP range is in CIDR notation.
* Can contain a maximum of 200 items.
*
*/
private @Nullable List skippedIpRangeLists;
private RiskConfigurationRiskExceptionConfiguration() {}
/**
* @return Overrides the risk decision to always block the pre-authentication requests.
* The IP range is in CIDR notation, a compact representation of an IP address and its routing prefix.
* Can contain a maximum of 200 items.
*
*/
public List blockedIpRangeLists() {
return this.blockedIpRangeLists == null ? List.of() : this.blockedIpRangeLists;
}
/**
* @return Risk detection isn't performed on the IP addresses in this range list.
* The IP range is in CIDR notation.
* Can contain a maximum of 200 items.
*
*/
public List skippedIpRangeLists() {
return this.skippedIpRangeLists == null ? List.of() : this.skippedIpRangeLists;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RiskConfigurationRiskExceptionConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List blockedIpRangeLists;
private @Nullable List skippedIpRangeLists;
public Builder() {}
public Builder(RiskConfigurationRiskExceptionConfiguration defaults) {
Objects.requireNonNull(defaults);
this.blockedIpRangeLists = defaults.blockedIpRangeLists;
this.skippedIpRangeLists = defaults.skippedIpRangeLists;
}
@CustomType.Setter
public Builder blockedIpRangeLists(@Nullable List blockedIpRangeLists) {
this.blockedIpRangeLists = blockedIpRangeLists;
return this;
}
public Builder blockedIpRangeLists(String... blockedIpRangeLists) {
return blockedIpRangeLists(List.of(blockedIpRangeLists));
}
@CustomType.Setter
public Builder skippedIpRangeLists(@Nullable List skippedIpRangeLists) {
this.skippedIpRangeLists = skippedIpRangeLists;
return this;
}
public Builder skippedIpRangeLists(String... skippedIpRangeLists) {
return skippedIpRangeLists(List.of(skippedIpRangeLists));
}
public RiskConfigurationRiskExceptionConfiguration build() {
final var _resultValue = new RiskConfigurationRiskExceptionConfiguration();
_resultValue.blockedIpRangeLists = blockedIpRangeLists;
_resultValue.skippedIpRangeLists = skippedIpRangeLists;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy