The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Amazon Elastic Container Service (ECS) / Fargate plugin

ecsTaskTemplate: Define a task template to use in the AWS ECS plugin

  • label : String
  • name : String
  • agentContainerName : String (optional)
  • assignPublicIp : boolean (optional)
  • capacityProviderStrategies (optional)
      Array / List of Nested Object
    • provider : String
    • base : int
    • weight : int
  • cloud : String (optional)
  • containerUser : String (optional)
  • cpu : int (optional)
  • cpuArchitecture : String (optional)
  • defaultCapacityProvider : boolean (optional)
  • efsMountPoints (optional)
      Array / List of Nested Object
    • name : String
    • containerPath : String
    • readOnly : boolean
    • fileSystemId : String
    • rootDirectory : String
    • accessPointId : String
    • transitEncryption : boolean
    • iam : boolean
  • enableExecuteCommand : boolean (optional)
  • environments (optional)
      Array / List of Nested Object
    • name : String
    • value : String
  • ephemeralStorageSizeInGiB : int (optional)
  • executionRole : String (optional)
  • extraHosts (optional)
      Array / List of Nested Object
    • ipAddress : String
    • hostname : String
  • image : String (optional)
  • inheritFrom : String (optional)

    You can pre-configure a task template in the system settings. Configure the label of this template to inherit from here.

  • kernelCapabilities : String (optional)
  • launchType : String (optional)
  • logDriver : String (optional)
  • logDriverOptions (optional)
      Array / List of Nested Object
    • name : String
    • value : String
  • memory : int (optional)
  • memoryReservation : int (optional)
  • mountPoints (optional)
      Array / List of Nested Object
    • name : String
    • sourcePath : String
    • containerPath : String
    • readOnly : boolean
  • networkMode : String (optional)
  • operatingSystemFamily : String (optional)
  • overrides : Array / List of String (optional)
    • placementStrategies (optional)
        Array / List of Nested Object
      • type : String
      • field : String
    • platformVersion : String (optional)
    • portMappings (optional)
        Array / List of Nested Object
      • containerPort : int
        The port number on the container to bind to the host port.
      • hostPort : int

        The port number on the host instance to map to the container port.

        If no host port is provided (or it is set to 0), the container will receive a port in the ephemeral port range.

        Reserved ports: 22 (SSH), 2375-2376 (Docker), and 51678 (ECS container agent)

      • protocol : String
        The protocol used for the port mapping.
    • privileged : boolean (optional)
    • remoteFSRoot : String (optional)
    • repositoryCredentials : String (optional)
    • securityGroups : String (optional)
    • sharedMemorySize : int (optional)
    • subnets : String (optional)
    • tags (optional)
        Array / List of Nested Object
      • name : String
      • value : String
    • taskDefinitionOverride : String (optional)
    • taskrole : String (optional)
    • ulimits (optional)
        Array / List of Nested Object
      • softLimit : int
      • hardLimit : int
      • ulimitName : String
    • uniqueRemoteFSRoot : boolean (optional)

    Was this page helpful?

    Please submit your feedback about this page through this quick form.

    Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

        


    See existing feedback here.