Interface ITaskDefinitionExtension

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
ITaskDefinitionExtension.Jsii$Default
All Known Implementing Classes:
ITaskDefinitionExtension.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-17T05:10:10.496Z") @Stability(Stable) public interface ITaskDefinitionExtension extends software.amazon.jsii.JsiiSerializable
An extension for Task Definitions.

Classes that want to make changes to a TaskDefinition (such as adding helper containers) can implement this interface, and can then be "added" to a TaskDefinition like so:

taskDefinition.addExtension(new MyExtension("some_parameter"));

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for ITaskDefinitionExtension.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    extend(TaskDefinition taskDefinition)
    Apply the extension to the given TaskDefinition.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • extend

      @Stability(Stable) void extend(@NotNull TaskDefinition taskDefinition)
      Apply the extension to the given TaskDefinition.

      Parameters:
      taskDefinition - [disable-awslint:ref-via-interface]. This parameter is required.