Skip to content

Commit 9c8c45d

Browse files
feat(actions): update aws-actions/amazon-ecs-render-task-definition@v1 (#1442)
Created automatically. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 0765ffc commit 9c8c45d

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4225e0b507142a2e432b018bc3ccb728559b437a
1+
5f07eab76e1851cbd4e07dea0f3ed53b304475bd

github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/awsactions/AmazonEcsRenderTaskDefinitionV1.kt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)