Interface ServerCertificateConfiguration.Builder

  • Method Details

    • serverCertificates

      ServerCertificateConfiguration.Builder serverCertificates(Collection<ServerCertificate> serverCertificates)

      The list of server certificates to use for inbound SSL/TLS inspection.

      Parameters:
      serverCertificates - The list of server certificates to use for inbound SSL/TLS inspection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverCertificates

      ServerCertificateConfiguration.Builder serverCertificates(ServerCertificate... serverCertificates)

      The list of server certificates to use for inbound SSL/TLS inspection.

      Parameters:
      serverCertificates - The list of server certificates to use for inbound SSL/TLS inspection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverCertificates

      The list of server certificates to use for inbound SSL/TLS inspection.

      This is a convenience method that creates an instance of the ServerCertificate.Builder avoiding the need to create one manually via ServerCertificate.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to serverCertificates(List<ServerCertificate>).

      Parameters:
      serverCertificates - a consumer that will call methods on ServerCertificate.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scopes

      A list of scopes.

      Parameters:
      scopes - A list of scopes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scopes

      A list of scopes.

      Parameters:
      scopes - A list of scopes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scopes

      A list of scopes.

      This is a convenience method that creates an instance of the ServerCertificateScope.Builder avoiding the need to create one manually via ServerCertificateScope.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to scopes(List<ServerCertificateScope>).

      Parameters:
      scopes - a consumer that will call methods on ServerCertificateScope.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • certificateAuthorityArn

      ServerCertificateConfiguration.Builder certificateAuthorityArn(String certificateAuthorityArn)

      The Amazon Resource Name (ARN) of the imported certificate authority (CA) certificate within Certificate Manager (ACM) to use for outbound SSL/TLS inspection.

      The following limitations apply:

      • You can use CA certificates that you imported into ACM, but you can't generate CA certificates with ACM.

      • You can't use certificates issued by Private Certificate Authority.

      For more information about configuring certificates for outbound inspection, see Using SSL/TLS certificates with TLS inspection configurations in the Network Firewall Developer Guide.

      For information about working with certificates in ACM, see Importing certificates in the Certificate Manager User Guide.

      Parameters:
      certificateAuthorityArn - The Amazon Resource Name (ARN) of the imported certificate authority (CA) certificate within Certificate Manager (ACM) to use for outbound SSL/TLS inspection.

      The following limitations apply:

      • You can use CA certificates that you imported into ACM, but you can't generate CA certificates with ACM.

      • You can't use certificates issued by Private Certificate Authority.

      For more information about configuring certificates for outbound inspection, see Using SSL/TLS certificates with TLS inspection configurations in the Network Firewall Developer Guide.

      For information about working with certificates in ACM, see Importing certificates in the Certificate Manager User Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checkCertificateRevocationStatus

      ServerCertificateConfiguration.Builder checkCertificateRevocationStatus(CheckCertificateRevocationStatusActions checkCertificateRevocationStatus)

      When enabled, Network Firewall checks if the server certificate presented by the server in the SSL/TLS connection has a revoked or unkown status. If the certificate has an unknown or revoked status, you must specify the actions that Network Firewall takes on outbound traffic. To check the certificate revocation status, you must also specify a CertificateAuthorityArn in ServerCertificateConfiguration.

      Parameters:
      checkCertificateRevocationStatus - When enabled, Network Firewall checks if the server certificate presented by the server in the SSL/TLS connection has a revoked or unkown status. If the certificate has an unknown or revoked status, you must specify the actions that Network Firewall takes on outbound traffic. To check the certificate revocation status, you must also specify a CertificateAuthorityArn in ServerCertificateConfiguration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checkCertificateRevocationStatus

      default ServerCertificateConfiguration.Builder checkCertificateRevocationStatus(Consumer<CheckCertificateRevocationStatusActions.Builder> checkCertificateRevocationStatus)

      When enabled, Network Firewall checks if the server certificate presented by the server in the SSL/TLS connection has a revoked or unkown status. If the certificate has an unknown or revoked status, you must specify the actions that Network Firewall takes on outbound traffic. To check the certificate revocation status, you must also specify a CertificateAuthorityArn in ServerCertificateConfiguration.

      This is a convenience method that creates an instance of the CheckCertificateRevocationStatusActions.Builder avoiding the need to create one manually via CheckCertificateRevocationStatusActions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to checkCertificateRevocationStatus(CheckCertificateRevocationStatusActions).

      Parameters:
      checkCertificateRevocationStatus - a consumer that will call methods on CheckCertificateRevocationStatusActions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • defaultDecryptionBehavior

      ServerCertificateConfiguration.Builder defaultDecryptionBehavior(String defaultDecryptionBehavior)

      What the firewall does with SSL/TLS traffic that doesn't match any scope in this server certificate configuration. This setting applies only to proxy mode firewalls. If you don't specify a value, the firewall uses BYPASS. You can choose from the following values:

      • BYPASS - The firewall doesn't decrypt the traffic.

      • DECRYPT - The firewall decrypts the traffic for inspection. You can use DECRYPT only if every scope in the configuration sets DeploymentMode to EXPLICIT_PROXY_ONLY .

      Parameters:
      defaultDecryptionBehavior - What the firewall does with SSL/TLS traffic that doesn't match any scope in this server certificate configuration. This setting applies only to proxy mode firewalls. If you don't specify a value, the firewall uses BYPASS. You can choose from the following values:

      • BYPASS - The firewall doesn't decrypt the traffic.

      • DECRYPT - The firewall decrypts the traffic for inspection. You can use DECRYPT only if every scope in the configuration sets DeploymentMode to EXPLICIT_PROXY_ONLY.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • defaultDecryptionBehavior

      ServerCertificateConfiguration.Builder defaultDecryptionBehavior(DecryptionAction defaultDecryptionBehavior)

      What the firewall does with SSL/TLS traffic that doesn't match any scope in this server certificate configuration. This setting applies only to proxy mode firewalls. If you don't specify a value, the firewall uses BYPASS. You can choose from the following values:

      • BYPASS - The firewall doesn't decrypt the traffic.

      • DECRYPT - The firewall decrypts the traffic for inspection. You can use DECRYPT only if every scope in the configuration sets DeploymentMode to EXPLICIT_PROXY_ONLY .

      Parameters:
      defaultDecryptionBehavior - What the firewall does with SSL/TLS traffic that doesn't match any scope in this server certificate configuration. This setting applies only to proxy mode firewalls. If you don't specify a value, the firewall uses BYPASS. You can choose from the following values:

      • BYPASS - The firewall doesn't decrypt the traffic.

      • DECRYPT - The firewall decrypts the traffic for inspection. You can use DECRYPT only if every scope in the configuration sets DeploymentMode to EXPLICIT_PROXY_ONLY.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: