Class ECSTaskTemplate

    • Method Detail

      • getMemoryConstraint

        public int getMemoryConstraint()
      • setDynamicTaskDefinition

        @DataBoundSetter
        public void setDynamicTaskDefinition​(String dynamicTaskDefArn)
      • setTaskrole

        @DataBoundSetter
        public void setTaskrole​(String taskRoleArn)
      • setExecutionRole

        @DataBoundSetter
        public void setExecutionRole​(String executionRole)
      • setRepositoryCredentials

        @DataBoundSetter
        public void setRepositoryCredentials​(String repositoryCredentials)
      • setEntrypoint

        @DataBoundSetter
        public void setEntrypoint​(String entrypoint)
      • setJvmArgs

        @DataBoundSetter
        public void setJvmArgs​(String jvmArgs)
      • setContainerUser

        @DataBoundSetter
        public void setContainerUser​(String containerUser)
      • setKernelCapabilities

        @DataBoundSetter
        public void setKernelCapabilities​(String kernelCapabilities)
      • setLogDriver

        @DataBoundSetter
        public void setLogDriver​(String logDriver)
      • setInheritFrom

        @DataBoundSetter
        public void setInheritFrom​(String inheritFrom)
      • setSubnets

        @DataBoundSetter
        public void setSubnets​(String subnets)
      • setSecurityGroups

        @DataBoundSetter
        public void setSecurityGroups​(String securityGroups)
      • setDnsSearchDomains

        @DataBoundSetter
        public void setDnsSearchDomains​(String dnsSearchDomains)
      • isFargate

        public boolean isFargate()
      • isEC2

        public boolean isEC2()
      • getLabel

        public String getLabel()
      • getAgentContainerName

        public String getAgentContainerName()
      • getTaskDefinitionOverride

        public String getTaskDefinitionOverride()
      • getDynamicTaskDefinition

        public String getDynamicTaskDefinition()
      • getImage

        public String getImage()
      • getRemoteFSRoot

        public String getRemoteFSRoot()
      • makeRemoteFSRoot

        public String makeRemoteFSRoot​(@Nonnull
                                       String name)
      • getUniqueRemoteFSRoot

        public boolean getUniqueRemoteFSRoot()
      • getPlatformVersion

        public String getPlatformVersion()
      • getMemory

        public int getMemory()
      • getMemoryReservation

        public int getMemoryReservation()
      • getCpu

        public int getCpu()
      • getSharedMemorySize

        public int getSharedMemorySize()
      • getEphemeralStorageSizeInGiB

        public Integer getEphemeralStorageSizeInGiB()
      • getSubnets

        public String getSubnets()
      • getSecurityGroups

        public String getSecurityGroups()
      • getAssignPublicIp

        public boolean getAssignPublicIp()
      • getDefaultCapacityProvider

        public boolean getDefaultCapacityProvider()
      • getDnsSearchDomains

        public String getDnsSearchDomains()
      • getEntrypoint

        public String getEntrypoint()
      • getTaskrole

        public String getTaskrole()
      • getExecutionRole

        public String getExecutionRole()
      • getRepositoryCredentials

        public String getRepositoryCredentials()
      • getJvmArgs

        public String getJvmArgs()
      • getPrivileged

        public boolean getPrivileged()
      • getContainerUser

        public String getContainerUser()
      • getKernelCapabilities

        public String getKernelCapabilities()
      • getLaunchType

        public String getLaunchType()
      • getOperatingSystemFamily

        public String getOperatingSystemFamily()
      • getCpuArchitecture

        public String getCpuArchitecture()
      • getNetworkMode

        public String getNetworkMode()
      • getLogDriver

        public String getLogDriver()
      • getInheritFrom

        public String getInheritFrom()
      • getTemplateName

        public String getTemplateName()
      • isEnableExecuteCommand

        public boolean isEnableExecuteCommand()
      • merge

        public ECSTaskTemplate merge​(ECSTaskTemplate parent)
        This merge does not take an into consideration the child intentionally setting empty values for parameters like "entrypoint" - in fact it's not uncommon to override the entrypoint of a container and set it to blank so you can use your own entrypoint as part of the command. What's really needed is a "MergeStrategy
        BinaryOperator<ECSTaskTemplate>
        that's user selectable.
        Parameters:
        parent - inherit settings from
        Returns:
        a 'merged' template
      • getDisplayName

        public String getDisplayName()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object