1. Packages
  2. AWS
  3. API Docs
  4. ecs
  5. ExpressGatewayService
AWS v7.14.0 published on Thursday, Dec 11, 2025 by Pulumi
aws logo
AWS v7.14.0 published on Thursday, Dec 11, 2025 by Pulumi

    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:

    ExecutionRoleArn string
    ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
    InfrastructureRoleArn string

    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.
    HealthCheckPath string
    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.
    NetworkConfigurations List<ExpressGatewayServiceNetworkConfiguration>
    PrimaryContainer ExpressGatewayServicePrimaryContainer
    Region string
    AWS region where the service will be created. If not specified, the region configured in the provider will be used.
    ScalingTargets List<ExpressGatewayServiceScalingTarget>
    ServiceName string
    Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TaskRoleArn string
    ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    Timeouts ExpressGatewayServiceTimeouts
    WaitForSteadyState bool
    Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to false.
    ExecutionRoleArn string
    ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
    InfrastructureRoleArn string

    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.
    HealthCheckPath string
    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.
    NetworkConfigurations []ExpressGatewayServiceNetworkConfigurationArgs
    PrimaryContainer ExpressGatewayServicePrimaryContainerArgs
    Region string
    AWS region where the service will be created. If not specified, the region configured in the provider will be used.
    ScalingTargets []ExpressGatewayServiceScalingTargetArgs
    ServiceName string
    Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
    Tags map[string]string
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TaskRoleArn string
    ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    Timeouts ExpressGatewayServiceTimeoutsArgs
    WaitForSteadyState bool
    Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to false.
    executionRoleArn String
    ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
    infrastructureRoleArn String

    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.
    healthCheckPath String
    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.
    networkConfigurations List<ExpressGatewayServiceNetworkConfiguration>
    primaryContainer ExpressGatewayServicePrimaryContainer
    region String
    AWS region where the service will be created. If not specified, the region configured in the provider will be used.
    scalingTargets List<ExpressGatewayServiceScalingTarget>
    serviceName String
    Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
    tags Map<String,String>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    taskRoleArn String
    ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    timeouts ExpressGatewayServiceTimeouts
    waitForSteadyState Boolean
    Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to false.
    executionRoleArn string
    ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
    infrastructureRoleArn string

    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.
    healthCheckPath string
    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.
    networkConfigurations ExpressGatewayServiceNetworkConfiguration[]
    primaryContainer ExpressGatewayServicePrimaryContainer
    region string
    AWS region where the service will be created. If not specified, the region configured in the provider will be used.
    scalingTargets ExpressGatewayServiceScalingTarget[]
    serviceName string
    Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    taskRoleArn string
    ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    timeouts ExpressGatewayServiceTimeouts
    waitForSteadyState boolean
    Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to false.
    execution_role_arn str
    ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
    infrastructure_role_arn str

    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_path str
    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[ExpressGatewayServiceNetworkConfigurationArgs]
    primary_container ExpressGatewayServicePrimaryContainerArgs
    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[ExpressGatewayServiceScalingTargetArgs]
    service_name str
    Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    task_role_arn str
    ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    timeouts ExpressGatewayServiceTimeoutsArgs
    wait_for_steady_state bool
    Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to false.
    executionRoleArn String
    ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
    infrastructureRoleArn String

    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.
    healthCheckPath String
    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.
    networkConfigurations List<Property Map>
    primaryContainer Property Map
    region String
    AWS region where the service will be created. If not specified, the region configured in the provider will be used.
    scalingTargets List<Property Map>
    serviceName String
    Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
    tags Map<String>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    taskRoleArn String
    ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    timeouts Property Map
    waitForSteadyState Boolean
    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:

    CurrentDeployment string
    ARN of the current deployment.
    Id string
    The provider-assigned unique ID for this managed resource.
    IngressPaths List<ExpressGatewayServiceIngressPath>
    List of ingress paths with access type and endpoint information.
    ServiceArn string
    ARN of the Express Gateway Service.
    ServiceRevisionArn string
    ARN of the service revision.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    CurrentDeployment string
    ARN of the current deployment.
    Id string
    The provider-assigned unique ID for this managed resource.
    IngressPaths []ExpressGatewayServiceIngressPath
    List of ingress paths with access type and endpoint information.
    ServiceArn string
    ARN of the Express Gateway Service.
    ServiceRevisionArn string
    ARN of the service revision.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    currentDeployment String
    ARN of the current deployment.
    id String
    The provider-assigned unique ID for this managed resource.
    ingressPaths List<ExpressGatewayServiceIngressPath>
    List of ingress paths with access type and endpoint information.
    serviceArn String
    ARN of the Express Gateway Service.
    serviceRevisionArn String
    ARN of the service revision.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    currentDeployment string
    ARN of the current deployment.
    id string
    The provider-assigned unique ID for this managed resource.
    ingressPaths ExpressGatewayServiceIngressPath[]
    List of ingress paths with access type and endpoint information.
    serviceArn string
    ARN of the Express Gateway Service.
    serviceRevisionArn string
    ARN of the service revision.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    current_deployment str
    ARN of the current deployment.
    id str
    The provider-assigned unique ID for this managed resource.
    ingress_paths Sequence[ExpressGatewayServiceIngressPath]
    List of ingress paths with access type and endpoint information.
    service_arn str
    ARN of the Express Gateway Service.
    service_revision_arn str
    ARN of the service revision.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    currentDeployment String
    ARN of the current deployment.
    id String
    The provider-assigned unique ID for this managed resource.
    ingressPaths List<Property Map>
    List of ingress paths with access type and endpoint information.
    serviceArn String
    ARN of the Express Gateway Service.
    serviceRevisionArn String
    ARN of the service revision.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration 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) -> ExpressGatewayService
    func 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.
    The following state arguments are supported:
    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.
    CurrentDeployment string
    ARN of the current deployment.
    ExecutionRoleArn string
    ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
    HealthCheckPath string
    Path for health check requests. Defaults to /ping.
    InfrastructureRoleArn string

    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:

    IngressPaths List<ExpressGatewayServiceIngressPath>
    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.
    NetworkConfigurations List<ExpressGatewayServiceNetworkConfiguration>
    PrimaryContainer ExpressGatewayServicePrimaryContainer
    Region string
    AWS region where the service will be created. If not specified, the region configured in the provider will be used.
    ScalingTargets List<ExpressGatewayServiceScalingTarget>
    ServiceArn string
    ARN of the Express Gateway Service.
    ServiceName string
    Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
    ServiceRevisionArn string
    ARN of the service revision.
    Tags Dictionary<string, string>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    TaskRoleArn string
    ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    Timeouts ExpressGatewayServiceTimeouts
    WaitForSteadyState bool
    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.
    CurrentDeployment string
    ARN of the current deployment.
    ExecutionRoleArn string
    ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
    HealthCheckPath string
    Path for health check requests. Defaults to /ping.
    InfrastructureRoleArn string

    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:

    IngressPaths []ExpressGatewayServiceIngressPathArgs
    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.
    NetworkConfigurations []ExpressGatewayServiceNetworkConfigurationArgs
    PrimaryContainer ExpressGatewayServicePrimaryContainerArgs
    Region string
    AWS region where the service will be created. If not specified, the region configured in the provider will be used.
    ScalingTargets []ExpressGatewayServiceScalingTargetArgs
    ServiceArn string
    ARN of the Express Gateway Service.
    ServiceName string
    Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
    ServiceRevisionArn string
    ARN of the service revision.
    Tags map[string]string
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    TaskRoleArn string
    ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    Timeouts ExpressGatewayServiceTimeoutsArgs
    WaitForSteadyState bool
    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.
    currentDeployment String
    ARN of the current deployment.
    executionRoleArn String
    ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
    healthCheckPath String
    Path for health check requests. Defaults to /ping.
    infrastructureRoleArn String

    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:

    ingressPaths List<ExpressGatewayServiceIngressPath>
    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.
    networkConfigurations List<ExpressGatewayServiceNetworkConfiguration>
    primaryContainer ExpressGatewayServicePrimaryContainer
    region String
    AWS region where the service will be created. If not specified, the region configured in the provider will be used.
    scalingTargets List<ExpressGatewayServiceScalingTarget>
    serviceArn String
    ARN of the Express Gateway Service.
    serviceName String
    Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
    serviceRevisionArn String
    ARN of the service revision.
    tags Map<String,String>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    taskRoleArn String
    ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    timeouts ExpressGatewayServiceTimeouts
    waitForSteadyState Boolean
    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.
    currentDeployment string
    ARN of the current deployment.
    executionRoleArn string
    ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
    healthCheckPath string
    Path for health check requests. Defaults to /ping.
    infrastructureRoleArn string

    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:

    ingressPaths ExpressGatewayServiceIngressPath[]
    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.
    networkConfigurations ExpressGatewayServiceNetworkConfiguration[]
    primaryContainer ExpressGatewayServicePrimaryContainer
    region string
    AWS region where the service will be created. If not specified, the region configured in the provider will be used.
    scalingTargets ExpressGatewayServiceScalingTarget[]
    serviceArn string
    ARN of the Express Gateway Service.
    serviceName string
    Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
    serviceRevisionArn string
    ARN of the service revision.
    tags {[key: string]: string}
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    taskRoleArn string
    ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    timeouts ExpressGatewayServiceTimeouts
    waitForSteadyState boolean
    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_arn str
    ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
    health_check_path str
    Path for health check requests. Defaults to /ping.
    infrastructure_role_arn str

    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[ExpressGatewayServiceIngressPathArgs]
    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[ExpressGatewayServiceNetworkConfigurationArgs]
    primary_container ExpressGatewayServicePrimaryContainerArgs
    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[ExpressGatewayServiceScalingTargetArgs]
    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_arn str
    ARN of the service revision.
    tags Mapping[str, str]
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    task_role_arn str
    ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    timeouts ExpressGatewayServiceTimeoutsArgs
    wait_for_steady_state bool
    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.
    currentDeployment String
    ARN of the current deployment.
    executionRoleArn String
    ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
    healthCheckPath String
    Path for health check requests. Defaults to /ping.
    infrastructureRoleArn String

    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:

    ingressPaths 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.
    networkConfigurations List<Property Map>
    primaryContainer Property Map
    region String
    AWS region where the service will be created. If not specified, the region configured in the provider will be used.
    scalingTargets List<Property Map>
    serviceArn String
    ARN of the Express Gateway Service.
    serviceName String
    Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
    serviceRevisionArn String
    ARN of the service revision.
    tags Map<String>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    taskRoleArn String
    ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
    timeouts Property Map
    waitForSteadyState Boolean
    Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to false.

    Supporting Types

    ExpressGatewayServiceIngressPath, ExpressGatewayServiceIngressPathArgs

    AccessType string
    Endpoint string
    AccessType string
    Endpoint string
    accessType String
    endpoint String
    accessType string
    endpoint string
    accessType String
    endpoint String

    ExpressGatewayServiceNetworkConfiguration, ExpressGatewayServiceNetworkConfigurationArgs

    SecurityGroups 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.
    SecurityGroups []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.
    securityGroups 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.
    securityGroups 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.
    securityGroups 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.
    awsLogsConfigurations ExpressGatewayServicePrimaryContainerAwsLogsConfiguration[]
    commands string[]
    Command to run in the container. Overrides the default command from the Docker image.
    containerPort number
    Port on which the container listens for connections.
    environments ExpressGatewayServicePrimaryContainerEnvironment[]
    repositoryCredentials ExpressGatewayServicePrimaryContainerRepositoryCredentials
    secrets ExpressGatewayServicePrimaryContainerSecret[]
    image String
    Docker image to use for the container.
    awsLogsConfigurations List<Property Map>
    commands List<String>
    Command to run in the container. Overrides the default command from the Docker image.
    containerPort Number
    Port on which the container listens for connections.
    environments List<Property Map>
    repositoryCredentials Property Map
    secrets List<Property Map>

    ExpressGatewayServicePrimaryContainerAwsLogsConfiguration, ExpressGatewayServicePrimaryContainerAwsLogsConfigurationArgs

    LogGroup string
    CloudWatch log group name.
    LogStreamPrefix string
    Prefix for log stream names. If not specified, a default prefix will be used.
    LogGroup string
    CloudWatch log group name.
    LogStreamPrefix string
    Prefix for log stream names. If not specified, a default prefix will be used.
    logGroup String
    CloudWatch log group name.
    logStreamPrefix String
    Prefix for log stream names. If not specified, a default prefix will be used.
    logGroup string
    CloudWatch log group name.
    logStreamPrefix string
    Prefix for log stream names. If not specified, a default prefix will be used.
    log_group str
    CloudWatch log group name.
    log_stream_prefix str
    Prefix for log stream names. If not specified, a default prefix will be used.
    logGroup String
    CloudWatch log group name.
    logStreamPrefix String
    Prefix for log stream names. If not specified, a default prefix will be used.

    ExpressGatewayServicePrimaryContainerEnvironment, ExpressGatewayServicePrimaryContainerEnvironmentArgs

    Name string
    Name of the environment variable.
    Value string
    Value of the environment variable.
    Name string
    Name of the environment variable.
    Value string
    Value of the environment variable.
    name String
    Name of the environment variable.
    value String
    Value of the environment variable.
    name string
    Name of the environment variable.
    value string
    Value of the environment variable.
    name str
    Name of the environment variable.
    value str
    Value of the environment variable.
    name String
    Name of the environment variable.
    value String
    Value of the environment variable.

    ExpressGatewayServicePrimaryContainerRepositoryCredentials, ExpressGatewayServicePrimaryContainerRepositoryCredentialsArgs

    CredentialsParameter string
    ARN of the AWS Systems Manager parameter containing the repository credentials.
    CredentialsParameter string
    ARN of the AWS Systems Manager parameter containing the repository credentials.
    credentialsParameter String
    ARN of the AWS Systems Manager parameter containing the repository credentials.
    credentialsParameter 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.
    credentialsParameter String
    ARN of the AWS Systems Manager parameter containing the repository credentials.

    ExpressGatewayServicePrimaryContainerSecret, ExpressGatewayServicePrimaryContainerSecretArgs

    Name string
    ValueFrom string
    ARN of the AWS Secrets Manager secret or AWS Systems Manager parameter containing the secret value.
    Name string
    ValueFrom string
    ARN of the AWS Secrets Manager secret or AWS Systems Manager parameter containing the secret value.
    name String
    valueFrom String
    ARN of the AWS Secrets Manager secret or AWS Systems Manager parameter containing the secret value.
    name string
    valueFrom string
    ARN of the AWS Secrets Manager secret or AWS Systems Manager parameter containing the secret value.
    name str
    value_from str
    ARN of the AWS Secrets Manager secret or AWS Systems Manager parameter containing the secret value.
    name String
    valueFrom String
    ARN of the AWS Secrets Manager secret or AWS Systems Manager parameter containing the secret value.

    ExpressGatewayServiceScalingTarget, ExpressGatewayServiceScalingTargetArgs

    AutoScalingMetric string
    Metric to use for auto-scaling. Valid values are CPU and MEMORY.
    AutoScalingTargetValue int
    Target value for the auto-scaling metric (as a percentage). Defaults to 60.
    MaxTaskCount int
    Maximum number of tasks to run.
    MinTaskCount int
    Minimum number of tasks to run.
    AutoScalingMetric string
    Metric to use for auto-scaling. Valid values are CPU and MEMORY.
    AutoScalingTargetValue int
    Target value for the auto-scaling metric (as a percentage). Defaults to 60.
    MaxTaskCount int
    Maximum number of tasks to run.
    MinTaskCount int
    Minimum number of tasks to run.
    autoScalingMetric String
    Metric to use for auto-scaling. Valid values are CPU and MEMORY.
    autoScalingTargetValue Integer
    Target value for the auto-scaling metric (as a percentage). Defaults to 60.
    maxTaskCount Integer
    Maximum number of tasks to run.
    minTaskCount Integer
    Minimum number of tasks to run.
    autoScalingMetric string
    Metric to use for auto-scaling. Valid values are CPU and MEMORY.
    autoScalingTargetValue number
    Target value for the auto-scaling metric (as a percentage). Defaults to 60.
    maxTaskCount number
    Maximum number of tasks to run.
    minTaskCount number
    Minimum number of tasks to run.
    auto_scaling_metric str
    Metric to use for auto-scaling. Valid values are CPU and MEMORY.
    auto_scaling_target_value int
    Target value for the auto-scaling metric (as a percentage). Defaults to 60.
    max_task_count int
    Maximum number of tasks to run.
    min_task_count int
    Minimum number of tasks to run.
    autoScalingMetric String
    Metric to use for auto-scaling. Valid values are CPU and MEMORY.
    autoScalingTargetValue Number
    Target value for the auto-scaling metric (as a percentage). Defaults to 60.
    maxTaskCount Number
    Maximum number of tasks to run.
    minTaskCount Number
    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 aws Terraform Provider.
    aws logo
    AWS v7.14.0 published on Thursday, Dec 11, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate