io.github.cdklabs.cdkecsserviceextensions.ContainerMutatingHook Maven / Gradle / Ivy
Show all versions of cdk-ecs-service-extensions Show documentation
package io.github.cdklabs.cdkecsserviceextensions;
/**
* (experimental) This is an abstract class wrapper for a mutating hook.
*
* It is
* extended by any extension which wants to mutate other extension's containers.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-20T00:29:08.049Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdkecsserviceextensions.$Module.class, fqn = "@aws-cdk-containers/ecs-service-extensions.ContainerMutatingHook")
public abstract class ContainerMutatingHook extends software.amazon.jsii.JsiiObject {
protected ContainerMutatingHook(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected ContainerMutatingHook(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
protected ContainerMutatingHook() {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
}
/**
* (experimental) This is a hook for modifying the container definition of any upstream containers.
*
* This is primarily used for the main application container.
* For example, the Firelens extension wants to be able to modify the logging
* settings of the application container.
*
* @param props
- The container definition to mutate.
This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ecs.ContainerDefinitionOptions mutateContainerDefinition(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ecs.ContainerDefinitionOptions props) {
return software.amazon.jsii.Kernel.call(this, "mutateContainerDefinition", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ecs.ContainerDefinitionOptions.class), new Object[] { java.util.Objects.requireNonNull(props, "props 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 io.github.cdklabs.cdkecsserviceextensions.ContainerMutatingHook {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
}
}