ca.wheatstalk.cdkecskeycloak.DatabaseProvider Maven / Gradle / Ivy
Show all versions of cdk-ecs-keycloak Show documentation
package ca.wheatstalk.cdkecskeycloak;
/**
* Convenience interface for providing DatabaseInfo to the cluster.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.29.0 (build 41df200)", date = "2021-04-28T04:27:48.340Z")
@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.DatabaseProvider")
public abstract class DatabaseProvider extends software.amazon.jsii.JsiiObject {
protected DatabaseProvider(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected DatabaseProvider(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
protected DatabaseProvider() {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
}
/**
* Provide a new database instance.
*
* @param props
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.DatabaseInstanceProvider databaseInstance(final @org.jetbrains.annotations.Nullable ca.wheatstalk.cdkecskeycloak.DatabaseInstanceProviderProps props) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(ca.wheatstalk.cdkecskeycloak.DatabaseProvider.class, "databaseInstance", software.amazon.jsii.NativeType.forClass(ca.wheatstalk.cdkecskeycloak.DatabaseInstanceProvider.class), new Object[] { props });
}
/**
* Provide a new database instance.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.DatabaseInstanceProvider databaseInstance() {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(ca.wheatstalk.cdkecskeycloak.DatabaseProvider.class, "databaseInstance", software.amazon.jsii.NativeType.forClass(ca.wheatstalk.cdkecskeycloak.DatabaseInstanceProvider.class));
}
/**
* Provide raw DatabaseInfo.
*
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.IDatabaseInfoProvider fromDatabaseInfo(final @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.DatabaseInfo props) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(ca.wheatstalk.cdkecskeycloak.DatabaseProvider.class, "fromDatabaseInfo", software.amazon.jsii.NativeType.forClass(ca.wheatstalk.cdkecskeycloak.IDatabaseInfoProvider.class), new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* Provide a new serverless aurora cluster.
*
* @param props
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.IDatabaseInfoProvider serverlessAuroraCluster(final @org.jetbrains.annotations.Nullable ca.wheatstalk.cdkecskeycloak.ServerlessAuroraDatabaseProviderProps props) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(ca.wheatstalk.cdkecskeycloak.DatabaseProvider.class, "serverlessAuroraCluster", software.amazon.jsii.NativeType.forClass(ca.wheatstalk.cdkecskeycloak.IDatabaseInfoProvider.class), new Object[] { props });
}
/**
* Provide a new serverless aurora cluster.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.IDatabaseInfoProvider serverlessAuroraCluster() {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(ca.wheatstalk.cdkecskeycloak.DatabaseProvider.class, "serverlessAuroraCluster", software.amazon.jsii.NativeType.forClass(ca.wheatstalk.cdkecskeycloak.IDatabaseInfoProvider.class));
}
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
@software.amazon.jsii.Internal
private static final class Jsii$Proxy extends ca.wheatstalk.cdkecskeycloak.DatabaseProvider {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
}
}