@@ -38,6 +38,7 @@ import kotlin.collections.toTypedArray
3838 * of the form key=value, you can specify multiple variables with multi-line YAML strings.
3939 * @param dockerLabels Create/Override options inside dockerLabels. Each variable is key=value, you
4040 * can specify multiple variables with multi-line YAML.
41+ * @param command The command used by ECS to start the container image
4142 * @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by
4243 * the binding
4344 * @param _customVersion Allows overriding action's version, for example to use a specific minor
@@ -76,6 +77,10 @@ public data class AmazonEcsRenderTaskDefinitionV1 private constructor(
7677 * multiple variables with multi-line YAML.
7778 */
7879 public val dockerLabels : List <String >? = null ,
80+ /* *
81+ * The command used by ECS to start the container image
82+ */
83+ public val command : String? = null ,
7984 /* *
8085 * Type-unsafe map where you can put any inputs that are not yet supported by the binding
8186 */
@@ -96,13 +101,14 @@ public data class AmazonEcsRenderTaskDefinitionV1 private constructor(
96101 logConfigurationLogDriver: String? = null ,
97102 logConfigurationOptions: List <String >? = null ,
98103 dockerLabels: List <String >? = null ,
104+ command: String? = null ,
99105 _customInputs : Map <String , String > = mapOf (),
100106 _customVersion : String? = null ,
101107 ) : this (taskDefinition= taskDefinition, containerName= containerName, image= image,
102108 environmentVariables= environmentVariables,
103109 logConfigurationLogDriver= logConfigurationLogDriver,
104110 logConfigurationOptions= logConfigurationOptions, dockerLabels= dockerLabels,
105- _customInputs = _customInputs , _customVersion = _customVersion )
111+ command = command, _customInputs = _customInputs , _customVersion = _customVersion )
106112
107113 @Suppress(" SpreadOperator" )
108114 override fun toYamlArguments (): LinkedHashMap <String , String > = linkedMapOf(
@@ -114,6 +120,7 @@ public data class AmazonEcsRenderTaskDefinitionV1 private constructor(
114120 logConfigurationLogDriver?.let { " log-configuration-log-driver" to it },
115121 logConfigurationOptions?.let { " log-configuration-options" to it.joinToString(" \n " ) },
116122 dockerLabels?.let { " docker-labels" to it.joinToString(" \n " ) },
123+ command?.let { " command" to it },
117124 * _customInputs .toList().toTypedArray(),
118125 ).toTypedArray()
119126 )
0 commit comments