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.103.1 (build bef2dea)", date="2024-10-05T03:43:42.792Z") @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.