Manages an ECS Express service. The Express service provides a simplified way to deploy containerized applications with automatic provisioning and management of AWS infrastructure including Application Load Balancers (ALBs), target groups, security groups, and auto-scaling policies. This service offers built-in load balancing, auto-scaling, and networking capabilities with zero-downtime deployments.
Express services automatically handle infrastructure provisioning and updates through rolling deployments, ensuring high availability during service modifications. When you update an Express service, a new service revision is created and deployed with zero downtime.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ecs.ExpressGatewayService("example", {
executionRoleArn: execution.arn,
infrastructureRoleArn: infrastructure.arn,
primaryContainer: {
image: "nginx:latest",
},
});
import pulumi
import pulumi_aws as aws
example = aws.ecs.ExpressGatewayService("example",
execution_role_arn=execution["arn"],
infrastructure_role_arn=infrastructure["arn"],
primary_container={
"image": "nginx:latest",
})
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.NewExpressGatewayService(ctx, "example", &ecs.ExpressGatewayServiceArgs{
ExecutionRoleArn: pulumi.Any(execution.Arn),
InfrastructureRoleArn: pulumi.Any(infrastructure.Arn),
PrimaryContainer: &ecs.ExpressGatewayServicePrimaryContainerArgs{
Image: pulumi.String("nginx:latest"),
},
})
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 = new Aws.Ecs.ExpressGatewayService("example", new()
{
ExecutionRoleArn = execution.Arn,
InfrastructureRoleArn = infrastructure.Arn,
PrimaryContainer = new Aws.Ecs.Inputs.ExpressGatewayServicePrimaryContainerArgs
{
Image = "nginx:latest",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ecs.ExpressGatewayService;
import com.pulumi.aws.ecs.ExpressGatewayServiceArgs;
import com.pulumi.aws.ecs.inputs.ExpressGatewayServicePrimaryContainerArgs;
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) {
var example = new ExpressGatewayService("example", ExpressGatewayServiceArgs.builder()
.executionRoleArn(execution.arn())
.infrastructureRoleArn(infrastructure.arn())
.primaryContainer(ExpressGatewayServicePrimaryContainerArgs.builder()
.image("nginx:latest")
.build())
.build());
}
}
resources:
example:
type: aws:ecs:ExpressGatewayService
properties:
executionRoleArn: ${execution.arn}
infrastructureRoleArn: ${infrastructure.arn}
primaryContainer:
image: nginx:latest
Service Updates and Deletion
Updates
When you update an Express service configuration, a new service revision is created and deployed using a rolling deployment strategy with zero downtime. The service automatically manages the transition from the old configuration to the new one, ensuring continuous availability.
Deletion
When an Express service is deleted, it enters a DRAINING state where existing tasks are allowed to complete gracefully before termination. The deletion process is irreversible - once initiated, the service and all its associated AWS infrastructure (load balancers, target groups, etc.) will be permanently removed. During the draining process, no new tasks are started, and the service becomes unavailable once all tasks have completed.
Create ExpressGatewayService Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExpressGatewayService(name: string, args: ExpressGatewayServiceArgs, opts?: CustomResourceOptions);@overload
def ExpressGatewayService(resource_name: str,
args: ExpressGatewayServiceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ExpressGatewayService(resource_name: str,
opts: Optional[ResourceOptions] = None,
execution_role_arn: Optional[str] = None,
infrastructure_role_arn: Optional[str] = None,
network_configurations: Optional[Sequence[ExpressGatewayServiceNetworkConfigurationArgs]] = None,
health_check_path: Optional[str] = None,
cpu: Optional[str] = None,
memory: Optional[str] = None,
cluster: Optional[str] = None,
primary_container: Optional[ExpressGatewayServicePrimaryContainerArgs] = None,
region: Optional[str] = None,
scaling_targets: Optional[Sequence[ExpressGatewayServiceScalingTargetArgs]] = None,
service_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
task_role_arn: Optional[str] = None,
timeouts: Optional[ExpressGatewayServiceTimeoutsArgs] = None,
wait_for_steady_state: Optional[bool] = None)func NewExpressGatewayService(ctx *Context, name string, args ExpressGatewayServiceArgs, opts ...ResourceOption) (*ExpressGatewayService, error)public ExpressGatewayService(string name, ExpressGatewayServiceArgs args, CustomResourceOptions? opts = null)
public ExpressGatewayService(String name, ExpressGatewayServiceArgs args)
public ExpressGatewayService(String name, ExpressGatewayServiceArgs args, CustomResourceOptions options)
type: aws:ecs:ExpressGatewayService
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ExpressGatewayServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ExpressGatewayServiceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ExpressGatewayServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExpressGatewayServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExpressGatewayServiceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var expressGatewayServiceResource = new Aws.Ecs.ExpressGatewayService("expressGatewayServiceResource", new()
{
ExecutionRoleArn = "string",
InfrastructureRoleArn = "string",
NetworkConfigurations = new[]
{
new Aws.Ecs.Inputs.ExpressGatewayServiceNetworkConfigurationArgs
{
SecurityGroups = new[]
{
"string",
},
Subnets = new[]
{
"string",
},
},
},
HealthCheckPath = "string",
Cpu = "string",
Memory = "string",
Cluster = "string",
PrimaryContainer = new Aws.Ecs.Inputs.ExpressGatewayServicePrimaryContainerArgs
{
Image = "string",
AwsLogsConfigurations = new[]
{
new Aws.Ecs.Inputs.ExpressGatewayServicePrimaryContainerAwsLogsConfigurationArgs
{
LogGroup = "string",
LogStreamPrefix = "string",
},
},
Commands = new[]
{
"string",
},
ContainerPort = 0,
Environments = new[]
{
new Aws.Ecs.Inputs.ExpressGatewayServicePrimaryContainerEnvironmentArgs
{
Name = "string",
Value = "string",
},
},
RepositoryCredentials = new Aws.Ecs.Inputs.ExpressGatewayServicePrimaryContainerRepositoryCredentialsArgs
{
CredentialsParameter = "string",
},
Secrets = new[]
{
new Aws.Ecs.Inputs.ExpressGatewayServicePrimaryContainerSecretArgs
{
Name = "string",
ValueFrom = "string",
},
},
},
Region = "string",
ScalingTargets = new[]
{
new Aws.Ecs.Inputs.ExpressGatewayServiceScalingTargetArgs
{
AutoScalingMetric = "string",
AutoScalingTargetValue = 0,
MaxTaskCount = 0,
MinTaskCount = 0,
},
},
ServiceName = "string",
Tags =
{
{ "string", "string" },
},
TaskRoleArn = "string",
Timeouts = new Aws.Ecs.Inputs.ExpressGatewayServiceTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
WaitForSteadyState = false,
});
example, err := ecs.NewExpressGatewayService(ctx, "expressGatewayServiceResource", &ecs.ExpressGatewayServiceArgs{
ExecutionRoleArn: pulumi.String("string"),
InfrastructureRoleArn: pulumi.String("string"),
NetworkConfigurations: ecs.ExpressGatewayServiceNetworkConfigurationArray{
&ecs.ExpressGatewayServiceNetworkConfigurationArgs{
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
Subnets: pulumi.StringArray{
pulumi.String("string"),
},
},
},
HealthCheckPath: pulumi.String("string"),
Cpu: pulumi.String("string"),
Memory: pulumi.String("string"),
Cluster: pulumi.String("string"),
PrimaryContainer: &ecs.ExpressGatewayServicePrimaryContainerArgs{
Image: pulumi.String("string"),
AwsLogsConfigurations: ecs.ExpressGatewayServicePrimaryContainerAwsLogsConfigurationArray{
&ecs.ExpressGatewayServicePrimaryContainerAwsLogsConfigurationArgs{
LogGroup: pulumi.String("string"),
LogStreamPrefix: pulumi.String("string"),
},
},
Commands: pulumi.StringArray{
pulumi.String("string"),
},
ContainerPort: pulumi.Int(0),
Environments: ecs.ExpressGatewayServicePrimaryContainerEnvironmentArray{
&ecs.ExpressGatewayServicePrimaryContainerEnvironmentArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
RepositoryCredentials: &ecs.ExpressGatewayServicePrimaryContainerRepositoryCredentialsArgs{
CredentialsParameter: pulumi.String("string"),
},
Secrets: ecs.ExpressGatewayServicePrimaryContainerSecretArray{
&ecs.ExpressGatewayServicePrimaryContainerSecretArgs{
Name: pulumi.String("string"),
ValueFrom: pulumi.String("string"),
},
},
},
Region: pulumi.String("string"),
ScalingTargets: ecs.ExpressGatewayServiceScalingTargetArray{
&ecs.ExpressGatewayServiceScalingTargetArgs{
AutoScalingMetric: pulumi.String("string"),
AutoScalingTargetValue: pulumi.Int(0),
MaxTaskCount: pulumi.Int(0),
MinTaskCount: pulumi.Int(0),
},
},
ServiceName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TaskRoleArn: pulumi.String("string"),
Timeouts: &ecs.ExpressGatewayServiceTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
WaitForSteadyState: pulumi.Bool(false),
})
var expressGatewayServiceResource = new ExpressGatewayService("expressGatewayServiceResource", ExpressGatewayServiceArgs.builder()
.executionRoleArn("string")
.infrastructureRoleArn("string")
.networkConfigurations(ExpressGatewayServiceNetworkConfigurationArgs.builder()
.securityGroups("string")
.subnets("string")
.build())
.healthCheckPath("string")
.cpu("string")
.memory("string")
.cluster("string")
.primaryContainer(ExpressGatewayServicePrimaryContainerArgs.builder()
.image("string")
.awsLogsConfigurations(ExpressGatewayServicePrimaryContainerAwsLogsConfigurationArgs.builder()
.logGroup("string")
.logStreamPrefix("string")
.build())
.commands("string")
.containerPort(0)
.environments(ExpressGatewayServicePrimaryContainerEnvironmentArgs.builder()
.name("string")
.value("string")
.build())
.repositoryCredentials(ExpressGatewayServicePrimaryContainerRepositoryCredentialsArgs.builder()
.credentialsParameter("string")
.build())
.secrets(ExpressGatewayServicePrimaryContainerSecretArgs.builder()
.name("string")
.valueFrom("string")
.build())
.build())
.region("string")
.scalingTargets(ExpressGatewayServiceScalingTargetArgs.builder()
.autoScalingMetric("string")
.autoScalingTargetValue(0)
.maxTaskCount(0)
.minTaskCount(0)
.build())
.serviceName("string")
.tags(Map.of("string", "string"))
.taskRoleArn("string")
.timeouts(ExpressGatewayServiceTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.waitForSteadyState(false)
.build());
express_gateway_service_resource = aws.ecs.ExpressGatewayService("expressGatewayServiceResource",
execution_role_arn="string",
infrastructure_role_arn="string",
network_configurations=[{
"security_groups": ["string"],
"subnets": ["string"],
}],
health_check_path="string",
cpu="string",
memory="string",
cluster="string",
primary_container={
"image": "string",
"aws_logs_configurations": [{
"log_group": "string",
"log_stream_prefix": "string",
}],
"commands": ["string"],
"container_port": 0,
"environments": [{
"name": "string",
"value": "string",
}],
"repository_credentials": {
"credentials_parameter": "string",
},
"secrets": [{
"name": "string",
"value_from": "string",
}],
},
region="string",
scaling_targets=[{
"auto_scaling_metric": "string",
"auto_scaling_target_value": 0,
"max_task_count": 0,
"min_task_count": 0,
}],
service_name="string",
tags={
"string": "string",
},
task_role_arn="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
wait_for_steady_state=False)
const expressGatewayServiceResource = new aws.ecs.ExpressGatewayService("expressGatewayServiceResource", {
executionRoleArn: "string",
infrastructureRoleArn: "string",
networkConfigurations: [{
securityGroups: ["string"],
subnets: ["string"],
}],
healthCheckPath: "string",
cpu: "string",
memory: "string",
cluster: "string",
primaryContainer: {
image: "string",
awsLogsConfigurations: [{
logGroup: "string",
logStreamPrefix: "string",
}],
commands: ["string"],
containerPort: 0,
environments: [{
name: "string",
value: "string",
}],
repositoryCredentials: {
credentialsParameter: "string",
},
secrets: [{
name: "string",
valueFrom: "string",
}],
},
region: "string",
scalingTargets: [{
autoScalingMetric: "string",
autoScalingTargetValue: 0,
maxTaskCount: 0,
minTaskCount: 0,
}],
serviceName: "string",
tags: {
string: "string",
},
taskRoleArn: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
waitForSteadyState: false,
});
type: aws:ecs:ExpressGatewayService
properties:
cluster: string
cpu: string
executionRoleArn: string
healthCheckPath: string
infrastructureRoleArn: string
memory: string
networkConfigurations:
- securityGroups:
- string
subnets:
- string
primaryContainer:
awsLogsConfigurations:
- logGroup: string
logStreamPrefix: string
commands:
- string
containerPort: 0
environments:
- name: string
value: string
image: string
repositoryCredentials:
credentialsParameter: string
secrets:
- name: string
valueFrom: string
region: string
scalingTargets:
- autoScalingMetric: string
autoScalingTargetValue: 0
maxTaskCount: 0
minTaskCount: 0
serviceName: string
tags:
string: string
taskRoleArn: string
timeouts:
create: string
delete: string
update: string
waitForSteadyState: false
ExpressGatewayService Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ExpressGatewayService resource accepts the following input properties:
- Execution
Role stringArn - ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
- Infrastructure
Role stringArn ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. Important: The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created.
The following arguments are optional:
- Cluster string
- Name or ARN of the ECS cluster. Defaults to
default. - Cpu string
- Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096.
- Health
Check stringPath - Path for health check requests. Defaults to
/ping. - Memory string
- Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192.
- Network
Configurations List<ExpressGateway Service Network Configuration> - Primary
Container ExpressGateway Service Primary Container - Region string
- AWS region where the service will be created. If not specified, the region configured in the provider will be used.
- Scaling
Targets List<ExpressGateway Service Scaling Target> - Service
Name string - Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Task
Role stringArn - ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- Timeouts
Express
Gateway Service Timeouts - Wait
For boolSteady State - Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to
false.
- Execution
Role stringArn - ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
- Infrastructure
Role stringArn ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. Important: The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created.
The following arguments are optional:
- Cluster string
- Name or ARN of the ECS cluster. Defaults to
default. - Cpu string
- Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096.
- Health
Check stringPath - Path for health check requests. Defaults to
/ping. - Memory string
- Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192.
- Network
Configurations []ExpressGateway Service Network Configuration Args - Primary
Container ExpressGateway Service Primary Container Args - Region string
- AWS region where the service will be created. If not specified, the region configured in the provider will be used.
- Scaling
Targets []ExpressGateway Service Scaling Target Args - Service
Name string - Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
- map[string]string
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Task
Role stringArn - ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- Timeouts
Express
Gateway Service Timeouts Args - Wait
For boolSteady State - Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to
false.
- execution
Role StringArn - ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
- infrastructure
Role StringArn ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. Important: The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created.
The following arguments are optional:
- cluster String
- Name or ARN of the ECS cluster. Defaults to
default. - cpu String
- Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096.
- health
Check StringPath - Path for health check requests. Defaults to
/ping. - memory String
- Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192.
- network
Configurations List<ExpressGateway Service Network Configuration> - primary
Container ExpressGateway Service Primary Container - region String
- AWS region where the service will be created. If not specified, the region configured in the provider will be used.
- scaling
Targets List<ExpressGateway Service Scaling Target> - service
Name String - Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - task
Role StringArn - ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- timeouts
Express
Gateway Service Timeouts - wait
For BooleanSteady State - Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to
false.
- execution
Role stringArn - ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
- infrastructure
Role stringArn ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. Important: The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created.
The following arguments are optional:
- cluster string
- Name or ARN of the ECS cluster. Defaults to
default. - cpu string
- Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096.
- health
Check stringPath - Path for health check requests. Defaults to
/ping. - memory string
- Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192.
- network
Configurations ExpressGateway Service Network Configuration[] - primary
Container ExpressGateway Service Primary Container - region string
- AWS region where the service will be created. If not specified, the region configured in the provider will be used.
- scaling
Targets ExpressGateway Service Scaling Target[] - service
Name string - Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - task
Role stringArn - ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- timeouts
Express
Gateway Service Timeouts - wait
For booleanSteady State - Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to
false.
- execution_
role_ strarn - ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
- infrastructure_
role_ strarn ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. Important: The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created.
The following arguments are optional:
- cluster str
- Name or ARN of the ECS cluster. Defaults to
default. - cpu str
- Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096.
- health_
check_ strpath - Path for health check requests. Defaults to
/ping. - memory str
- Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192.
- network_
configurations Sequence[ExpressGateway Service Network Configuration Args] - primary_
container ExpressGateway Service Primary Container Args - region str
- AWS region where the service will be created. If not specified, the region configured in the provider will be used.
- scaling_
targets Sequence[ExpressGateway Service Scaling Target Args] - service_
name str - Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - task_
role_ strarn - ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- timeouts
Express
Gateway Service Timeouts Args - wait_
for_ boolsteady_ state - Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to
false.
- execution
Role StringArn - ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
- infrastructure
Role StringArn ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. Important: The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created.
The following arguments are optional:
- cluster String
- Name or ARN of the ECS cluster. Defaults to
default. - cpu String
- Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096.
- health
Check StringPath - Path for health check requests. Defaults to
/ping. - memory String
- Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192.
- network
Configurations List<Property Map> - primary
Container Property Map - region String
- AWS region where the service will be created. If not specified, the region configured in the provider will be used.
- scaling
Targets List<Property Map> - service
Name String - Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
- Map<String>
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - task
Role StringArn - ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- timeouts Property Map
- wait
For BooleanSteady State - Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to
false.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExpressGatewayService resource produces the following output properties:
- Current
Deployment string - ARN of the current deployment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ingress
Paths List<ExpressGateway Service Ingress Path> - List of ingress paths with access type and endpoint information.
- Service
Arn string - ARN of the Express Gateway Service.
- Service
Revision stringArn - ARN of the service revision.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- Current
Deployment string - ARN of the current deployment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ingress
Paths []ExpressGateway Service Ingress Path - List of ingress paths with access type and endpoint information.
- Service
Arn string - ARN of the Express Gateway Service.
- Service
Revision stringArn - ARN of the service revision.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- current
Deployment String - ARN of the current deployment.
- id String
- The provider-assigned unique ID for this managed resource.
- ingress
Paths List<ExpressGateway Service Ingress Path> - List of ingress paths with access type and endpoint information.
- service
Arn String - ARN of the Express Gateway Service.
- service
Revision StringArn - ARN of the service revision.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- current
Deployment string - ARN of the current deployment.
- id string
- The provider-assigned unique ID for this managed resource.
- ingress
Paths ExpressGateway Service Ingress Path[] - List of ingress paths with access type and endpoint information.
- service
Arn string - ARN of the Express Gateway Service.
- service
Revision stringArn - ARN of the service revision.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- current_
deployment str - ARN of the current deployment.
- id str
- The provider-assigned unique ID for this managed resource.
- ingress_
paths Sequence[ExpressGateway Service Ingress Path] - List of ingress paths with access type and endpoint information.
- service_
arn str - ARN of the Express Gateway Service.
- service_
revision_ strarn - ARN of the service revision.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- current
Deployment String - ARN of the current deployment.
- id String
- The provider-assigned unique ID for this managed resource.
- ingress
Paths List<Property Map> - List of ingress paths with access type and endpoint information.
- service
Arn String - ARN of the Express Gateway Service.
- service
Revision StringArn - ARN of the service revision.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
Look up Existing ExpressGatewayService Resource
Get an existing ExpressGatewayService resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ExpressGatewayServiceState, opts?: CustomResourceOptions): ExpressGatewayService@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster: Optional[str] = None,
cpu: Optional[str] = None,
current_deployment: Optional[str] = None,
execution_role_arn: Optional[str] = None,
health_check_path: Optional[str] = None,
infrastructure_role_arn: Optional[str] = None,
ingress_paths: Optional[Sequence[ExpressGatewayServiceIngressPathArgs]] = None,
memory: Optional[str] = None,
network_configurations: Optional[Sequence[ExpressGatewayServiceNetworkConfigurationArgs]] = None,
primary_container: Optional[ExpressGatewayServicePrimaryContainerArgs] = None,
region: Optional[str] = None,
scaling_targets: Optional[Sequence[ExpressGatewayServiceScalingTargetArgs]] = None,
service_arn: Optional[str] = None,
service_name: Optional[str] = None,
service_revision_arn: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
task_role_arn: Optional[str] = None,
timeouts: Optional[ExpressGatewayServiceTimeoutsArgs] = None,
wait_for_steady_state: Optional[bool] = None) -> ExpressGatewayServicefunc GetExpressGatewayService(ctx *Context, name string, id IDInput, state *ExpressGatewayServiceState, opts ...ResourceOption) (*ExpressGatewayService, error)public static ExpressGatewayService Get(string name, Input<string> id, ExpressGatewayServiceState? state, CustomResourceOptions? opts = null)public static ExpressGatewayService get(String name, Output<String> id, ExpressGatewayServiceState state, CustomResourceOptions options)resources: _: type: aws:ecs:ExpressGatewayService get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cluster string
- Name or ARN of the ECS cluster. Defaults to
default. - Cpu string
- Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096.
- Current
Deployment string - ARN of the current deployment.
- Execution
Role stringArn - ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
- Health
Check stringPath - Path for health check requests. Defaults to
/ping. - Infrastructure
Role stringArn ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. Important: The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created.
The following arguments are optional:
- Ingress
Paths List<ExpressGateway Service Ingress Path> - List of ingress paths with access type and endpoint information.
- Memory string
- Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192.
- Network
Configurations List<ExpressGateway Service Network Configuration> - Primary
Container ExpressGateway Service Primary Container - Region string
- AWS region where the service will be created. If not specified, the region configured in the provider will be used.
- Scaling
Targets List<ExpressGateway Service Scaling Target> - Service
Arn string - ARN of the Express Gateway Service.
- Service
Name string - Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
- Service
Revision stringArn - ARN of the service revision.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - Task
Role stringArn - ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- Timeouts
Express
Gateway Service Timeouts - Wait
For boolSteady State - Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to
false.
- Cluster string
- Name or ARN of the ECS cluster. Defaults to
default. - Cpu string
- Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096.
- Current
Deployment string - ARN of the current deployment.
- Execution
Role stringArn - ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
- Health
Check stringPath - Path for health check requests. Defaults to
/ping. - Infrastructure
Role stringArn ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. Important: The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created.
The following arguments are optional:
- Ingress
Paths []ExpressGateway Service Ingress Path Args - List of ingress paths with access type and endpoint information.
- Memory string
- Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192.
- Network
Configurations []ExpressGateway Service Network Configuration Args - Primary
Container ExpressGateway Service Primary Container Args - Region string
- AWS region where the service will be created. If not specified, the region configured in the provider will be used.
- Scaling
Targets []ExpressGateway Service Scaling Target Args - Service
Arn string - ARN of the Express Gateway Service.
- Service
Name string - Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
- Service
Revision stringArn - ARN of the service revision.
- map[string]string
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - Task
Role stringArn - ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- Timeouts
Express
Gateway Service Timeouts Args - Wait
For boolSteady State - Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to
false.
- cluster String
- Name or ARN of the ECS cluster. Defaults to
default. - cpu String
- Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096.
- current
Deployment String - ARN of the current deployment.
- execution
Role StringArn - ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
- health
Check StringPath - Path for health check requests. Defaults to
/ping. - infrastructure
Role StringArn ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. Important: The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created.
The following arguments are optional:
- ingress
Paths List<ExpressGateway Service Ingress Path> - List of ingress paths with access type and endpoint information.
- memory String
- Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192.
- network
Configurations List<ExpressGateway Service Network Configuration> - primary
Container ExpressGateway Service Primary Container - region String
- AWS region where the service will be created. If not specified, the region configured in the provider will be used.
- scaling
Targets List<ExpressGateway Service Scaling Target> - service
Arn String - ARN of the Express Gateway Service.
- service
Name String - Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
- service
Revision StringArn - ARN of the service revision.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - task
Role StringArn - ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- timeouts
Express
Gateway Service Timeouts - wait
For BooleanSteady State - Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to
false.
- cluster string
- Name or ARN of the ECS cluster. Defaults to
default. - cpu string
- Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096.
- current
Deployment string - ARN of the current deployment.
- execution
Role stringArn - ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
- health
Check stringPath - Path for health check requests. Defaults to
/ping. - infrastructure
Role stringArn ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. Important: The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created.
The following arguments are optional:
- ingress
Paths ExpressGateway Service Ingress Path[] - List of ingress paths with access type and endpoint information.
- memory string
- Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192.
- network
Configurations ExpressGateway Service Network Configuration[] - primary
Container ExpressGateway Service Primary Container - region string
- AWS region where the service will be created. If not specified, the region configured in the provider will be used.
- scaling
Targets ExpressGateway Service Scaling Target[] - service
Arn string - ARN of the Express Gateway Service.
- service
Name string - Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
- service
Revision stringArn - ARN of the service revision.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - task
Role stringArn - ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- timeouts
Express
Gateway Service Timeouts - wait
For booleanSteady State - Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to
false.
- cluster str
- Name or ARN of the ECS cluster. Defaults to
default. - cpu str
- Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096.
- current_
deployment str - ARN of the current deployment.
- execution_
role_ strarn - ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
- health_
check_ strpath - Path for health check requests. Defaults to
/ping. - infrastructure_
role_ strarn ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. Important: The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created.
The following arguments are optional:
- ingress_
paths Sequence[ExpressGateway Service Ingress Path Args] - List of ingress paths with access type and endpoint information.
- memory str
- Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192.
- network_
configurations Sequence[ExpressGateway Service Network Configuration Args] - primary_
container ExpressGateway Service Primary Container Args - region str
- AWS region where the service will be created. If not specified, the region configured in the provider will be used.
- scaling_
targets Sequence[ExpressGateway Service Scaling Target Args] - service_
arn str - ARN of the Express Gateway Service.
- service_
name str - Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
- service_
revision_ strarn - ARN of the service revision.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - task_
role_ strarn - ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- timeouts
Express
Gateway Service Timeouts Args - wait_
for_ boolsteady_ state - Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to
false.
- cluster String
- Name or ARN of the ECS cluster. Defaults to
default. - cpu String
- Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096.
- current
Deployment String - ARN of the current deployment.
- execution
Role StringArn - ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
- health
Check StringPath - Path for health check requests. Defaults to
/ping. - infrastructure
Role StringArn ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. Important: The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created.
The following arguments are optional:
- ingress
Paths List<Property Map> - List of ingress paths with access type and endpoint information.
- memory String
- Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192.
- network
Configurations List<Property Map> - primary
Container Property Map - region String
- AWS region where the service will be created. If not specified, the region configured in the provider will be used.
- scaling
Targets List<Property Map> - service
Arn String - ARN of the Express Gateway Service.
- service
Name String - Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
- service
Revision StringArn - ARN of the service revision.
- Map<String>
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - task
Role StringArn - ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
- timeouts Property Map
- wait
For BooleanSteady State - Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to
false.
Supporting Types
ExpressGatewayServiceIngressPath, ExpressGatewayServiceIngressPathArgs
- Access
Type string - Endpoint string
- Access
Type string - Endpoint string
- access
Type String - endpoint String
- access
Type string - endpoint string
- access_
type str - endpoint str
- access
Type String - endpoint String
ExpressGatewayServiceNetworkConfiguration, ExpressGatewayServiceNetworkConfigurationArgs
- Security
Groups List<string> - Security groups associated with the task. If not specified, the default security group for the VPC is used.
- Subnets List<string>
- Subnets associated with the task. At least 2 subnets must be specified when using network configuration. If not specified, default subnets will be used.
- Security
Groups []string - Security groups associated with the task. If not specified, the default security group for the VPC is used.
- Subnets []string
- Subnets associated with the task. At least 2 subnets must be specified when using network configuration. If not specified, default subnets will be used.
- security
Groups List<String> - Security groups associated with the task. If not specified, the default security group for the VPC is used.
- subnets List<String>
- Subnets associated with the task. At least 2 subnets must be specified when using network configuration. If not specified, default subnets will be used.
- security
Groups string[] - Security groups associated with the task. If not specified, the default security group for the VPC is used.
- subnets string[]
- Subnets associated with the task. At least 2 subnets must be specified when using network configuration. If not specified, default subnets will be used.
- security_
groups Sequence[str] - Security groups associated with the task. If not specified, the default security group for the VPC is used.
- subnets Sequence[str]
- Subnets associated with the task. At least 2 subnets must be specified when using network configuration. If not specified, default subnets will be used.
- security
Groups List<String> - Security groups associated with the task. If not specified, the default security group for the VPC is used.
- subnets List<String>
- Subnets associated with the task. At least 2 subnets must be specified when using network configuration. If not specified, default subnets will be used.
ExpressGatewayServicePrimaryContainer, ExpressGatewayServicePrimaryContainerArgs
- Image string
- Docker image to use for the container.
- Aws
Logs List<ExpressConfigurations Gateway Service Primary Container Aws Logs Configuration> - Commands List<string>
- Command to run in the container. Overrides the default command from the Docker image.
- Container
Port int - Port on which the container listens for connections.
- Environments
List<Express
Gateway Service Primary Container Environment> - Repository
Credentials ExpressGateway Service Primary Container Repository Credentials - Secrets
List<Express
Gateway Service Primary Container Secret>
- Image string
- Docker image to use for the container.
- Aws
Logs []ExpressConfigurations Gateway Service Primary Container Aws Logs Configuration - Commands []string
- Command to run in the container. Overrides the default command from the Docker image.
- Container
Port int - Port on which the container listens for connections.
- Environments
[]Express
Gateway Service Primary Container Environment - Repository
Credentials ExpressGateway Service Primary Container Repository Credentials - Secrets
[]Express
Gateway Service Primary Container Secret
- image String
- Docker image to use for the container.
- aws
Logs List<ExpressConfigurations Gateway Service Primary Container Aws Logs Configuration> - commands List<String>
- Command to run in the container. Overrides the default command from the Docker image.
- container
Port Integer - Port on which the container listens for connections.
- environments
List<Express
Gateway Service Primary Container Environment> - repository
Credentials ExpressGateway Service Primary Container Repository Credentials - secrets
List<Express
Gateway Service Primary Container Secret>
- image string
- Docker image to use for the container.
- aws
Logs ExpressConfigurations Gateway Service Primary Container Aws Logs Configuration[] - commands string[]
- Command to run in the container. Overrides the default command from the Docker image.
- container
Port number - Port on which the container listens for connections.
- environments
Express
Gateway Service Primary Container Environment[] - repository
Credentials ExpressGateway Service Primary Container Repository Credentials - secrets
Express
Gateway Service Primary Container Secret[]
- image str
- Docker image to use for the container.
- aws_
logs_ Sequence[Expressconfigurations Gateway Service Primary Container Aws Logs Configuration] - commands Sequence[str]
- Command to run in the container. Overrides the default command from the Docker image.
- container_
port int - Port on which the container listens for connections.
- environments
Sequence[Express
Gateway Service Primary Container Environment] - repository_
credentials ExpressGateway Service Primary Container Repository Credentials - secrets
Sequence[Express
Gateway Service Primary Container Secret]
- image String
- Docker image to use for the container.
- aws
Logs List<Property Map>Configurations - commands List<String>
- Command to run in the container. Overrides the default command from the Docker image.
- container
Port Number - Port on which the container listens for connections.
- environments List<Property Map>
- repository
Credentials Property Map - secrets List<Property Map>
ExpressGatewayServicePrimaryContainerAwsLogsConfiguration, ExpressGatewayServicePrimaryContainerAwsLogsConfigurationArgs
- Log
Group string - CloudWatch log group name.
- Log
Stream stringPrefix - Prefix for log stream names. If not specified, a default prefix will be used.
- Log
Group string - CloudWatch log group name.
- Log
Stream stringPrefix - Prefix for log stream names. If not specified, a default prefix will be used.
- log
Group String - CloudWatch log group name.
- log
Stream StringPrefix - Prefix for log stream names. If not specified, a default prefix will be used.
- log
Group string - CloudWatch log group name.
- log
Stream stringPrefix - Prefix for log stream names. If not specified, a default prefix will be used.
- log_
group str - CloudWatch log group name.
- log_
stream_ strprefix - Prefix for log stream names. If not specified, a default prefix will be used.
- log
Group String - CloudWatch log group name.
- log
Stream StringPrefix - Prefix for log stream names. If not specified, a default prefix will be used.
ExpressGatewayServicePrimaryContainerEnvironment, ExpressGatewayServicePrimaryContainerEnvironmentArgs
ExpressGatewayServicePrimaryContainerRepositoryCredentials, ExpressGatewayServicePrimaryContainerRepositoryCredentialsArgs
- Credentials
Parameter string - ARN of the AWS Systems Manager parameter containing the repository credentials.
- Credentials
Parameter string - ARN of the AWS Systems Manager parameter containing the repository credentials.
- credentials
Parameter String - ARN of the AWS Systems Manager parameter containing the repository credentials.
- credentials
Parameter string - ARN of the AWS Systems Manager parameter containing the repository credentials.
- credentials_
parameter str - ARN of the AWS Systems Manager parameter containing the repository credentials.
- credentials
Parameter String - ARN of the AWS Systems Manager parameter containing the repository credentials.
ExpressGatewayServicePrimaryContainerSecret, ExpressGatewayServicePrimaryContainerSecretArgs
- name str
- value_
from str - ARN of the AWS Secrets Manager secret or AWS Systems Manager parameter containing the secret value.
ExpressGatewayServiceScalingTarget, ExpressGatewayServiceScalingTargetArgs
- Auto
Scaling stringMetric - Metric to use for auto-scaling. Valid values are
CPUandMEMORY. - Auto
Scaling intTarget Value - Target value for the auto-scaling metric (as a percentage). Defaults to
60. - Max
Task intCount - Maximum number of tasks to run.
- Min
Task intCount - Minimum number of tasks to run.
- Auto
Scaling stringMetric - Metric to use for auto-scaling. Valid values are
CPUandMEMORY. - Auto
Scaling intTarget Value - Target value for the auto-scaling metric (as a percentage). Defaults to
60. - Max
Task intCount - Maximum number of tasks to run.
- Min
Task intCount - Minimum number of tasks to run.
- auto
Scaling StringMetric - Metric to use for auto-scaling. Valid values are
CPUandMEMORY. - auto
Scaling IntegerTarget Value - Target value for the auto-scaling metric (as a percentage). Defaults to
60. - max
Task IntegerCount - Maximum number of tasks to run.
- min
Task IntegerCount - Minimum number of tasks to run.
- auto
Scaling stringMetric - Metric to use for auto-scaling. Valid values are
CPUandMEMORY. - auto
Scaling numberTarget Value - Target value for the auto-scaling metric (as a percentage). Defaults to
60. - max
Task numberCount - Maximum number of tasks to run.
- min
Task numberCount - Minimum number of tasks to run.
- auto_
scaling_ strmetric - Metric to use for auto-scaling. Valid values are
CPUandMEMORY. - auto_
scaling_ inttarget_ value - Target value for the auto-scaling metric (as a percentage). Defaults to
60. - max_
task_ intcount - Maximum number of tasks to run.
- min_
task_ intcount - Minimum number of tasks to run.
- auto
Scaling StringMetric - Metric to use for auto-scaling. Valid values are
CPUandMEMORY. - auto
Scaling NumberTarget Value - Target value for the auto-scaling metric (as a percentage). Defaults to
60. - max
Task NumberCount - Maximum number of tasks to run.
- min
Task NumberCount - Minimum number of tasks to run.
ExpressGatewayServiceTimeouts, ExpressGatewayServiceTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Using pulumi import, import ECS Express Gateway Services using the service ARN. For example:
$ pulumi import aws:ecs/expressGatewayService:ExpressGatewayService example arn:aws:ecs:us-west-2:123456789012:service/my-cluster/my-express-gateway-service
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
