ca.wheatstalk.cdkecskeycloak.ClusterProvider Maven / Gradle / Ivy
Show all versions of cdk-ecs-keycloak Show documentation
package ca.wheatstalk.cdkecskeycloak;
/**
* Convenience interface for providing ClusterInfo to the cluster construct.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.29.0 (build 41df200)", date = "2021-04-28T04:27:48.339Z")
@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.ClusterProvider")
public abstract class ClusterProvider extends software.amazon.jsii.JsiiObject {
protected ClusterProvider(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected ClusterProvider(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
protected ClusterProvider() {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
}
/**
* Create an ECS cluster.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.IClusterInfoProvider cluster() {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(ca.wheatstalk.cdkecskeycloak.ClusterProvider.class, "cluster", software.amazon.jsii.NativeType.forClass(ca.wheatstalk.cdkecskeycloak.IClusterInfoProvider.class));
}
/**
* (experimental) Create an ECS cluster with Fargate Spot support.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.IClusterInfoProvider fargateSpotCluster() {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(ca.wheatstalk.cdkecskeycloak.ClusterProvider.class, "fargateSpotCluster", software.amazon.jsii.NativeType.forClass(ca.wheatstalk.cdkecskeycloak.IClusterInfoProvider.class));
}
/**
* Provide raw clusterInfo.
*
* @param clusterInfo This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.IClusterInfoProvider fromClusterInfo(final @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.ClusterInfo clusterInfo) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(ca.wheatstalk.cdkecskeycloak.ClusterProvider.class, "fromClusterInfo", software.amazon.jsii.NativeType.forClass(ca.wheatstalk.cdkecskeycloak.IClusterInfoProvider.class), new Object[] { java.util.Objects.requireNonNull(clusterInfo, "clusterInfo is required") });
}
/**
* 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.ClusterProvider {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
}
}