@Generated(value="software.amazon.awssdk:codegen") public final class FirewallConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FirewallConfig.Builder,FirewallConfig>
Configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
| Modifier and Type | Class and Description |
|---|---|
static interface |
FirewallConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FirewallConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FirewallFailOpenStatus |
firewallFailOpen()
Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS Firewall
fails to receive a reply.
|
String |
firewallFailOpenAsString()
Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS Firewall
fails to receive a reply.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the firewall configuration.
|
String |
ownerId()
The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
|
String |
resourceId()
The ID of the VPC that this firewall configuration applies to.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FirewallConfig.Builder> |
serializableBuilderClass() |
FirewallConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the firewall configuration.
public final String resourceId()
The ID of the VPC that this firewall configuration applies to.
public final String ownerId()
The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
public final FirewallFailOpenStatus firewallFailOpen()
Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply.
By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall returns a failure error when it is unable to properly evaluate a query.
If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them.
This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
If the service returns an enum value that is not available in the current SDK version, firewallFailOpen
will return FirewallFailOpenStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from firewallFailOpenAsString().
By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall returns a failure error when it is unable to properly evaluate a query.
If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them.
This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
FirewallFailOpenStatuspublic final String firewallFailOpenAsString()
Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply.
By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall returns a failure error when it is unable to properly evaluate a query.
If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them.
This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
If the service returns an enum value that is not available in the current SDK version, firewallFailOpen
will return FirewallFailOpenStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from firewallFailOpenAsString().
By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall returns a failure error when it is unable to properly evaluate a query.
If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them.
This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
FirewallFailOpenStatuspublic FirewallConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FirewallConfig.Builder,FirewallConfig>public static FirewallConfig.Builder builder()
public static Class<? extends FirewallConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.