ca.wheatstalk.cdkecskeycloak.IKeycloakTaskDefinition Maven / Gradle / Ivy
Show all versions of cdk-ecs-keycloak Show documentation
package ca.wheatstalk.cdkecskeycloak;
/**
* A Keycloak task definition.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.24.0 (build b722f66)", date = "2021-03-04T07:10:04.620Z")
@software.amazon.jsii.Jsii(module = ca.wheatstalk.cdkecskeycloak.$Module.class, fqn = "@wheatstalk/cdk-ecs-keycloak.IKeycloakTaskDefinition")
@software.amazon.jsii.Jsii.Proxy(IKeycloakTaskDefinition.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public interface IKeycloakTaskDefinition extends software.amazon.jsii.JsiiSerializable {
/**
* The Keycloak container extension.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.KeycloakContainerExtension getKeycloakContainerExtension();
/**
* Configures the health check of the application target group.
*
* @param targetGroup This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
void configureHealthCheck(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationTargetGroup targetGroup);
/**
* Register the task definition with a cloudmap service.
*
* @param cloudMapService This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
void useCloudMapService(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.servicediscovery.IService cloudMapService);
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ca.wheatstalk.cdkecskeycloak.IKeycloakTaskDefinition.Jsii$Default {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* The Keycloak container extension.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public final @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.KeycloakContainerExtension getKeycloakContainerExtension() {
return software.amazon.jsii.Kernel.get(this, "keycloakContainerExtension", software.amazon.jsii.NativeType.forClass(ca.wheatstalk.cdkecskeycloak.KeycloakContainerExtension.class));
}
/**
* Configures the health check of the application target group.
*
* @param targetGroup This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public final void configureHealthCheck(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationTargetGroup targetGroup) {
software.amazon.jsii.Kernel.call(this, "configureHealthCheck", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(targetGroup, "targetGroup is required") });
}
/**
* Register the task definition with a cloudmap service.
*
* @param cloudMapService This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public final void useCloudMapService(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.servicediscovery.IService cloudMapService) {
software.amazon.jsii.Kernel.call(this, "useCloudMapService", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(cloudMapService, "cloudMapService is required") });
}
}
/**
* Internal default implementation for {@link IKeycloakTaskDefinition}.
*/
@software.amazon.jsii.Internal
interface Jsii$Default extends IKeycloakTaskDefinition {
/**
* The Keycloak container extension.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.KeycloakContainerExtension getKeycloakContainerExtension() {
return software.amazon.jsii.Kernel.get(this, "keycloakContainerExtension", software.amazon.jsii.NativeType.forClass(ca.wheatstalk.cdkecskeycloak.KeycloakContainerExtension.class));
}
/**
* Configures the health check of the application target group.
*
* @param targetGroup This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
default void configureHealthCheck(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationTargetGroup targetGroup) {
software.amazon.jsii.Kernel.call(this, "configureHealthCheck", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(targetGroup, "targetGroup is required") });
}
/**
* Register the task definition with a cloudmap service.
*
* @param cloudMapService This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
default void useCloudMapService(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.servicediscovery.IService cloudMapService) {
software.amazon.jsii.Kernel.call(this, "useCloudMapService", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(cloudMapService, "cloudMapService is required") });
}
}
}