Class FirewallConfig

    • Method Detail

      • id

        public final String id()

        The ID of the firewall configuration.

        Returns:
        The ID of the firewall configuration.
      • resourceId

        public final String resourceId()

        The ID of the VPC that this firewall configuration applies to.

        Returns:
        The ID of the VPC that this firewall configuration applies to.
      • ownerId

        public final String ownerId()

        The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.

        Returns:
        The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
      • firewallFailOpen

        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().

        Returns:
        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.

        See Also:
        FirewallFailOpenStatus
      • firewallFailOpenAsString

        public 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().

        Returns:
        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.

        See Also:
        FirewallFailOpenStatus
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)