All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ca.wheatstalk.cdkecskeycloak.HttpsAlbPortPublisher Maven / Gradle / Ivy

There is a newer version: 0.0.164
Show newest version
package ca.wheatstalk.cdkecskeycloak;

/**
 * Creates an application load balancer and an HTTPS listener with the given ACM certificates.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.29.0 (build 41df200)", date = "2021-04-28T04:27:48.356Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = ca.wheatstalk.cdkecskeycloak.$Module.class, fqn = "@wheatstalk/cdk-ecs-keycloak.HttpsAlbPortPublisher")
public class HttpsAlbPortPublisher extends software.amazon.jsii.JsiiObject implements ca.wheatstalk.cdkecskeycloak.IPortPublisher {

    protected HttpsAlbPortPublisher(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected HttpsAlbPortPublisher(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    /**
     * @param props This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public HttpsAlbPortPublisher(final @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.HttpsAlbPortPublisherProps props) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
    }

    /**
     * A fluent builder for {@link ca.wheatstalk.cdkecskeycloak.HttpsAlbPortPublisher}.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public static final class Builder implements software.amazon.jsii.Builder {
        /**
         * @return a new instance of {@link Builder}.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
        public static Builder create() {
            return new Builder();
        }

        private final ca.wheatstalk.cdkecskeycloak.HttpsAlbPortPublisherProps.Builder props;

        private Builder() {
            this.props = new ca.wheatstalk.cdkecskeycloak.HttpsAlbPortPublisherProps.Builder();
        }

        /**
         * Enable health checking on this endpoint.
         * 

* Default: true *

* @return {@code this} * @param healthCheck Enable health checking on this endpoint. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder healthCheck(final java.lang.Boolean healthCheck) { this.props.healthCheck(healthCheck); return this; } /** * Scope ID of the load balancer. *

* Default: 'LoadBalancer' *

* @return {@code this} * @param id Scope ID of the load balancer. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder id(final java.lang.String id) { this.props.id(id); return this; } /** * Certificates to use for the ALB listener. *

* @return {@code this} * @param certificates Certificates to use for the ALB listener. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder certificates(final java.util.List certificates) { this.props.certificates(certificates); return this; } /** * Upgrade HTTP connection to HTTPS. *

* Default: false *

* @return {@code this} * @param upgradeHttp Upgrade HTTP connection to HTTPS. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder upgradeHttp(final java.lang.Boolean upgradeHttp) { this.props.upgradeHttp(upgradeHttp); return this; } /** * A host name to redirect to when upgrading to HTTPS. *

* Default: - same as the request *

* @return {@code this} * @param upgradeHttpHost A host name to redirect to when upgrading to HTTPS. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder upgradeHttpHost(final java.lang.String upgradeHttpHost) { this.props.upgradeHttpHost(upgradeHttpHost); return this; } /** * @returns a newly built instance of {@link ca.wheatstalk.cdkecskeycloak.HttpsAlbPortPublisher}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public ca.wheatstalk.cdkecskeycloak.HttpsAlbPortPublisher build() { return new ca.wheatstalk.cdkecskeycloak.HttpsAlbPortPublisher( this.props.build() ); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy