EcsFunctions

Functions

Link copied to clipboard

The ECS Cluster data source allows access to details of a specific cluster within an AWS ECS service.

suspend fun getCluster(clusterName: String): GetClusterResult
suspend fun getCluster(argument: suspend GetClusterPlainArgsBuilder.() -> Unit): GetClusterResult
Link copied to clipboard

The ECS container definition data source allows access to details of a specific container within an AWS ECS service.

suspend fun getContainerDefinition(containerName: String, taskDefinition: String): GetContainerDefinitionResult
Link copied to clipboard

The ECS Service data source allows access to details of a specific Service within a AWS ECS Cluster.

suspend fun getService(argument: suspend GetServicePlainArgsBuilder.() -> Unit): GetServiceResult
suspend fun getService(clusterArn: String, serviceName: String, tags: Map<String, String>? = null): GetServiceResult
Link copied to clipboard

The ECS task definition data source allows access to details of a specific AWS ECS task definition.

suspend fun getTaskDefinition(taskDefinition: String): GetTaskDefinitionResult