The ECS Service data source allows access to details of a specific Service within a AWS ECS Cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.ecs.getService({
serviceName: "example",
clusterArn: exampleAwsEcsCluster.arn,
});
import pulumi
import pulumi_aws as aws
example = aws.ecs.get_service(service_name="example",
cluster_arn=example_aws_ecs_cluster["arn"])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ecs.LookupService(ctx, &ecs.LookupServiceArgs{
ServiceName: "example",
ClusterArn: exampleAwsEcsCluster.Arn,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Ecs.GetService.Invoke(new()
{
ServiceName = "example",
ClusterArn = exampleAwsEcsCluster.Arn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ecs.EcsFunctions;
import com.pulumi.aws.ecs.inputs.GetServiceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = EcsFunctions.getService(GetServiceArgs.builder()
.serviceName("example")
.clusterArn(exampleAwsEcsCluster.arn())
.build());
}
}
variables:
example:
fn::invoke:
function: aws:ecs:getService
arguments:
serviceName: example
clusterArn: ${exampleAwsEcsCluster.arn}
Using getService
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>def get_service(cluster_arn: Optional[str] = None,
region: Optional[str] = None,
service_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceResult
def get_service_output(cluster_arn: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput> Note: This function is named LookupService in the Go SDK.
public static class GetService
{
public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
fn::invoke:
function: aws:ecs/getService:getService
arguments:
# arguments dictionaryThe following arguments are supported:
- Cluster
Arn string - ARN of the ECS Cluster
- Service
Name string - Name of the ECS Service
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Resource tags.
- Cluster
Arn string - ARN of the ECS Cluster
- Service
Name string - Name of the ECS Service
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Resource tags.
- cluster
Arn String - ARN of the ECS Cluster
- service
Name String - Name of the ECS Service
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Resource tags.
- cluster
Arn string - ARN of the ECS Cluster
- service
Name string - Name of the ECS Service
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Resource tags.
- cluster_
arn str - ARN of the ECS Cluster
- service_
name str - Name of the ECS Service
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Resource tags.
- cluster
Arn String - ARN of the ECS Cluster
- service
Name String - Name of the ECS Service
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Resource tags.
getService Result
The following output properties are available:
- Arn string
- ARN of the task set
- Availability
Zone stringRebalancing - Whether Availability Zone rebalancing is enabled
- Capacity
Provider List<GetStrategies Service Capacity Provider Strategy> - Capacity provider strategy for the service. See
capacity_provider_strategyBlock for details. - Cluster
Arn string - Created
At string - Time when task set was created (RFC3339 format)
- Created
By string - Principal that created the service
- Deployment
Configurations List<GetService Deployment Configuration> - Deployment configuration for the service. See
deployment_configurationBlock for details. - Deployment
Controllers List<GetService Deployment Controller> - Deployment controller configuration. See
deployment_controllerBlock for details. - Deployments
List<Get
Service Deployment> - Current deployments for the service. See
deploymentsBlock for details. - Desired
Count int - Desired number of tasks
- bool
- Whether ECS managed tags are enabled
- Enable
Execute boolCommand - Whether execute command functionality is enabled
- Events
List<Get
Service Event> - Recent service events. See
eventsBlock for details. - Health
Check intGrace Period Seconds - Grace period for health checks
- Iam
Role string - ARN of the IAM role associated with the service
- Id string
- The provider-assigned unique ID for this managed resource.
- Launch
Type string - Launch type for the ECS Service
- Load
Balancers List<GetService Load Balancer> - Load balancers for the ECS Service. See
load_balancerBlock for details. - Network
Configurations List<GetService Network Configuration> - Network configuration for the service. See
network_configurationBlock for details. - Ordered
Placement List<GetStrategies Service Ordered Placement Strategy> - Placement strategy for tasks. See
ordered_placement_strategyBlock for details. - Pending
Count int - Number of pending tasks
- Placement
Constraints List<GetService Placement Constraint> - Placement constraints for tasks. See
placement_constraintsBlock for details. - Platform
Family string - Platform family for Fargate tasks
- Platform
Version string - Platform version for Fargate tasks
- string
- Whether tags are propagated from task definition or service
- Region string
- Running
Count int - Number of running tasks
- Scheduling
Strategy string - Scheduling strategy for the ECS Service
- Service
Name string - Service
Registries List<GetService Service Registry> - Service discovery registries. See
service_registriesBlock for details. - Status string
- Task set status
- Dictionary<string, string>
- Resource tags.
- Task
Definition string - Task definition ARN
- Task
Sets List<GetService Task Set> - Task sets for the service. See
task_setsBlock for details.
- Arn string
- ARN of the task set
- Availability
Zone stringRebalancing - Whether Availability Zone rebalancing is enabled
- Capacity
Provider []GetStrategies Service Capacity Provider Strategy - Capacity provider strategy for the service. See
capacity_provider_strategyBlock for details. - Cluster
Arn string - Created
At string - Time when task set was created (RFC3339 format)
- Created
By string - Principal that created the service
- Deployment
Configurations []GetService Deployment Configuration - Deployment configuration for the service. See
deployment_configurationBlock for details. - Deployment
Controllers []GetService Deployment Controller - Deployment controller configuration. See
deployment_controllerBlock for details. - Deployments
[]Get
Service Deployment - Current deployments for the service. See
deploymentsBlock for details. - Desired
Count int - Desired number of tasks
- bool
- Whether ECS managed tags are enabled
- Enable
Execute boolCommand - Whether execute command functionality is enabled
- Events
[]Get
Service Event - Recent service events. See
eventsBlock for details. - Health
Check intGrace Period Seconds - Grace period for health checks
- Iam
Role string - ARN of the IAM role associated with the service
- Id string
- The provider-assigned unique ID for this managed resource.
- Launch
Type string - Launch type for the ECS Service
- Load
Balancers []GetService Load Balancer - Load balancers for the ECS Service. See
load_balancerBlock for details. - Network
Configurations []GetService Network Configuration - Network configuration for the service. See
network_configurationBlock for details. - Ordered
Placement []GetStrategies Service Ordered Placement Strategy - Placement strategy for tasks. See
ordered_placement_strategyBlock for details. - Pending
Count int - Number of pending tasks
- Placement
Constraints []GetService Placement Constraint - Placement constraints for tasks. See
placement_constraintsBlock for details. - Platform
Family string - Platform family for Fargate tasks
- Platform
Version string - Platform version for Fargate tasks
- string
- Whether tags are propagated from task definition or service
- Region string
- Running
Count int - Number of running tasks
- Scheduling
Strategy string - Scheduling strategy for the ECS Service
- Service
Name string - Service
Registries []GetService Service Registry - Service discovery registries. See
service_registriesBlock for details. - Status string
- Task set status
- map[string]string
- Resource tags.
- Task
Definition string - Task definition ARN
- Task
Sets []GetService Task Set - Task sets for the service. See
task_setsBlock for details.
- arn String
- ARN of the task set
- availability
Zone StringRebalancing - Whether Availability Zone rebalancing is enabled
- capacity
Provider List<GetStrategies Service Capacity Provider Strategy> - Capacity provider strategy for the service. See
capacity_provider_strategyBlock for details. - cluster
Arn String - created
At String - Time when task set was created (RFC3339 format)
- created
By String - Principal that created the service
- deployment
Configurations List<GetService Deployment Configuration> - Deployment configuration for the service. See
deployment_configurationBlock for details. - deployment
Controllers List<GetService Deployment Controller> - Deployment controller configuration. See
deployment_controllerBlock for details. - deployments
List<Get
Service Deployment> - Current deployments for the service. See
deploymentsBlock for details. - desired
Count Integer - Desired number of tasks
- Boolean
- Whether ECS managed tags are enabled
- enable
Execute BooleanCommand - Whether execute command functionality is enabled
- events
List<Get
Service Event> - Recent service events. See
eventsBlock for details. - health
Check IntegerGrace Period Seconds - Grace period for health checks
- iam
Role String - ARN of the IAM role associated with the service
- id String
- The provider-assigned unique ID for this managed resource.
- launch
Type String - Launch type for the ECS Service
- load
Balancers List<GetService Load Balancer> - Load balancers for the ECS Service. See
load_balancerBlock for details. - network
Configurations List<GetService Network Configuration> - Network configuration for the service. See
network_configurationBlock for details. - ordered
Placement List<GetStrategies Service Ordered Placement Strategy> - Placement strategy for tasks. See
ordered_placement_strategyBlock for details. - pending
Count Integer - Number of pending tasks
- placement
Constraints List<GetService Placement Constraint> - Placement constraints for tasks. See
placement_constraintsBlock for details. - platform
Family String - Platform family for Fargate tasks
- platform
Version String - Platform version for Fargate tasks
- String
- Whether tags are propagated from task definition or service
- region String
- running
Count Integer - Number of running tasks
- scheduling
Strategy String - Scheduling strategy for the ECS Service
- service
Name String - service
Registries List<GetService Service Registry> - Service discovery registries. See
service_registriesBlock for details. - status String
- Task set status
- Map<String,String>
- Resource tags.
- task
Definition String - Task definition ARN
- task
Sets List<GetService Task Set> - Task sets for the service. See
task_setsBlock for details.
- arn string
- ARN of the task set
- availability
Zone stringRebalancing - Whether Availability Zone rebalancing is enabled
- capacity
Provider GetStrategies Service Capacity Provider Strategy[] - Capacity provider strategy for the service. See
capacity_provider_strategyBlock for details. - cluster
Arn string - created
At string - Time when task set was created (RFC3339 format)
- created
By string - Principal that created the service
- deployment
Configurations GetService Deployment Configuration[] - Deployment configuration for the service. See
deployment_configurationBlock for details. - deployment
Controllers GetService Deployment Controller[] - Deployment controller configuration. See
deployment_controllerBlock for details. - deployments
Get
Service Deployment[] - Current deployments for the service. See
deploymentsBlock for details. - desired
Count number - Desired number of tasks
- boolean
- Whether ECS managed tags are enabled
- enable
Execute booleanCommand - Whether execute command functionality is enabled
- events
Get
Service Event[] - Recent service events. See
eventsBlock for details. - health
Check numberGrace Period Seconds - Grace period for health checks
- iam
Role string - ARN of the IAM role associated with the service
- id string
- The provider-assigned unique ID for this managed resource.
- launch
Type string - Launch type for the ECS Service
- load
Balancers GetService Load Balancer[] - Load balancers for the ECS Service. See
load_balancerBlock for details. - network
Configurations GetService Network Configuration[] - Network configuration for the service. See
network_configurationBlock for details. - ordered
Placement GetStrategies Service Ordered Placement Strategy[] - Placement strategy for tasks. See
ordered_placement_strategyBlock for details. - pending
Count number - Number of pending tasks
- placement
Constraints GetService Placement Constraint[] - Placement constraints for tasks. See
placement_constraintsBlock for details. - platform
Family string - Platform family for Fargate tasks
- platform
Version string - Platform version for Fargate tasks
- string
- Whether tags are propagated from task definition or service
- region string
- running
Count number - Number of running tasks
- scheduling
Strategy string - Scheduling strategy for the ECS Service
- service
Name string - service
Registries GetService Service Registry[] - Service discovery registries. See
service_registriesBlock for details. - status string
- Task set status
- {[key: string]: string}
- Resource tags.
- task
Definition string - Task definition ARN
- task
Sets GetService Task Set[] - Task sets for the service. See
task_setsBlock for details.
- arn str
- ARN of the task set
- availability_
zone_ strrebalancing - Whether Availability Zone rebalancing is enabled
- capacity_
provider_ Sequence[Getstrategies Service Capacity Provider Strategy] - Capacity provider strategy for the service. See
capacity_provider_strategyBlock for details. - cluster_
arn str - created_
at str - Time when task set was created (RFC3339 format)
- created_
by str - Principal that created the service
- deployment_
configurations Sequence[GetService Deployment Configuration] - Deployment configuration for the service. See
deployment_configurationBlock for details. - deployment_
controllers Sequence[GetService Deployment Controller] - Deployment controller configuration. See
deployment_controllerBlock for details. - deployments
Sequence[Get
Service Deployment] - Current deployments for the service. See
deploymentsBlock for details. - desired_
count int - Desired number of tasks
- bool
- Whether ECS managed tags are enabled
- enable_
execute_ boolcommand - Whether execute command functionality is enabled
- events
Sequence[Get
Service Event] - Recent service events. See
eventsBlock for details. - health_
check_ intgrace_ period_ seconds - Grace period for health checks
- iam_
role str - ARN of the IAM role associated with the service
- id str
- The provider-assigned unique ID for this managed resource.
- launch_
type str - Launch type for the ECS Service
- load_
balancers Sequence[GetService Load Balancer] - Load balancers for the ECS Service. See
load_balancerBlock for details. - network_
configurations Sequence[GetService Network Configuration] - Network configuration for the service. See
network_configurationBlock for details. - ordered_
placement_ Sequence[Getstrategies Service Ordered Placement Strategy] - Placement strategy for tasks. See
ordered_placement_strategyBlock for details. - pending_
count int - Number of pending tasks
- placement_
constraints Sequence[GetService Placement Constraint] - Placement constraints for tasks. See
placement_constraintsBlock for details. - platform_
family str - Platform family for Fargate tasks
- platform_
version str - Platform version for Fargate tasks
- str
- Whether tags are propagated from task definition or service
- region str
- running_
count int - Number of running tasks
- scheduling_
strategy str - Scheduling strategy for the ECS Service
- service_
name str - service_
registries Sequence[GetService Service Registry] - Service discovery registries. See
service_registriesBlock for details. - status str
- Task set status
- Mapping[str, str]
- Resource tags.
- task_
definition str - Task definition ARN
- task_
sets Sequence[GetService Task Set] - Task sets for the service. See
task_setsBlock for details.
- arn String
- ARN of the task set
- availability
Zone StringRebalancing - Whether Availability Zone rebalancing is enabled
- capacity
Provider List<Property Map>Strategies - Capacity provider strategy for the service. See
capacity_provider_strategyBlock for details. - cluster
Arn String - created
At String - Time when task set was created (RFC3339 format)
- created
By String - Principal that created the service
- deployment
Configurations List<Property Map> - Deployment configuration for the service. See
deployment_configurationBlock for details. - deployment
Controllers List<Property Map> - Deployment controller configuration. See
deployment_controllerBlock for details. - deployments List<Property Map>
- Current deployments for the service. See
deploymentsBlock for details. - desired
Count Number - Desired number of tasks
- Boolean
- Whether ECS managed tags are enabled
- enable
Execute BooleanCommand - Whether execute command functionality is enabled
- events List<Property Map>
- Recent service events. See
eventsBlock for details. - health
Check NumberGrace Period Seconds - Grace period for health checks
- iam
Role String - ARN of the IAM role associated with the service
- id String
- The provider-assigned unique ID for this managed resource.
- launch
Type String - Launch type for the ECS Service
- load
Balancers List<Property Map> - Load balancers for the ECS Service. See
load_balancerBlock for details. - network
Configurations List<Property Map> - Network configuration for the service. See
network_configurationBlock for details. - ordered
Placement List<Property Map>Strategies - Placement strategy for tasks. See
ordered_placement_strategyBlock for details. - pending
Count Number - Number of pending tasks
- placement
Constraints List<Property Map> - Placement constraints for tasks. See
placement_constraintsBlock for details. - platform
Family String - Platform family for Fargate tasks
- platform
Version String - Platform version for Fargate tasks
- String
- Whether tags are propagated from task definition or service
- region String
- running
Count Number - Number of running tasks
- scheduling
Strategy String - Scheduling strategy for the ECS Service
- service
Name String - service
Registries List<Property Map> - Service discovery registries. See
service_registriesBlock for details. - status String
- Task set status
- Map<String>
- Resource tags.
- task
Definition String - Task definition ARN
- task
Sets List<Property Map> - Task sets for the service. See
task_setsBlock for details.
Supporting Types
GetServiceCapacityProviderStrategy
- Base int
- Number of tasks using the specified capacity provider
- Capacity
Provider string - Name of the capacity provider
- Weight int
- Relative percentage of total tasks to launch
- Base int
- Number of tasks using the specified capacity provider
- Capacity
Provider string - Name of the capacity provider
- Weight int
- Relative percentage of total tasks to launch
- base Integer
- Number of tasks using the specified capacity provider
- capacity
Provider String - Name of the capacity provider
- weight Integer
- Relative percentage of total tasks to launch
- base number
- Number of tasks using the specified capacity provider
- capacity
Provider string - Name of the capacity provider
- weight number
- Relative percentage of total tasks to launch
- base int
- Number of tasks using the specified capacity provider
- capacity_
provider str - Name of the capacity provider
- weight int
- Relative percentage of total tasks to launch
- base Number
- Number of tasks using the specified capacity provider
- capacity
Provider String - Name of the capacity provider
- weight Number
- Relative percentage of total tasks to launch
GetServiceDeployment
- Created
At string - Time when task set was created (RFC3339 format)
- Desired
Count int - Desired number of tasks
- Id string
- Task set ID
- Pending
Count int - Number of pending tasks
- Running
Count int - Number of running tasks
- Status string
- Task set status
- Task
Definition string - Task definition ARN
- Updated
At string - Time when task set was last updated (RFC3339 format)
- Created
At string - Time when task set was created (RFC3339 format)
- Desired
Count int - Desired number of tasks
- Id string
- Task set ID
- Pending
Count int - Number of pending tasks
- Running
Count int - Number of running tasks
- Status string
- Task set status
- Task
Definition string - Task definition ARN
- Updated
At string - Time when task set was last updated (RFC3339 format)
- created
At String - Time when task set was created (RFC3339 format)
- desired
Count Integer - Desired number of tasks
- id String
- Task set ID
- pending
Count Integer - Number of pending tasks
- running
Count Integer - Number of running tasks
- status String
- Task set status
- task
Definition String - Task definition ARN
- updated
At String - Time when task set was last updated (RFC3339 format)
- created
At string - Time when task set was created (RFC3339 format)
- desired
Count number - Desired number of tasks
- id string
- Task set ID
- pending
Count number - Number of pending tasks
- running
Count number - Number of running tasks
- status string
- Task set status
- task
Definition string - Task definition ARN
- updated
At string - Time when task set was last updated (RFC3339 format)
- created_
at str - Time when task set was created (RFC3339 format)
- desired_
count int - Desired number of tasks
- id str
- Task set ID
- pending_
count int - Number of pending tasks
- running_
count int - Number of running tasks
- status str
- Task set status
- task_
definition str - Task definition ARN
- updated_
at str - Time when task set was last updated (RFC3339 format)
- created
At String - Time when task set was created (RFC3339 format)
- desired
Count Number - Desired number of tasks
- id String
- Task set ID
- pending
Count Number - Number of pending tasks
- running
Count Number - Number of running tasks
- status String
- Task set status
- task
Definition String - Task definition ARN
- updated
At String - Time when task set was last updated (RFC3339 format)
GetServiceDeploymentConfiguration
- Alarms
List<Get
Service Deployment Configuration Alarm> - CloudWatch alarms configuration. See
alarmsBlock for details. - Bake
Time stringIn Minutes - Time to wait after deployment before terminating old tasks
- Canary
Configurations List<GetService Deployment Configuration Canary Configuration> - Canary deployment configuration. See
canary_configurationBlock for details. - Deployment
Circuit List<GetBreakers Service Deployment Configuration Deployment Circuit Breaker> - Circuit breaker configuration. See
deployment_circuit_breakerBlock for details. - Lifecycle
Hooks List<GetService Deployment Configuration Lifecycle Hook> - Lifecycle hooks for deployments. See
lifecycle_hookBlock for details. - Linear
Configurations List<GetService Deployment Configuration Linear Configuration> - Linear deployment configuration. See
linear_configurationBlock for details. - Maximum
Percent int - Upper limit on tasks during deployment
- Minimum
Healthy intPercent - Lower limit on healthy tasks during deployment
- Strategy string
- Deployment strategy (ROLLING, BLUE_GREEN, LINEAR, or CANARY)
- Alarms
[]Get
Service Deployment Configuration Alarm - CloudWatch alarms configuration. See
alarmsBlock for details. - Bake
Time stringIn Minutes - Time to wait after deployment before terminating old tasks
- Canary
Configurations []GetService Deployment Configuration Canary Configuration - Canary deployment configuration. See
canary_configurationBlock for details. - Deployment
Circuit []GetBreakers Service Deployment Configuration Deployment Circuit Breaker - Circuit breaker configuration. See
deployment_circuit_breakerBlock for details. - Lifecycle
Hooks []GetService Deployment Configuration Lifecycle Hook - Lifecycle hooks for deployments. See
lifecycle_hookBlock for details. - Linear
Configurations []GetService Deployment Configuration Linear Configuration - Linear deployment configuration. See
linear_configurationBlock for details. - Maximum
Percent int - Upper limit on tasks during deployment
- Minimum
Healthy intPercent - Lower limit on healthy tasks during deployment
- Strategy string
- Deployment strategy (ROLLING, BLUE_GREEN, LINEAR, or CANARY)
- alarms
List<Get
Service Deployment Configuration Alarm> - CloudWatch alarms configuration. See
alarmsBlock for details. - bake
Time StringIn Minutes - Time to wait after deployment before terminating old tasks
- canary
Configurations List<GetService Deployment Configuration Canary Configuration> - Canary deployment configuration. See
canary_configurationBlock for details. - deployment
Circuit List<GetBreakers Service Deployment Configuration Deployment Circuit Breaker> - Circuit breaker configuration. See
deployment_circuit_breakerBlock for details. - lifecycle
Hooks List<GetService Deployment Configuration Lifecycle Hook> - Lifecycle hooks for deployments. See
lifecycle_hookBlock for details. - linear
Configurations List<GetService Deployment Configuration Linear Configuration> - Linear deployment configuration. See
linear_configurationBlock for details. - maximum
Percent Integer - Upper limit on tasks during deployment
- minimum
Healthy IntegerPercent - Lower limit on healthy tasks during deployment
- strategy String
- Deployment strategy (ROLLING, BLUE_GREEN, LINEAR, or CANARY)
- alarms
Get
Service Deployment Configuration Alarm[] - CloudWatch alarms configuration. See
alarmsBlock for details. - bake
Time stringIn Minutes - Time to wait after deployment before terminating old tasks
- canary
Configurations GetService Deployment Configuration Canary Configuration[] - Canary deployment configuration. See
canary_configurationBlock for details. - deployment
Circuit GetBreakers Service Deployment Configuration Deployment Circuit Breaker[] - Circuit breaker configuration. See
deployment_circuit_breakerBlock for details. - lifecycle
Hooks GetService Deployment Configuration Lifecycle Hook[] - Lifecycle hooks for deployments. See
lifecycle_hookBlock for details. - linear
Configurations GetService Deployment Configuration Linear Configuration[] - Linear deployment configuration. See
linear_configurationBlock for details. - maximum
Percent number - Upper limit on tasks during deployment
- minimum
Healthy numberPercent - Lower limit on healthy tasks during deployment
- strategy string
- Deployment strategy (ROLLING, BLUE_GREEN, LINEAR, or CANARY)
- alarms
Sequence[Get
Service Deployment Configuration Alarm] - CloudWatch alarms configuration. See
alarmsBlock for details. - bake_
time_ strin_ minutes - Time to wait after deployment before terminating old tasks
- canary_
configurations Sequence[GetService Deployment Configuration Canary Configuration] - Canary deployment configuration. See
canary_configurationBlock for details. - deployment_
circuit_ Sequence[Getbreakers Service Deployment Configuration Deployment Circuit Breaker] - Circuit breaker configuration. See
deployment_circuit_breakerBlock for details. - lifecycle_
hooks Sequence[GetService Deployment Configuration Lifecycle Hook] - Lifecycle hooks for deployments. See
lifecycle_hookBlock for details. - linear_
configurations Sequence[GetService Deployment Configuration Linear Configuration] - Linear deployment configuration. See
linear_configurationBlock for details. - maximum_
percent int - Upper limit on tasks during deployment
- minimum_
healthy_ intpercent - Lower limit on healthy tasks during deployment
- strategy str
- Deployment strategy (ROLLING, BLUE_GREEN, LINEAR, or CANARY)
- alarms List<Property Map>
- CloudWatch alarms configuration. See
alarmsBlock for details. - bake
Time StringIn Minutes - Time to wait after deployment before terminating old tasks
- canary
Configurations List<Property Map> - Canary deployment configuration. See
canary_configurationBlock for details. - deployment
Circuit List<Property Map>Breakers - Circuit breaker configuration. See
deployment_circuit_breakerBlock for details. - lifecycle
Hooks List<Property Map> - Lifecycle hooks for deployments. See
lifecycle_hookBlock for details. - linear
Configurations List<Property Map> - Linear deployment configuration. See
linear_configurationBlock for details. - maximum
Percent Number - Upper limit on tasks during deployment
- minimum
Healthy NumberPercent - Lower limit on healthy tasks during deployment
- strategy String
- Deployment strategy (ROLLING, BLUE_GREEN, LINEAR, or CANARY)
GetServiceDeploymentConfigurationAlarm
- Alarm
Names List<string> - List of CloudWatch alarm names
- Enable bool
- Whether circuit breaker is enabled
- Rollback bool
- Whether to rollback on failure
- Alarm
Names []string - List of CloudWatch alarm names
- Enable bool
- Whether circuit breaker is enabled
- Rollback bool
- Whether to rollback on failure
- alarm
Names List<String> - List of CloudWatch alarm names
- enable Boolean
- Whether circuit breaker is enabled
- rollback Boolean
- Whether to rollback on failure
- alarm
Names string[] - List of CloudWatch alarm names
- enable boolean
- Whether circuit breaker is enabled
- rollback boolean
- Whether to rollback on failure
- alarm_
names Sequence[str] - List of CloudWatch alarm names
- enable bool
- Whether circuit breaker is enabled
- rollback bool
- Whether to rollback on failure
- alarm
Names List<String> - List of CloudWatch alarm names
- enable Boolean
- Whether circuit breaker is enabled
- rollback Boolean
- Whether to rollback on failure
GetServiceDeploymentConfigurationCanaryConfiguration
- Canary
Bake stringTime In Minutes - Time to wait before shifting remaining traffic
- Canary
Percent double - Percentage of traffic to route to canary deployment
- Canary
Bake stringTime In Minutes - Time to wait before shifting remaining traffic
- Canary
Percent float64 - Percentage of traffic to route to canary deployment
- canary
Bake StringTime In Minutes - Time to wait before shifting remaining traffic
- canary
Percent Double - Percentage of traffic to route to canary deployment
- canary
Bake stringTime In Minutes - Time to wait before shifting remaining traffic
- canary
Percent number - Percentage of traffic to route to canary deployment
- canary_
bake_ strtime_ in_ minutes - Time to wait before shifting remaining traffic
- canary_
percent float - Percentage of traffic to route to canary deployment
- canary
Bake StringTime In Minutes - Time to wait before shifting remaining traffic
- canary
Percent Number - Percentage of traffic to route to canary deployment
GetServiceDeploymentConfigurationDeploymentCircuitBreaker
GetServiceDeploymentConfigurationLifecycleHook
- Hook
Details string - Additional details for the hook
- Hook
Target stringArn - ARN of the Lambda function to invoke
- Lifecycle
Stages List<string> - Deployment stages when hook is invoked
- Role
Arn string - ARN of the IAM role that allows ECS to manage the target groups.
- Hook
Details string - Additional details for the hook
- Hook
Target stringArn - ARN of the Lambda function to invoke
- Lifecycle
Stages []string - Deployment stages when hook is invoked
- Role
Arn string - ARN of the IAM role that allows ECS to manage the target groups.
- hook
Details String - Additional details for the hook
- hook
Target StringArn - ARN of the Lambda function to invoke
- lifecycle
Stages List<String> - Deployment stages when hook is invoked
- role
Arn String - ARN of the IAM role that allows ECS to manage the target groups.
- hook
Details string - Additional details for the hook
- hook
Target stringArn - ARN of the Lambda function to invoke
- lifecycle
Stages string[] - Deployment stages when hook is invoked
- role
Arn string - ARN of the IAM role that allows ECS to manage the target groups.
- hook_
details str - Additional details for the hook
- hook_
target_ strarn - ARN of the Lambda function to invoke
- lifecycle_
stages Sequence[str] - Deployment stages when hook is invoked
- role_
arn str - ARN of the IAM role that allows ECS to manage the target groups.
- hook
Details String - Additional details for the hook
- hook
Target StringArn - ARN of the Lambda function to invoke
- lifecycle
Stages List<String> - Deployment stages when hook is invoked
- role
Arn String - ARN of the IAM role that allows ECS to manage the target groups.
GetServiceDeploymentConfigurationLinearConfiguration
- Step
Bake stringTime In Minutes - Time to wait between deployment steps
- Step
Percent double - Percentage of traffic to shift in each step
- Step
Bake stringTime In Minutes - Time to wait between deployment steps
- Step
Percent float64 - Percentage of traffic to shift in each step
- step
Bake StringTime In Minutes - Time to wait between deployment steps
- step
Percent Double - Percentage of traffic to shift in each step
- step
Bake stringTime In Minutes - Time to wait between deployment steps
- step
Percent number - Percentage of traffic to shift in each step
- step_
bake_ strtime_ in_ minutes - Time to wait between deployment steps
- step_
percent float - Percentage of traffic to shift in each step
- step
Bake StringTime In Minutes - Time to wait between deployment steps
- step
Percent Number - Percentage of traffic to shift in each step
GetServiceDeploymentController
- Type string
- Constraint type
- Type string
- Constraint type
- type String
- Constraint type
- type string
- Constraint type
- type str
- Constraint type
- type String
- Constraint type
GetServiceEvent
- created_
at str - Time when task set was created (RFC3339 format)
- id str
- Task set ID
- message str
- Event message
GetServiceLoadBalancer
- Advanced
Configurations List<GetService Load Balancer Advanced Configuration> - Settings for Blue/Green deployment. See
advanced_configurationBlock for details. - Container
Name string - Name of the container to associate with the load balancer.
- Container
Port int - Port on the container to associate with the load balancer.
- Elb
Name string - Name of the load balancer.
- Target
Group stringArn - ARN of the target group to associate with the load balancer.
- Advanced
Configurations []GetService Load Balancer Advanced Configuration - Settings for Blue/Green deployment. See
advanced_configurationBlock for details. - Container
Name string - Name of the container to associate with the load balancer.
- Container
Port int - Port on the container to associate with the load balancer.
- Elb
Name string - Name of the load balancer.
- Target
Group stringArn - ARN of the target group to associate with the load balancer.
- advanced
Configurations List<GetService Load Balancer Advanced Configuration> - Settings for Blue/Green deployment. See
advanced_configurationBlock for details. - container
Name String - Name of the container to associate with the load balancer.
- container
Port Integer - Port on the container to associate with the load balancer.
- elb
Name String - Name of the load balancer.
- target
Group StringArn - ARN of the target group to associate with the load balancer.
- advanced
Configurations GetService Load Balancer Advanced Configuration[] - Settings for Blue/Green deployment. See
advanced_configurationBlock for details. - container
Name string - Name of the container to associate with the load balancer.
- container
Port number - Port on the container to associate with the load balancer.
- elb
Name string - Name of the load balancer.
- target
Group stringArn - ARN of the target group to associate with the load balancer.
- advanced_
configurations Sequence[GetService Load Balancer Advanced Configuration] - Settings for Blue/Green deployment. See
advanced_configurationBlock for details. - container_
name str - Name of the container to associate with the load balancer.
- container_
port int - Port on the container to associate with the load balancer.
- elb_
name str - Name of the load balancer.
- target_
group_ strarn - ARN of the target group to associate with the load balancer.
- advanced
Configurations List<Property Map> - Settings for Blue/Green deployment. See
advanced_configurationBlock for details. - container
Name String - Name of the container to associate with the load balancer.
- container
Port Number - Port on the container to associate with the load balancer.
- elb
Name String - Name of the load balancer.
- target
Group StringArn - ARN of the target group to associate with the load balancer.
GetServiceLoadBalancerAdvancedConfiguration
- Alternate
Target stringGroup Arn - ARN of the alternate target group to use for Blue/Green deployments.
- Production
Listener stringRule - ARN of the listener rule that routes production traffic.
- Role
Arn string - ARN of the IAM role that allows ECS to manage the target groups.
- Test
Listener stringRule - ARN of the listener rule that routes test traffic.
- Alternate
Target stringGroup Arn - ARN of the alternate target group to use for Blue/Green deployments.
- Production
Listener stringRule - ARN of the listener rule that routes production traffic.
- Role
Arn string - ARN of the IAM role that allows ECS to manage the target groups.
- Test
Listener stringRule - ARN of the listener rule that routes test traffic.
- alternate
Target StringGroup Arn - ARN of the alternate target group to use for Blue/Green deployments.
- production
Listener StringRule - ARN of the listener rule that routes production traffic.
- role
Arn String - ARN of the IAM role that allows ECS to manage the target groups.
- test
Listener StringRule - ARN of the listener rule that routes test traffic.
- alternate
Target stringGroup Arn - ARN of the alternate target group to use for Blue/Green deployments.
- production
Listener stringRule - ARN of the listener rule that routes production traffic.
- role
Arn string - ARN of the IAM role that allows ECS to manage the target groups.
- test
Listener stringRule - ARN of the listener rule that routes test traffic.
- alternate_
target_ strgroup_ arn - ARN of the alternate target group to use for Blue/Green deployments.
- production_
listener_ strrule - ARN of the listener rule that routes production traffic.
- role_
arn str - ARN of the IAM role that allows ECS to manage the target groups.
- test_
listener_ strrule - ARN of the listener rule that routes test traffic.
- alternate
Target StringGroup Arn - ARN of the alternate target group to use for Blue/Green deployments.
- production
Listener StringRule - ARN of the listener rule that routes production traffic.
- role
Arn String - ARN of the IAM role that allows ECS to manage the target groups.
- test
Listener StringRule - ARN of the listener rule that routes test traffic.
GetServiceNetworkConfiguration
- Assign
Public boolIp - Whether tasks receive public IP addresses
- Security
Groups List<string> - Security groups associated with tasks
- Subnets List<string>
- Subnets associated with tasks
- Assign
Public boolIp - Whether tasks receive public IP addresses
- Security
Groups []string - Security groups associated with tasks
- Subnets []string
- Subnets associated with tasks
- assign
Public BooleanIp - Whether tasks receive public IP addresses
- security
Groups List<String> - Security groups associated with tasks
- subnets List<String>
- Subnets associated with tasks
- assign
Public booleanIp - Whether tasks receive public IP addresses
- security
Groups string[] - Security groups associated with tasks
- subnets string[]
- Subnets associated with tasks
- assign_
public_ boolip - Whether tasks receive public IP addresses
- security_
groups Sequence[str] - Security groups associated with tasks
- subnets Sequence[str]
- Subnets associated with tasks
- assign
Public BooleanIp - Whether tasks receive public IP addresses
- security
Groups List<String> - Security groups associated with tasks
- subnets List<String>
- Subnets associated with tasks
GetServiceOrderedPlacementStrategy
GetServicePlacementConstraint
- Expression string
- Cluster query language expression
- Type string
- Constraint type
- Expression string
- Cluster query language expression
- Type string
- Constraint type
- expression String
- Cluster query language expression
- type String
- Constraint type
- expression string
- Cluster query language expression
- type string
- Constraint type
- expression str
- Cluster query language expression
- type str
- Constraint type
- expression String
- Cluster query language expression
- type String
- Constraint type
GetServiceServiceRegistry
- Container
Name string - Name of the container to associate with the load balancer.
- Container
Port int - Port on the container to associate with the load balancer.
- Port int
- Port value for service discovery
- Registry
Arn string - ARN of the service registry
- Container
Name string - Name of the container to associate with the load balancer.
- Container
Port int - Port on the container to associate with the load balancer.
- Port int
- Port value for service discovery
- Registry
Arn string - ARN of the service registry
- container
Name String - Name of the container to associate with the load balancer.
- container
Port Integer - Port on the container to associate with the load balancer.
- port Integer
- Port value for service discovery
- registry
Arn String - ARN of the service registry
- container
Name string - Name of the container to associate with the load balancer.
- container
Port number - Port on the container to associate with the load balancer.
- port number
- Port value for service discovery
- registry
Arn string - ARN of the service registry
- container_
name str - Name of the container to associate with the load balancer.
- container_
port int - Port on the container to associate with the load balancer.
- port int
- Port value for service discovery
- registry_
arn str - ARN of the service registry
- container
Name String - Name of the container to associate with the load balancer.
- container
Port Number - Port on the container to associate with the load balancer.
- port Number
- Port value for service discovery
- registry
Arn String - ARN of the service registry
GetServiceTaskSet
- Arn string
- ARN of the task set
- Created
At string - Time when task set was created (RFC3339 format)
- Id string
- Task set ID
- Pending
Count int - Number of pending tasks
- Running
Count int - Number of running tasks
- Stability
Status string - Stability status of the task set
- Status string
- Task set status
- Task
Definition string - Task definition ARN
- Updated
At string - Time when task set was last updated (RFC3339 format)
- Arn string
- ARN of the task set
- Created
At string - Time when task set was created (RFC3339 format)
- Id string
- Task set ID
- Pending
Count int - Number of pending tasks
- Running
Count int - Number of running tasks
- Stability
Status string - Stability status of the task set
- Status string
- Task set status
- Task
Definition string - Task definition ARN
- Updated
At string - Time when task set was last updated (RFC3339 format)
- arn String
- ARN of the task set
- created
At String - Time when task set was created (RFC3339 format)
- id String
- Task set ID
- pending
Count Integer - Number of pending tasks
- running
Count Integer - Number of running tasks
- stability
Status String - Stability status of the task set
- status String
- Task set status
- task
Definition String - Task definition ARN
- updated
At String - Time when task set was last updated (RFC3339 format)
- arn string
- ARN of the task set
- created
At string - Time when task set was created (RFC3339 format)
- id string
- Task set ID
- pending
Count number - Number of pending tasks
- running
Count number - Number of running tasks
- stability
Status string - Stability status of the task set
- status string
- Task set status
- task
Definition string - Task definition ARN
- updated
At string - Time when task set was last updated (RFC3339 format)
- arn str
- ARN of the task set
- created_
at str - Time when task set was created (RFC3339 format)
- id str
- Task set ID
- pending_
count int - Number of pending tasks
- running_
count int - Number of running tasks
- stability_
status str - Stability status of the task set
- status str
- Task set status
- task_
definition str - Task definition ARN
- updated_
at str - Time when task set was last updated (RFC3339 format)
- arn String
- ARN of the task set
- created
At String - Time when task set was created (RFC3339 format)
- id String
- Task set ID
- pending
Count Number - Number of pending tasks
- running
Count Number - Number of running tasks
- stability
Status String - Stability status of the task set
- status String
- Task set status
- task
Definition String - Task definition ARN
- updated
At String - Time when task set was last updated (RFC3339 format)
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
