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

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

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

/**
 * Provides a serverless Aurora database cluster.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.29.0 (build 41df200)", date = "2021-04-28T04:27:48.377Z")
@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.ServerlessAuroraDatabaseProvider")
public class ServerlessAuroraDatabaseProvider extends software.amazon.jsii.JsiiObject implements ca.wheatstalk.cdkecskeycloak.IDatabaseInfoProvider {

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

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

    /**
     * @param props
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public ServerlessAuroraDatabaseProvider(final @org.jetbrains.annotations.Nullable ca.wheatstalk.cdkecskeycloak.ServerlessAuroraDatabaseProviderProps props) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { props });
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public ServerlessAuroraDatabaseProvider() {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
    }

    /**
     * A fluent builder for {@link ca.wheatstalk.cdkecskeycloak.ServerlessAuroraDatabaseProvider}.
     */
    @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 ca.wheatstalk.cdkecskeycloak.ServerlessAuroraDatabaseProviderProps.Builder props;

        private Builder() {
        }

        /**
         * Cluster engine.
         * 

* Default: rds.DatabaseClusterEngine.AURORA_MYSQL *

* @return {@code this} * @param engine Cluster engine. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder engine(final software.amazon.awscdk.services.rds.IClusterEngine engine) { this.props().engine(engine); return this; } /** * Scaling options. *

* Default: - 5 minute auto pause, min and max capacity of 1 acu. *

* @return {@code this} * @param scaling Scaling options. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder scaling(final software.amazon.awscdk.services.rds.ServerlessScalingOptions scaling) { this.props().scaling(scaling); return this; } /** * Select subnets to register the database cluster in. *

* @return {@code this} * @param subnets Select subnets to register the database cluster in. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder subnets(final software.amazon.awscdk.services.ec2.SubnetSelection subnets) { this.props().subnets(subnets); return this; } /** * @returns a newly built instance of {@link ca.wheatstalk.cdkecskeycloak.ServerlessAuroraDatabaseProvider}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public ca.wheatstalk.cdkecskeycloak.ServerlessAuroraDatabaseProvider build() { return new ca.wheatstalk.cdkecskeycloak.ServerlessAuroraDatabaseProvider( this.props != null ? this.props.build() : null ); } private ca.wheatstalk.cdkecskeycloak.ServerlessAuroraDatabaseProviderProps.Builder props() { if (this.props == null) { this.props = new ca.wheatstalk.cdkecskeycloak.ServerlessAuroraDatabaseProviderProps.Builder(); } return this.props; } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy