Class ListenerArgs.Builder

  • Enclosing class:
    ListenerArgs

    public static final class ListenerArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • alpnPolicy

        public ListenerArgs.Builder alpnPolicy​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> alpnPolicy)
        Parameters:
        alpnPolicy - Name of the Application-Layer Protocol Negotiation (ALPN) policy. Can be set if `protocol` is `TLS`. Valid values are `HTTP1Only`, `HTTP2Only`, `HTTP2Optional`, `HTTP2Preferred`, and `None`.
        Returns:
        builder
      • alpnPolicy

        public ListenerArgs.Builder alpnPolicy​(java.lang.String alpnPolicy)
        Parameters:
        alpnPolicy - Name of the Application-Layer Protocol Negotiation (ALPN) policy. Can be set if `protocol` is `TLS`. Valid values are `HTTP1Only`, `HTTP2Only`, `HTTP2Optional`, `HTTP2Preferred`, and `None`.
        Returns:
        builder
      • certificateArn

        public ListenerArgs.Builder certificateArn​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> certificateArn)
        Parameters:
        certificateArn - ARN of the default SSL server certificate. Exactly one certificate is required if the protocol is HTTPS. For adding additional SSL certificates, see the `aws.lb.ListenerCertificate` resource.
        Returns:
        builder
      • certificateArn

        public ListenerArgs.Builder certificateArn​(java.lang.String certificateArn)
        Parameters:
        certificateArn - ARN of the default SSL server certificate. Exactly one certificate is required if the protocol is HTTPS. For adding additional SSL certificates, see the `aws.lb.ListenerCertificate` resource.
        Returns:
        builder
      • defaultActions

        public ListenerArgs.Builder defaultActions​(com.pulumi.core.Output<java.util.List<ListenerDefaultActionArgs>> defaultActions)
        Parameters:
        defaultActions - Configuration block for default actions. See below.
        Returns:
        builder
      • loadBalancerArn

        public ListenerArgs.Builder loadBalancerArn​(com.pulumi.core.Output<java.lang.String> loadBalancerArn)
        Parameters:
        loadBalancerArn - ARN of the load balancer. The following arguments are optional:
        Returns:
        builder
      • loadBalancerArn

        public ListenerArgs.Builder loadBalancerArn​(java.lang.String loadBalancerArn)
        Parameters:
        loadBalancerArn - ARN of the load balancer. The following arguments are optional:
        Returns:
        builder
      • mutualAuthentication

        public ListenerArgs.Builder mutualAuthentication​(@Nullable
                                                         com.pulumi.core.Output<ListenerMutualAuthenticationArgs> mutualAuthentication)
        Parameters:
        mutualAuthentication - The mutual authentication configuration information. See below.
        Returns:
        builder
      • port

        public ListenerArgs.Builder port​(@Nullable
                                         com.pulumi.core.Output<java.lang.Integer> port)
        Parameters:
        port - Port on which the load balancer is listening. Not valid for Gateway Load Balancers.
        Returns:
        builder
      • port

        public ListenerArgs.Builder port​(java.lang.Integer port)
        Parameters:
        port - Port on which the load balancer is listening. Not valid for Gateway Load Balancers.
        Returns:
        builder
      • protocol

        public ListenerArgs.Builder protocol​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> protocol)
        Parameters:
        protocol - Protocol for connections from clients to the load balancer. For Application Load Balancers, valid values are `HTTP` and `HTTPS`, with a default of `HTTP`. For Network Load Balancers, valid values are `TCP`, `TLS`, `UDP`, `TCP_UDP`, `QUIC`, and `TCP_QUIC`. Not valid to use `UDP` or `TCP_UDP` if dual-stack mode is enabled. Not valid to use `QUIC` or `TCP_QUIC` if security groups are configured or dual-stack mode is enabled. Not valid for Gateway Load Balancers.
        Returns:
        builder
      • protocol

        public ListenerArgs.Builder protocol​(java.lang.String protocol)
        Parameters:
        protocol - Protocol for connections from clients to the load balancer. For Application Load Balancers, valid values are `HTTP` and `HTTPS`, with a default of `HTTP`. For Network Load Balancers, valid values are `TCP`, `TLS`, `UDP`, `TCP_UDP`, `QUIC`, and `TCP_QUIC`. Not valid to use `UDP` or `TCP_UDP` if dual-stack mode is enabled. Not valid to use `QUIC` or `TCP_QUIC` if security groups are configured or dual-stack mode is enabled. Not valid for Gateway Load Balancers.
        Returns:
        builder
      • region

        public ListenerArgs.Builder region​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public ListenerArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • routingHttpRequestXAmznMtlsClientcertHeaderName

        public ListenerArgs.Builder routingHttpRequestXAmznMtlsClientcertHeaderName​(@Nullable
                                                                                    com.pulumi.core.Output<java.lang.String> routingHttpRequestXAmznMtlsClientcertHeaderName)
        Parameters:
        routingHttpRequestXAmznMtlsClientcertHeaderName - Enables you to modify the header name of the `X-Amzn-Mtls-Clientcert` HTTP request header. Can only be set if protocol is `HTTPS` for Application Load Balancers.
        Returns:
        builder
      • routingHttpRequestXAmznMtlsClientcertHeaderName

        public ListenerArgs.Builder routingHttpRequestXAmznMtlsClientcertHeaderName​(java.lang.String routingHttpRequestXAmznMtlsClientcertHeaderName)
        Parameters:
        routingHttpRequestXAmznMtlsClientcertHeaderName - Enables you to modify the header name of the `X-Amzn-Mtls-Clientcert` HTTP request header. Can only be set if protocol is `HTTPS` for Application Load Balancers.
        Returns:
        builder
      • routingHttpRequestXAmznMtlsClientcertIssuerHeaderName

        public ListenerArgs.Builder routingHttpRequestXAmznMtlsClientcertIssuerHeaderName​(@Nullable
                                                                                          com.pulumi.core.Output<java.lang.String> routingHttpRequestXAmznMtlsClientcertIssuerHeaderName)
        Parameters:
        routingHttpRequestXAmznMtlsClientcertIssuerHeaderName - Enables you to modify the header name of the `X-Amzn-Mtls-Clientcert-Issuer` HTTP request header. Can only be set if protocol is `HTTPS` for Application Load Balancers.
        Returns:
        builder
      • routingHttpRequestXAmznMtlsClientcertIssuerHeaderName

        public ListenerArgs.Builder routingHttpRequestXAmznMtlsClientcertIssuerHeaderName​(java.lang.String routingHttpRequestXAmznMtlsClientcertIssuerHeaderName)
        Parameters:
        routingHttpRequestXAmznMtlsClientcertIssuerHeaderName - Enables you to modify the header name of the `X-Amzn-Mtls-Clientcert-Issuer` HTTP request header. Can only be set if protocol is `HTTPS` for Application Load Balancers.
        Returns:
        builder
      • routingHttpRequestXAmznMtlsClientcertLeafHeaderName

        public ListenerArgs.Builder routingHttpRequestXAmznMtlsClientcertLeafHeaderName​(@Nullable
                                                                                        com.pulumi.core.Output<java.lang.String> routingHttpRequestXAmznMtlsClientcertLeafHeaderName)
        Parameters:
        routingHttpRequestXAmznMtlsClientcertLeafHeaderName - Enables you to modify the header name of the `X-Amzn-Mtls-Clientcert-Leaf` HTTP request header. Can only be set if protocol is `HTTPS` for Application Load Balancers.
        Returns:
        builder
      • routingHttpRequestXAmznMtlsClientcertLeafHeaderName

        public ListenerArgs.Builder routingHttpRequestXAmznMtlsClientcertLeafHeaderName​(java.lang.String routingHttpRequestXAmznMtlsClientcertLeafHeaderName)
        Parameters:
        routingHttpRequestXAmznMtlsClientcertLeafHeaderName - Enables you to modify the header name of the `X-Amzn-Mtls-Clientcert-Leaf` HTTP request header. Can only be set if protocol is `HTTPS` for Application Load Balancers.
        Returns:
        builder
      • routingHttpRequestXAmznMtlsClientcertSerialNumberHeaderName

        public ListenerArgs.Builder routingHttpRequestXAmznMtlsClientcertSerialNumberHeaderName​(@Nullable
                                                                                                com.pulumi.core.Output<java.lang.String> routingHttpRequestXAmznMtlsClientcertSerialNumberHeaderName)
        Parameters:
        routingHttpRequestXAmznMtlsClientcertSerialNumberHeaderName - Enables you to modify the header name of the `X-Amzn-Mtls-Clientcert-Serial-Number` HTTP request header. Can only be set if protocol is `HTTPS` for Application Load Balancers.
        Returns:
        builder
      • routingHttpRequestXAmznMtlsClientcertSerialNumberHeaderName

        public ListenerArgs.Builder routingHttpRequestXAmznMtlsClientcertSerialNumberHeaderName​(java.lang.String routingHttpRequestXAmznMtlsClientcertSerialNumberHeaderName)
        Parameters:
        routingHttpRequestXAmznMtlsClientcertSerialNumberHeaderName - Enables you to modify the header name of the `X-Amzn-Mtls-Clientcert-Serial-Number` HTTP request header. Can only be set if protocol is `HTTPS` for Application Load Balancers.
        Returns:
        builder
      • routingHttpRequestXAmznMtlsClientcertSubjectHeaderName

        public ListenerArgs.Builder routingHttpRequestXAmznMtlsClientcertSubjectHeaderName​(@Nullable
                                                                                           com.pulumi.core.Output<java.lang.String> routingHttpRequestXAmznMtlsClientcertSubjectHeaderName)
        Parameters:
        routingHttpRequestXAmznMtlsClientcertSubjectHeaderName - Enables you to modify the header name of the `X-Amzn-Mtls-Clientcert-Subject` HTTP request header. Can only be set if protocol is `HTTPS` for Application Load Balancers.
        Returns:
        builder
      • routingHttpRequestXAmznMtlsClientcertSubjectHeaderName

        public ListenerArgs.Builder routingHttpRequestXAmznMtlsClientcertSubjectHeaderName​(java.lang.String routingHttpRequestXAmznMtlsClientcertSubjectHeaderName)
        Parameters:
        routingHttpRequestXAmznMtlsClientcertSubjectHeaderName - Enables you to modify the header name of the `X-Amzn-Mtls-Clientcert-Subject` HTTP request header. Can only be set if protocol is `HTTPS` for Application Load Balancers.
        Returns:
        builder
      • routingHttpRequestXAmznMtlsClientcertValidityHeaderName

        public ListenerArgs.Builder routingHttpRequestXAmznMtlsClientcertValidityHeaderName​(@Nullable
                                                                                            com.pulumi.core.Output<java.lang.String> routingHttpRequestXAmznMtlsClientcertValidityHeaderName)
        Parameters:
        routingHttpRequestXAmznMtlsClientcertValidityHeaderName - Enables you to modify the header name of the `X-Amzn-Mtls-Clientcert-Validity` HTTP request header. Can only be set if protocol is `HTTPS` for Application Load Balancers.
        Returns:
        builder
      • routingHttpRequestXAmznMtlsClientcertValidityHeaderName

        public ListenerArgs.Builder routingHttpRequestXAmznMtlsClientcertValidityHeaderName​(java.lang.String routingHttpRequestXAmznMtlsClientcertValidityHeaderName)
        Parameters:
        routingHttpRequestXAmznMtlsClientcertValidityHeaderName - Enables you to modify the header name of the `X-Amzn-Mtls-Clientcert-Validity` HTTP request header. Can only be set if protocol is `HTTPS` for Application Load Balancers.
        Returns:
        builder
      • routingHttpRequestXAmznTlsCipherSuiteHeaderName

        public ListenerArgs.Builder routingHttpRequestXAmznTlsCipherSuiteHeaderName​(@Nullable
                                                                                    com.pulumi.core.Output<java.lang.String> routingHttpRequestXAmznTlsCipherSuiteHeaderName)
        Parameters:
        routingHttpRequestXAmznTlsCipherSuiteHeaderName - Enables you to modify the header name of the `X-Amzn-Tls-Cipher-Suite` HTTP request header. Can only be set if protocol is `HTTPS` for Application Load Balancers.
        Returns:
        builder
      • routingHttpRequestXAmznTlsCipherSuiteHeaderName

        public ListenerArgs.Builder routingHttpRequestXAmznTlsCipherSuiteHeaderName​(java.lang.String routingHttpRequestXAmznTlsCipherSuiteHeaderName)
        Parameters:
        routingHttpRequestXAmznTlsCipherSuiteHeaderName - Enables you to modify the header name of the `X-Amzn-Tls-Cipher-Suite` HTTP request header. Can only be set if protocol is `HTTPS` for Application Load Balancers.
        Returns:
        builder
      • routingHttpRequestXAmznTlsVersionHeaderName

        public ListenerArgs.Builder routingHttpRequestXAmznTlsVersionHeaderName​(@Nullable
                                                                                com.pulumi.core.Output<java.lang.String> routingHttpRequestXAmznTlsVersionHeaderName)
        Parameters:
        routingHttpRequestXAmznTlsVersionHeaderName - Enables you to modify the header name of the `X-Amzn-Tls-Version` HTTP request header. Can only be set if protocol is `HTTPS` for Application Load Balancers.
        Returns:
        builder
      • routingHttpRequestXAmznTlsVersionHeaderName

        public ListenerArgs.Builder routingHttpRequestXAmznTlsVersionHeaderName​(java.lang.String routingHttpRequestXAmznTlsVersionHeaderName)
        Parameters:
        routingHttpRequestXAmznTlsVersionHeaderName - Enables you to modify the header name of the `X-Amzn-Tls-Version` HTTP request header. Can only be set if protocol is `HTTPS` for Application Load Balancers.
        Returns:
        builder
      • routingHttpResponseAccessControlAllowCredentialsHeaderValue

        public ListenerArgs.Builder routingHttpResponseAccessControlAllowCredentialsHeaderValue​(@Nullable
                                                                                                com.pulumi.core.Output<java.lang.String> routingHttpResponseAccessControlAllowCredentialsHeaderValue)
        Parameters:
        routingHttpResponseAccessControlAllowCredentialsHeaderValue - Specifies which headers the browser can expose to the requesting client. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. The only valid value is `true`.
        Returns:
        builder
      • routingHttpResponseAccessControlAllowCredentialsHeaderValue

        public ListenerArgs.Builder routingHttpResponseAccessControlAllowCredentialsHeaderValue​(java.lang.String routingHttpResponseAccessControlAllowCredentialsHeaderValue)
        Parameters:
        routingHttpResponseAccessControlAllowCredentialsHeaderValue - Specifies which headers the browser can expose to the requesting client. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. The only valid value is `true`.
        Returns:
        builder
      • routingHttpResponseAccessControlAllowHeadersHeaderValue

        public ListenerArgs.Builder routingHttpResponseAccessControlAllowHeadersHeaderValue​(@Nullable
                                                                                            com.pulumi.core.Output<java.lang.String> routingHttpResponseAccessControlAllowHeadersHeaderValue)
        Parameters:
        routingHttpResponseAccessControlAllowHeadersHeaderValue - Specifies which headers can be used during the request. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. Valid values are `*`, `Accept`, `Accept-Language`, `Cache-Control`, `Content-Language`, `Content-Length`, `Content-Type`, `Expires`, `Last-Modified`, `Pragma`. Dependent on your use-case other headers can be exposed and then set as a value consult the Access-Control-Allow-Headers documentation.
        Returns:
        builder
      • routingHttpResponseAccessControlAllowHeadersHeaderValue

        public ListenerArgs.Builder routingHttpResponseAccessControlAllowHeadersHeaderValue​(java.lang.String routingHttpResponseAccessControlAllowHeadersHeaderValue)
        Parameters:
        routingHttpResponseAccessControlAllowHeadersHeaderValue - Specifies which headers can be used during the request. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. Valid values are `*`, `Accept`, `Accept-Language`, `Cache-Control`, `Content-Language`, `Content-Length`, `Content-Type`, `Expires`, `Last-Modified`, `Pragma`. Dependent on your use-case other headers can be exposed and then set as a value consult the Access-Control-Allow-Headers documentation.
        Returns:
        builder
      • routingHttpResponseAccessControlAllowMethodsHeaderValue

        public ListenerArgs.Builder routingHttpResponseAccessControlAllowMethodsHeaderValue​(@Nullable
                                                                                            com.pulumi.core.Output<java.lang.String> routingHttpResponseAccessControlAllowMethodsHeaderValue)
        Parameters:
        routingHttpResponseAccessControlAllowMethodsHeaderValue - Set which HTTP methods are allowed when accessing the server from a different origin. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. Valid values are `GET`, `HEAD`, `POST`, `DELETE`, `CONNECT`, `OPTIONS`, `TRACE` or `PATCH`.
        Returns:
        builder
      • routingHttpResponseAccessControlAllowMethodsHeaderValue

        public ListenerArgs.Builder routingHttpResponseAccessControlAllowMethodsHeaderValue​(java.lang.String routingHttpResponseAccessControlAllowMethodsHeaderValue)
        Parameters:
        routingHttpResponseAccessControlAllowMethodsHeaderValue - Set which HTTP methods are allowed when accessing the server from a different origin. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. Valid values are `GET`, `HEAD`, `POST`, `DELETE`, `CONNECT`, `OPTIONS`, `TRACE` or `PATCH`.
        Returns:
        builder
      • routingHttpResponseAccessControlAllowOriginHeaderValue

        public ListenerArgs.Builder routingHttpResponseAccessControlAllowOriginHeaderValue​(@Nullable
                                                                                           com.pulumi.core.Output<java.lang.String> routingHttpResponseAccessControlAllowOriginHeaderValue)
        Parameters:
        routingHttpResponseAccessControlAllowOriginHeaderValue - Specifies which origins are allowed to access the server. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. A valid value is a URI, eg: `https://example.com`.
        Returns:
        builder
      • routingHttpResponseAccessControlAllowOriginHeaderValue

        public ListenerArgs.Builder routingHttpResponseAccessControlAllowOriginHeaderValue​(java.lang.String routingHttpResponseAccessControlAllowOriginHeaderValue)
        Parameters:
        routingHttpResponseAccessControlAllowOriginHeaderValue - Specifies which origins are allowed to access the server. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. A valid value is a URI, eg: `https://example.com`.
        Returns:
        builder
      • routingHttpResponseAccessControlExposeHeadersHeaderValue

        public ListenerArgs.Builder routingHttpResponseAccessControlExposeHeadersHeaderValue​(@Nullable
                                                                                             com.pulumi.core.Output<java.lang.String> routingHttpResponseAccessControlExposeHeadersHeaderValue)
        Parameters:
        routingHttpResponseAccessControlExposeHeadersHeaderValue - Specifies whether the browser should include credentials such as cookies or authentication when making requests. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. Valid values are `*`, `Cache-Control`, `Content-Language`, `Content-Length`, `Content-Type`, `Expires`, `Last-Modified`, or `Pragma`. Dependent on your use-case other headers can be exposed, consult the Access-Control-Expose-Headers documentation.
        Returns:
        builder
      • routingHttpResponseAccessControlExposeHeadersHeaderValue

        public ListenerArgs.Builder routingHttpResponseAccessControlExposeHeadersHeaderValue​(java.lang.String routingHttpResponseAccessControlExposeHeadersHeaderValue)
        Parameters:
        routingHttpResponseAccessControlExposeHeadersHeaderValue - Specifies whether the browser should include credentials such as cookies or authentication when making requests. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. Valid values are `*`, `Cache-Control`, `Content-Language`, `Content-Length`, `Content-Type`, `Expires`, `Last-Modified`, or `Pragma`. Dependent on your use-case other headers can be exposed, consult the Access-Control-Expose-Headers documentation.
        Returns:
        builder
      • routingHttpResponseAccessControlMaxAgeHeaderValue

        public ListenerArgs.Builder routingHttpResponseAccessControlMaxAgeHeaderValue​(@Nullable
                                                                                      com.pulumi.core.Output<java.lang.String> routingHttpResponseAccessControlMaxAgeHeaderValue)
        Parameters:
        routingHttpResponseAccessControlMaxAgeHeaderValue - Specifies how long the results of a preflight request can be cached, in seconds. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. Valid values are between `0` and `86400`. This value is browser specific, consult the Access-Control-Max-Age documentation.
        Returns:
        builder
      • routingHttpResponseAccessControlMaxAgeHeaderValue

        public ListenerArgs.Builder routingHttpResponseAccessControlMaxAgeHeaderValue​(java.lang.String routingHttpResponseAccessControlMaxAgeHeaderValue)
        Parameters:
        routingHttpResponseAccessControlMaxAgeHeaderValue - Specifies how long the results of a preflight request can be cached, in seconds. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. Valid values are between `0` and `86400`. This value is browser specific, consult the Access-Control-Max-Age documentation.
        Returns:
        builder
      • routingHttpResponseContentSecurityPolicyHeaderValue

        public ListenerArgs.Builder routingHttpResponseContentSecurityPolicyHeaderValue​(@Nullable
                                                                                        com.pulumi.core.Output<java.lang.String> routingHttpResponseContentSecurityPolicyHeaderValue)
        Parameters:
        routingHttpResponseContentSecurityPolicyHeaderValue - Specifies restrictions enforced by the browser to help minimize the risk of certain types of security threats. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. Values for this are extensive, and can be impactful when set, consult Content-Security-Policy documentation.
        Returns:
        builder
      • routingHttpResponseContentSecurityPolicyHeaderValue

        public ListenerArgs.Builder routingHttpResponseContentSecurityPolicyHeaderValue​(java.lang.String routingHttpResponseContentSecurityPolicyHeaderValue)
        Parameters:
        routingHttpResponseContentSecurityPolicyHeaderValue - Specifies restrictions enforced by the browser to help minimize the risk of certain types of security threats. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. Values for this are extensive, and can be impactful when set, consult Content-Security-Policy documentation.
        Returns:
        builder
      • routingHttpResponseServerEnabled

        public ListenerArgs.Builder routingHttpResponseServerEnabled​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.Boolean> routingHttpResponseServerEnabled)
        Parameters:
        routingHttpResponseServerEnabled - Enables you to allow or remove the HTTP response server header. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. Valid values are `true` or `false`.
        Returns:
        builder
      • routingHttpResponseServerEnabled

        public ListenerArgs.Builder routingHttpResponseServerEnabled​(java.lang.Boolean routingHttpResponseServerEnabled)
        Parameters:
        routingHttpResponseServerEnabled - Enables you to allow or remove the HTTP response server header. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. Valid values are `true` or `false`.
        Returns:
        builder
      • routingHttpResponseStrictTransportSecurityHeaderValue

        public ListenerArgs.Builder routingHttpResponseStrictTransportSecurityHeaderValue​(@Nullable
                                                                                          com.pulumi.core.Output<java.lang.String> routingHttpResponseStrictTransportSecurityHeaderValue)
        Parameters:
        routingHttpResponseStrictTransportSecurityHeaderValue - Informs browsers that the site should only be accessed using HTTPS, and that any future attempts to access it using HTTP should automatically be converted to HTTPS. Default values are `max-age=31536000; includeSubDomains; preload` consult the Strict-Transport-Security documentation for further details.
        Returns:
        builder
      • routingHttpResponseStrictTransportSecurityHeaderValue

        public ListenerArgs.Builder routingHttpResponseStrictTransportSecurityHeaderValue​(java.lang.String routingHttpResponseStrictTransportSecurityHeaderValue)
        Parameters:
        routingHttpResponseStrictTransportSecurityHeaderValue - Informs browsers that the site should only be accessed using HTTPS, and that any future attempts to access it using HTTP should automatically be converted to HTTPS. Default values are `max-age=31536000; includeSubDomains; preload` consult the Strict-Transport-Security documentation for further details.
        Returns:
        builder
      • routingHttpResponseXContentTypeOptionsHeaderValue

        public ListenerArgs.Builder routingHttpResponseXContentTypeOptionsHeaderValue​(@Nullable
                                                                                      com.pulumi.core.Output<java.lang.String> routingHttpResponseXContentTypeOptionsHeaderValue)
        Parameters:
        routingHttpResponseXContentTypeOptionsHeaderValue - Indicates whether the MIME types advertised in the Content-Type headers should be followed and not be changed. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. The only valid value is `nosniff`.
        Returns:
        builder
      • routingHttpResponseXContentTypeOptionsHeaderValue

        public ListenerArgs.Builder routingHttpResponseXContentTypeOptionsHeaderValue​(java.lang.String routingHttpResponseXContentTypeOptionsHeaderValue)
        Parameters:
        routingHttpResponseXContentTypeOptionsHeaderValue - Indicates whether the MIME types advertised in the Content-Type headers should be followed and not be changed. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. The only valid value is `nosniff`.
        Returns:
        builder
      • routingHttpResponseXFrameOptionsHeaderValue

        public ListenerArgs.Builder routingHttpResponseXFrameOptionsHeaderValue​(@Nullable
                                                                                com.pulumi.core.Output<java.lang.String> routingHttpResponseXFrameOptionsHeaderValue)
        Parameters:
        routingHttpResponseXFrameOptionsHeaderValue - Indicates whether the browser is allowed to render a page in a frame, iframe, embed or object. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. The only valid values are `DENY`, `SAMEORIGIN`, or `ALLOW-FROM https://example.com`.
        Returns:
        builder
      • routingHttpResponseXFrameOptionsHeaderValue

        public ListenerArgs.Builder routingHttpResponseXFrameOptionsHeaderValue​(java.lang.String routingHttpResponseXFrameOptionsHeaderValue)
        Parameters:
        routingHttpResponseXFrameOptionsHeaderValue - Indicates whether the browser is allowed to render a page in a frame, iframe, embed or object. Can only be set if protocol is `HTTP` or `HTTPS` for Application Load Balancers. Not supported for Network Load Balancer, or with a Gateway Load Balancer. The only valid values are `DENY`, `SAMEORIGIN`, or `ALLOW-FROM https://example.com`.
        Returns:
        builder
      • sslPolicy

        public ListenerArgs.Builder sslPolicy​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> sslPolicy)
        Parameters:
        sslPolicy - Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`. Default is `ELBSecurityPolicy-2016-08`.
        Returns:
        builder
      • sslPolicy

        public ListenerArgs.Builder sslPolicy​(java.lang.String sslPolicy)
        Parameters:
        sslPolicy - Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`. Default is `ELBSecurityPolicy-2016-08`.
        Returns:
        builder
      • tags

        public ListenerArgs.Builder tags​(@Nullable
                                         com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. > **Note::** When a `Name` key is specified in the map, the AWS Console maps the value to the `Name Tag` column value inside the `Listener Rules` table within a specific load balancer listener page. Otherwise, the value resolves to `Default`.
        Returns:
        builder
      • tags

        public ListenerArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. > **Note::** When a `Name` key is specified in the map, the AWS Console maps the value to the `Name Tag` column value inside the `Listener Rules` table within a specific load balancer listener page. Otherwise, the value resolves to `Default`.
        Returns:
        builder
      • tcpIdleTimeoutSeconds

        public ListenerArgs.Builder tcpIdleTimeoutSeconds​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Integer> tcpIdleTimeoutSeconds)
        Parameters:
        tcpIdleTimeoutSeconds - TCP idle timeout value in seconds. Can only be set if protocol is `TCP` on Network Load Balancer, or with a Gateway Load Balancer. Not supported for Application Load Balancers. Valid values are between `60` and `6000` inclusive. Default: `350`.
        Returns:
        builder
      • tcpIdleTimeoutSeconds

        public ListenerArgs.Builder tcpIdleTimeoutSeconds​(java.lang.Integer tcpIdleTimeoutSeconds)
        Parameters:
        tcpIdleTimeoutSeconds - TCP idle timeout value in seconds. Can only be set if protocol is `TCP` on Network Load Balancer, or with a Gateway Load Balancer. Not supported for Application Load Balancers. Valid values are between `60` and `6000` inclusive. Default: `350`.
        Returns:
        builder