1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ecs
  5. ExpressGatewayService

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.40.0 published on Thursday, Dec 11, 2025 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.40.0 published on Thursday, Dec 11, 2025 by Pulumi

    Resource Type definition for AWS::ECS::ExpressGatewayService

    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,
                              primary_container: Optional[ExpressGatewayServiceExpressGatewayContainerArgs] = None,
                              cluster: Optional[str] = None,
                              cpu: Optional[str] = None,
                              health_check_path: Optional[str] = None,
                              memory: Optional[str] = None,
                              network_configuration: Optional[ExpressGatewayServiceNetworkConfigurationArgs] = None,
                              scaling_target: Optional[ExpressGatewayServiceExpressGatewayScalingTargetArgs] = None,
                              service_name: Optional[str] = None,
                              tags: Optional[Sequence[_root_inputs.CreateOnlyTagArgs]] = None,
                              task_role_arn: Optional[str] = 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-native: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.

    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
    The ARN of the task execution role for the service revision.
    InfrastructureRoleArn string
    The ARN of the infrastructure role that manages AWS resources for the Express service.
    PrimaryContainer Pulumi.AwsNative.Ecs.Inputs.ExpressGatewayServiceExpressGatewayContainer
    The primary container configuration for this service revision.
    Cluster string
    The short name or full ARN of the cluster that hosts the Express service.
    Cpu string
    The CPU allocation for tasks in this service revision.
    HealthCheckPath string
    The health check path for this service revision.
    Memory string
    The memory allocation for tasks in this service revision.
    NetworkConfiguration Pulumi.AwsNative.Ecs.Inputs.ExpressGatewayServiceNetworkConfiguration
    The network configuration for tasks in this service revision.
    ScalingTarget Pulumi.AwsNative.Ecs.Inputs.ExpressGatewayServiceExpressGatewayScalingTarget
    The auto-scaling configuration for this service revision.
    ServiceName string
    The name of the Express service.
    Tags List<Pulumi.AwsNative.Inputs.CreateOnlyTag>
    The metadata applied to the Express service.
    TaskRoleArn string
    The ARN of the task role for the service revision.
    ExecutionRoleArn string
    The ARN of the task execution role for the service revision.
    InfrastructureRoleArn string
    The ARN of the infrastructure role that manages AWS resources for the Express service.
    PrimaryContainer ExpressGatewayServiceExpressGatewayContainerArgs
    The primary container configuration for this service revision.
    Cluster string
    The short name or full ARN of the cluster that hosts the Express service.
    Cpu string
    The CPU allocation for tasks in this service revision.
    HealthCheckPath string
    The health check path for this service revision.
    Memory string
    The memory allocation for tasks in this service revision.
    NetworkConfiguration ExpressGatewayServiceNetworkConfigurationArgs
    The network configuration for tasks in this service revision.
    ScalingTarget ExpressGatewayServiceExpressGatewayScalingTargetArgs
    The auto-scaling configuration for this service revision.
    ServiceName string
    The name of the Express service.
    Tags CreateOnlyTagArgs
    The metadata applied to the Express service.
    TaskRoleArn string
    The ARN of the task role for the service revision.
    executionRoleArn String
    The ARN of the task execution role for the service revision.
    infrastructureRoleArn String
    The ARN of the infrastructure role that manages AWS resources for the Express service.
    primaryContainer ExpressGatewayServiceExpressGatewayContainer
    The primary container configuration for this service revision.
    cluster String
    The short name or full ARN of the cluster that hosts the Express service.
    cpu String
    The CPU allocation for tasks in this service revision.
    healthCheckPath String
    The health check path for this service revision.
    memory String
    The memory allocation for tasks in this service revision.
    networkConfiguration ExpressGatewayServiceNetworkConfiguration
    The network configuration for tasks in this service revision.
    scalingTarget ExpressGatewayServiceExpressGatewayScalingTarget
    The auto-scaling configuration for this service revision.
    serviceName String
    The name of the Express service.
    tags List<CreateOnlyTag>
    The metadata applied to the Express service.
    taskRoleArn String
    The ARN of the task role for the service revision.
    executionRoleArn string
    The ARN of the task execution role for the service revision.
    infrastructureRoleArn string
    The ARN of the infrastructure role that manages AWS resources for the Express service.
    primaryContainer ExpressGatewayServiceExpressGatewayContainer
    The primary container configuration for this service revision.
    cluster string
    The short name or full ARN of the cluster that hosts the Express service.
    cpu string
    The CPU allocation for tasks in this service revision.
    healthCheckPath string
    The health check path for this service revision.
    memory string
    The memory allocation for tasks in this service revision.
    networkConfiguration ExpressGatewayServiceNetworkConfiguration
    The network configuration for tasks in this service revision.
    scalingTarget ExpressGatewayServiceExpressGatewayScalingTarget
    The auto-scaling configuration for this service revision.
    serviceName string
    The name of the Express service.
    tags CreateOnlyTag[]
    The metadata applied to the Express service.
    taskRoleArn string
    The ARN of the task role for the service revision.
    execution_role_arn str
    The ARN of the task execution role for the service revision.
    infrastructure_role_arn str
    The ARN of the infrastructure role that manages AWS resources for the Express service.
    primary_container ExpressGatewayServiceExpressGatewayContainerArgs
    The primary container configuration for this service revision.
    cluster str
    The short name or full ARN of the cluster that hosts the Express service.
    cpu str
    The CPU allocation for tasks in this service revision.
    health_check_path str
    The health check path for this service revision.
    memory str
    The memory allocation for tasks in this service revision.
    network_configuration ExpressGatewayServiceNetworkConfigurationArgs
    The network configuration for tasks in this service revision.
    scaling_target ExpressGatewayServiceExpressGatewayScalingTargetArgs
    The auto-scaling configuration for this service revision.
    service_name str
    The name of the Express service.
    tags Sequence[CreateOnlyTagArgs]
    The metadata applied to the Express service.
    task_role_arn str
    The ARN of the task role for the service revision.
    executionRoleArn String
    The ARN of the task execution role for the service revision.
    infrastructureRoleArn String
    The ARN of the infrastructure role that manages AWS resources for the Express service.
    primaryContainer Property Map
    The primary container configuration for this service revision.
    cluster String
    The short name or full ARN of the cluster that hosts the Express service.
    cpu String
    The CPU allocation for tasks in this service revision.
    healthCheckPath String
    The health check path for this service revision.
    memory String
    The memory allocation for tasks in this service revision.
    networkConfiguration Property Map
    The network configuration for tasks in this service revision.
    scalingTarget Property Map
    The auto-scaling configuration for this service revision.
    serviceName String
    The name of the Express service.
    tags List<Property Map>
    The metadata applied to the Express service.
    taskRoleArn String
    The ARN of the task role for the service revision.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ExpressGatewayService resource produces the following output properties:

    ActiveConfigurations List<Pulumi.AwsNative.Ecs.Outputs.ExpressGatewayServiceConfiguration>
    The list of active service configurations for the Express service.
    CreatedAt string
    The Unix timestamp for when the Express service was created.
    EcsManagedResourceArns Pulumi.AwsNative.Ecs.Outputs.ExpressGatewayServiceEcsManagedResourceArns
    Endpoint string
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceArn string
    The ARN that identifies the Express service.
    Status Pulumi.AwsNative.Ecs.Outputs.ExpressGatewayServiceStatus
    UpdatedAt string
    The Unix timestamp for when the Express service was last updated.
    ActiveConfigurations []ExpressGatewayServiceConfiguration
    The list of active service configurations for the Express service.
    CreatedAt string
    The Unix timestamp for when the Express service was created.
    EcsManagedResourceArns ExpressGatewayServiceEcsManagedResourceArns
    Endpoint string
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceArn string
    The ARN that identifies the Express service.
    Status ExpressGatewayServiceStatus
    UpdatedAt string
    The Unix timestamp for when the Express service was last updated.
    activeConfigurations List<ExpressGatewayServiceConfiguration>
    The list of active service configurations for the Express service.
    createdAt String
    The Unix timestamp for when the Express service was created.
    ecsManagedResourceArns ExpressGatewayServiceEcsManagedResourceArns
    endpoint String
    id String
    The provider-assigned unique ID for this managed resource.
    serviceArn String
    The ARN that identifies the Express service.
    status ExpressGatewayServiceStatus
    updatedAt String
    The Unix timestamp for when the Express service was last updated.
    activeConfigurations ExpressGatewayServiceConfiguration[]
    The list of active service configurations for the Express service.
    createdAt string
    The Unix timestamp for when the Express service was created.
    ecsManagedResourceArns ExpressGatewayServiceEcsManagedResourceArns
    endpoint string
    id string
    The provider-assigned unique ID for this managed resource.
    serviceArn string
    The ARN that identifies the Express service.
    status ExpressGatewayServiceStatus
    updatedAt string
    The Unix timestamp for when the Express service was last updated.
    active_configurations Sequence[ExpressGatewayServiceConfiguration]
    The list of active service configurations for the Express service.
    created_at str
    The Unix timestamp for when the Express service was created.
    ecs_managed_resource_arns ExpressGatewayServiceEcsManagedResourceArns
    endpoint str
    id str
    The provider-assigned unique ID for this managed resource.
    service_arn str
    The ARN that identifies the Express service.
    status ExpressGatewayServiceStatus
    updated_at str
    The Unix timestamp for when the Express service was last updated.
    activeConfigurations List<Property Map>
    The list of active service configurations for the Express service.
    createdAt String
    The Unix timestamp for when the Express service was created.
    ecsManagedResourceArns Property Map
    endpoint String
    id String
    The provider-assigned unique ID for this managed resource.
    serviceArn String
    The ARN that identifies the Express service.
    status Property Map
    updatedAt String
    The Unix timestamp for when the Express service was last updated.

    Supporting Types

    CreateOnlyTag, CreateOnlyTagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    ExpressGatewayServiceAccessType, ExpressGatewayServiceAccessTypeArgs

    Public
    PUBLIC
    Private
    PRIVATE
    ExpressGatewayServiceAccessTypePublic
    PUBLIC
    ExpressGatewayServiceAccessTypePrivate
    PRIVATE
    Public
    PUBLIC
    Private
    PRIVATE
    Public
    PUBLIC
    Private
    PRIVATE
    PUBLIC
    PUBLIC
    PRIVATE
    PRIVATE
    "PUBLIC"
    PUBLIC
    "PRIVATE"
    PRIVATE

    ExpressGatewayServiceAutoScalingArns, ExpressGatewayServiceAutoScalingArnsArgs

    ExpressGatewayServiceAwsLogsConfiguration, ExpressGatewayServiceAwsLogsConfigurationArgs

    LogGroup string
    The name of the CloudWatch Logs log group to send container logs to.
    LogStreamPrefix string
    The prefix for the CloudWatch Logs log stream names. The default for an Express service is ecs .
    LogGroup string
    The name of the CloudWatch Logs log group to send container logs to.
    LogStreamPrefix string
    The prefix for the CloudWatch Logs log stream names. The default for an Express service is ecs .
    logGroup String
    The name of the CloudWatch Logs log group to send container logs to.
    logStreamPrefix String
    The prefix for the CloudWatch Logs log stream names. The default for an Express service is ecs .
    logGroup string
    The name of the CloudWatch Logs log group to send container logs to.
    logStreamPrefix string
    The prefix for the CloudWatch Logs log stream names. The default for an Express service is ecs .
    log_group str
    The name of the CloudWatch Logs log group to send container logs to.
    log_stream_prefix str
    The prefix for the CloudWatch Logs log stream names. The default for an Express service is ecs .
    logGroup String
    The name of the CloudWatch Logs log group to send container logs to.
    logStreamPrefix String
    The prefix for the CloudWatch Logs log stream names. The default for an Express service is ecs .

    ExpressGatewayServiceConfiguration, ExpressGatewayServiceConfigurationArgs

    Cpu string
    The CPU allocation for tasks in this service revision.
    CreatedAt string
    The Unix timestamp for when this service revision was created.
    ExecutionRoleArn string
    The ARN of the task execution role for the service revision.
    HealthCheckPath string
    The health check path for this service revision.
    IngressPaths List<Pulumi.AwsNative.Ecs.Inputs.ExpressGatewayServiceIngressPathSummary>
    The entry point into this service revision.
    Memory string
    The memory allocation for tasks in this service revision.
    NetworkConfiguration Pulumi.AwsNative.Ecs.Inputs.ExpressGatewayServiceNetworkConfiguration
    The network configuration for tasks in this service revision.
    PrimaryContainer Pulumi.AwsNative.Ecs.Inputs.ExpressGatewayServiceExpressGatewayContainer
    The primary container configuration for this service revision.
    ScalingTarget Pulumi.AwsNative.Ecs.Inputs.ExpressGatewayServiceExpressGatewayScalingTarget
    The auto-scaling configuration for this service revision.
    ServiceRevisionArn string
    The ARN of the service revision.
    TaskRoleArn string
    The ARN of the task role for the service revision.
    Cpu string
    The CPU allocation for tasks in this service revision.
    CreatedAt string
    The Unix timestamp for when this service revision was created.
    ExecutionRoleArn string
    The ARN of the task execution role for the service revision.
    HealthCheckPath string
    The health check path for this service revision.
    IngressPaths []ExpressGatewayServiceIngressPathSummary
    The entry point into this service revision.
    Memory string
    The memory allocation for tasks in this service revision.
    NetworkConfiguration ExpressGatewayServiceNetworkConfiguration
    The network configuration for tasks in this service revision.
    PrimaryContainer ExpressGatewayServiceExpressGatewayContainer
    The primary container configuration for this service revision.
    ScalingTarget ExpressGatewayServiceExpressGatewayScalingTarget
    The auto-scaling configuration for this service revision.
    ServiceRevisionArn string
    The ARN of the service revision.
    TaskRoleArn string
    The ARN of the task role for the service revision.
    cpu String
    The CPU allocation for tasks in this service revision.
    createdAt String
    The Unix timestamp for when this service revision was created.
    executionRoleArn String
    The ARN of the task execution role for the service revision.
    healthCheckPath String
    The health check path for this service revision.
    ingressPaths List<ExpressGatewayServiceIngressPathSummary>
    The entry point into this service revision.
    memory String
    The memory allocation for tasks in this service revision.
    networkConfiguration ExpressGatewayServiceNetworkConfiguration
    The network configuration for tasks in this service revision.
    primaryContainer ExpressGatewayServiceExpressGatewayContainer
    The primary container configuration for this service revision.
    scalingTarget ExpressGatewayServiceExpressGatewayScalingTarget
    The auto-scaling configuration for this service revision.
    serviceRevisionArn String
    The ARN of the service revision.
    taskRoleArn String
    The ARN of the task role for the service revision.
    cpu string
    The CPU allocation for tasks in this service revision.
    createdAt string
    The Unix timestamp for when this service revision was created.
    executionRoleArn string
    The ARN of the task execution role for the service revision.
    healthCheckPath string
    The health check path for this service revision.
    ingressPaths ExpressGatewayServiceIngressPathSummary[]
    The entry point into this service revision.
    memory string
    The memory allocation for tasks in this service revision.
    networkConfiguration ExpressGatewayServiceNetworkConfiguration
    The network configuration for tasks in this service revision.
    primaryContainer ExpressGatewayServiceExpressGatewayContainer
    The primary container configuration for this service revision.
    scalingTarget ExpressGatewayServiceExpressGatewayScalingTarget
    The auto-scaling configuration for this service revision.
    serviceRevisionArn string
    The ARN of the service revision.
    taskRoleArn string
    The ARN of the task role for the service revision.
    cpu str
    The CPU allocation for tasks in this service revision.
    created_at str
    The Unix timestamp for when this service revision was created.
    execution_role_arn str
    The ARN of the task execution role for the service revision.
    health_check_path str
    The health check path for this service revision.
    ingress_paths Sequence[ExpressGatewayServiceIngressPathSummary]
    The entry point into this service revision.
    memory str
    The memory allocation for tasks in this service revision.
    network_configuration ExpressGatewayServiceNetworkConfiguration
    The network configuration for tasks in this service revision.
    primary_container ExpressGatewayServiceExpressGatewayContainer
    The primary container configuration for this service revision.
    scaling_target ExpressGatewayServiceExpressGatewayScalingTarget
    The auto-scaling configuration for this service revision.
    service_revision_arn str
    The ARN of the service revision.
    task_role_arn str
    The ARN of the task role for the service revision.
    cpu String
    The CPU allocation for tasks in this service revision.
    createdAt String
    The Unix timestamp for when this service revision was created.
    executionRoleArn String
    The ARN of the task execution role for the service revision.
    healthCheckPath String
    The health check path for this service revision.
    ingressPaths List<Property Map>
    The entry point into this service revision.
    memory String
    The memory allocation for tasks in this service revision.
    networkConfiguration Property Map
    The network configuration for tasks in this service revision.
    primaryContainer Property Map
    The primary container configuration for this service revision.
    scalingTarget Property Map
    The auto-scaling configuration for this service revision.
    serviceRevisionArn String
    The ARN of the service revision.
    taskRoleArn String
    The ARN of the task role for the service revision.

    ExpressGatewayServiceEcsManagedResourceArns, ExpressGatewayServiceEcsManagedResourceArnsArgs

    ExpressGatewayServiceExpressGatewayContainer, ExpressGatewayServiceExpressGatewayContainerArgs

    Image string

    The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either repository-url/image:tag or repository-url/image@digest .

    For Express services, the image typically contains a web application that listens on the specified container port. The image can be stored in Amazon ECR, Docker Hub, or any other container registry accessible to your execution role.

    AwsLogsConfiguration Pulumi.AwsNative.Ecs.Inputs.ExpressGatewayServiceAwsLogsConfiguration
    The log configuration for the container.
    Command List<string>
    The command that is passed to the container.
    ContainerPort int
    The port number on the container that receives traffic from the load balancer. Default is 80.
    Environment List<Pulumi.AwsNative.Ecs.Inputs.ExpressGatewayServiceKeyValuePair>
    The environment variables to pass to the container.
    RepositoryCredentials Pulumi.AwsNative.Ecs.Inputs.ExpressGatewayServiceExpressGatewayRepositoryCredentials
    The configuration for repository credentials for private registry authentication.
    Secrets List<Pulumi.AwsNative.Ecs.Inputs.ExpressGatewayServiceSecret>
    The secrets to pass to the container.
    Image string

    The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either repository-url/image:tag or repository-url/image@digest .

    For Express services, the image typically contains a web application that listens on the specified container port. The image can be stored in Amazon ECR, Docker Hub, or any other container registry accessible to your execution role.

    AwsLogsConfiguration ExpressGatewayServiceAwsLogsConfiguration
    The log configuration for the container.
    Command []string
    The command that is passed to the container.
    ContainerPort int
    The port number on the container that receives traffic from the load balancer. Default is 80.
    Environment []ExpressGatewayServiceKeyValuePair
    The environment variables to pass to the container.
    RepositoryCredentials ExpressGatewayServiceExpressGatewayRepositoryCredentials
    The configuration for repository credentials for private registry authentication.
    Secrets []ExpressGatewayServiceSecret
    The secrets to pass to the container.
    image String

    The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either repository-url/image:tag or repository-url/image@digest .

    For Express services, the image typically contains a web application that listens on the specified container port. The image can be stored in Amazon ECR, Docker Hub, or any other container registry accessible to your execution role.

    awsLogsConfiguration ExpressGatewayServiceAwsLogsConfiguration
    The log configuration for the container.
    command List<String>
    The command that is passed to the container.
    containerPort Integer
    The port number on the container that receives traffic from the load balancer. Default is 80.
    environment List<ExpressGatewayServiceKeyValuePair>
    The environment variables to pass to the container.
    repositoryCredentials ExpressGatewayServiceExpressGatewayRepositoryCredentials
    The configuration for repository credentials for private registry authentication.
    secrets List<ExpressGatewayServiceSecret>
    The secrets to pass to the container.
    image string

    The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either repository-url/image:tag or repository-url/image@digest .

    For Express services, the image typically contains a web application that listens on the specified container port. The image can be stored in Amazon ECR, Docker Hub, or any other container registry accessible to your execution role.

    awsLogsConfiguration ExpressGatewayServiceAwsLogsConfiguration
    The log configuration for the container.
    command string[]
    The command that is passed to the container.
    containerPort number
    The port number on the container that receives traffic from the load balancer. Default is 80.
    environment ExpressGatewayServiceKeyValuePair[]
    The environment variables to pass to the container.
    repositoryCredentials ExpressGatewayServiceExpressGatewayRepositoryCredentials
    The configuration for repository credentials for private registry authentication.
    secrets ExpressGatewayServiceSecret[]
    The secrets to pass to the container.
    image str

    The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either repository-url/image:tag or repository-url/image@digest .

    For Express services, the image typically contains a web application that listens on the specified container port. The image can be stored in Amazon ECR, Docker Hub, or any other container registry accessible to your execution role.

    aws_logs_configuration ExpressGatewayServiceAwsLogsConfiguration
    The log configuration for the container.
    command Sequence[str]
    The command that is passed to the container.
    container_port int
    The port number on the container that receives traffic from the load balancer. Default is 80.
    environment Sequence[ExpressGatewayServiceKeyValuePair]
    The environment variables to pass to the container.
    repository_credentials ExpressGatewayServiceExpressGatewayRepositoryCredentials
    The configuration for repository credentials for private registry authentication.
    secrets Sequence[ExpressGatewayServiceSecret]
    The secrets to pass to the container.
    image String

    The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either repository-url/image:tag or repository-url/image@digest .

    For Express services, the image typically contains a web application that listens on the specified container port. The image can be stored in Amazon ECR, Docker Hub, or any other container registry accessible to your execution role.

    awsLogsConfiguration Property Map
    The log configuration for the container.
    command List<String>
    The command that is passed to the container.
    containerPort Number
    The port number on the container that receives traffic from the load balancer. Default is 80.
    environment List<Property Map>
    The environment variables to pass to the container.
    repositoryCredentials Property Map
    The configuration for repository credentials for private registry authentication.
    secrets List<Property Map>
    The secrets to pass to the container.

    ExpressGatewayServiceExpressGatewayRepositoryCredentials, ExpressGatewayServiceExpressGatewayRepositoryCredentialsArgs

    CredentialsParameter string
    The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
    CredentialsParameter string
    The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
    credentialsParameter String
    The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
    credentialsParameter string
    The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
    credentials_parameter str
    The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
    credentialsParameter String
    The Amazon Resource Name (ARN) of the secret containing the private repository credentials.

    ExpressGatewayServiceExpressGatewayScalingTarget, ExpressGatewayServiceExpressGatewayScalingTargetArgs

    AutoScalingMetric Pulumi.AwsNative.Ecs.ExpressGatewayServiceScalingMetric
    The metric used for auto-scaling decisions. The default metric used for an Express service is CPUUtilization .
    AutoScalingTargetValue int
    The target value for the auto-scaling metric. The default value for an Express service is 60.
    MaxTaskCount int
    The maximum number of tasks to run in the Express service.
    MinTaskCount int
    The minimum number of tasks to run in the Express service.
    AutoScalingMetric ExpressGatewayServiceScalingMetric
    The metric used for auto-scaling decisions. The default metric used for an Express service is CPUUtilization .
    AutoScalingTargetValue int
    The target value for the auto-scaling metric. The default value for an Express service is 60.
    MaxTaskCount int
    The maximum number of tasks to run in the Express service.
    MinTaskCount int
    The minimum number of tasks to run in the Express service.
    autoScalingMetric ExpressGatewayServiceScalingMetric
    The metric used for auto-scaling decisions. The default metric used for an Express service is CPUUtilization .
    autoScalingTargetValue Integer
    The target value for the auto-scaling metric. The default value for an Express service is 60.
    maxTaskCount Integer
    The maximum number of tasks to run in the Express service.
    minTaskCount Integer
    The minimum number of tasks to run in the Express service.
    autoScalingMetric ExpressGatewayServiceScalingMetric
    The metric used for auto-scaling decisions. The default metric used for an Express service is CPUUtilization .
    autoScalingTargetValue number
    The target value for the auto-scaling metric. The default value for an Express service is 60.
    maxTaskCount number
    The maximum number of tasks to run in the Express service.
    minTaskCount number
    The minimum number of tasks to run in the Express service.
    auto_scaling_metric ExpressGatewayServiceScalingMetric
    The metric used for auto-scaling decisions. The default metric used for an Express service is CPUUtilization .
    auto_scaling_target_value int
    The target value for the auto-scaling metric. The default value for an Express service is 60.
    max_task_count int
    The maximum number of tasks to run in the Express service.
    min_task_count int
    The minimum number of tasks to run in the Express service.
    autoScalingMetric "AVERAGE_CPU" | "AVERAGE_MEMORY" | "REQUEST_COUNT_PER_TARGET"
    The metric used for auto-scaling decisions. The default metric used for an Express service is CPUUtilization .
    autoScalingTargetValue Number
    The target value for the auto-scaling metric. The default value for an Express service is 60.
    maxTaskCount Number
    The maximum number of tasks to run in the Express service.
    minTaskCount Number
    The minimum number of tasks to run in the Express service.

    ExpressGatewayServiceIngressPathArns, ExpressGatewayServiceIngressPathArnsArgs

    ExpressGatewayServiceIngressPathSummary, ExpressGatewayServiceIngressPathSummaryArgs

    AccessType Pulumi.AwsNative.Ecs.ExpressGatewayServiceAccessType
    The type of access to the endpoint for the Express service.
    Endpoint string
    The endpoint for access to the service.
    AccessType ExpressGatewayServiceAccessType
    The type of access to the endpoint for the Express service.
    Endpoint string
    The endpoint for access to the service.
    accessType ExpressGatewayServiceAccessType
    The type of access to the endpoint for the Express service.
    endpoint String
    The endpoint for access to the service.
    accessType ExpressGatewayServiceAccessType
    The type of access to the endpoint for the Express service.
    endpoint string
    The endpoint for access to the service.
    access_type ExpressGatewayServiceAccessType
    The type of access to the endpoint for the Express service.
    endpoint str
    The endpoint for access to the service.
    accessType "PUBLIC" | "PRIVATE"
    The type of access to the endpoint for the Express service.
    endpoint String
    The endpoint for access to the service.

    ExpressGatewayServiceKeyValuePair, ExpressGatewayServiceKeyValuePairArgs

    Name string
    The name of the key-value pair. For environment variables, this is the name of the environment variable.
    Value string
    The value of the key-value pair. For environment variables, this is the value of the environment variable.
    Name string
    The name of the key-value pair. For environment variables, this is the name of the environment variable.
    Value string
    The value of the key-value pair. For environment variables, this is the value of the environment variable.
    name String
    The name of the key-value pair. For environment variables, this is the name of the environment variable.
    value String
    The value of the key-value pair. For environment variables, this is the value of the environment variable.
    name string
    The name of the key-value pair. For environment variables, this is the name of the environment variable.
    value string
    The value of the key-value pair. For environment variables, this is the value of the environment variable.
    name str
    The name of the key-value pair. For environment variables, this is the name of the environment variable.
    value str
    The value of the key-value pair. For environment variables, this is the value of the environment variable.
    name String
    The name of the key-value pair. For environment variables, this is the name of the environment variable.
    value String
    The value of the key-value pair. For environment variables, this is the value of the environment variable.

    ExpressGatewayServiceNetworkConfiguration, ExpressGatewayServiceNetworkConfigurationArgs

    SecurityGroups List<string>
    The IDs of the security groups associated with the Express service.
    Subnets List<string>
    The IDs of the subnets associated with the Express service.
    SecurityGroups []string
    The IDs of the security groups associated with the Express service.
    Subnets []string
    The IDs of the subnets associated with the Express service.
    securityGroups List<String>
    The IDs of the security groups associated with the Express service.
    subnets List<String>
    The IDs of the subnets associated with the Express service.
    securityGroups string[]
    The IDs of the security groups associated with the Express service.
    subnets string[]
    The IDs of the subnets associated with the Express service.
    security_groups Sequence[str]
    The IDs of the security groups associated with the Express service.
    subnets Sequence[str]
    The IDs of the subnets associated with the Express service.
    securityGroups List<String>
    The IDs of the security groups associated with the Express service.
    subnets List<String>
    The IDs of the subnets associated with the Express service.

    ExpressGatewayServiceScalingMetric, ExpressGatewayServiceScalingMetricArgs

    AverageCpu
    AVERAGE_CPU
    AverageMemory
    AVERAGE_MEMORY
    RequestCountPerTarget
    REQUEST_COUNT_PER_TARGET
    ExpressGatewayServiceScalingMetricAverageCpu
    AVERAGE_CPU
    ExpressGatewayServiceScalingMetricAverageMemory
    AVERAGE_MEMORY
    ExpressGatewayServiceScalingMetricRequestCountPerTarget
    REQUEST_COUNT_PER_TARGET
    AverageCpu
    AVERAGE_CPU
    AverageMemory
    AVERAGE_MEMORY
    RequestCountPerTarget
    REQUEST_COUNT_PER_TARGET
    AverageCpu
    AVERAGE_CPU
    AverageMemory
    AVERAGE_MEMORY
    RequestCountPerTarget
    REQUEST_COUNT_PER_TARGET
    AVERAGE_CPU
    AVERAGE_CPU
    AVERAGE_MEMORY
    AVERAGE_MEMORY
    REQUEST_COUNT_PER_TARGET
    REQUEST_COUNT_PER_TARGET
    "AVERAGE_CPU"
    AVERAGE_CPU
    "AVERAGE_MEMORY"
    AVERAGE_MEMORY
    "REQUEST_COUNT_PER_TARGET"
    REQUEST_COUNT_PER_TARGET

    ExpressGatewayServiceSecret, ExpressGatewayServiceSecretArgs

    Name string
    The name of the secret.
    ValueFrom string

    The secret to expose to the container. The supported values are either the full ARN of the AWS Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

    For information about the require AWS Identity and Access Management permissions, see Required IAM permissions for Amazon ECS secrets (for Secrets Manager) or Required IAM permissions for Amazon ECS secrets (for Systems Manager Parameter store) in the Amazon Elastic Container Service Developer Guide .

    If the SSM Parameter Store parameter exists in the same Region as the task you're launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.

    Name string
    The name of the secret.
    ValueFrom string

    The secret to expose to the container. The supported values are either the full ARN of the AWS Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

    For information about the require AWS Identity and Access Management permissions, see Required IAM permissions for Amazon ECS secrets (for Secrets Manager) or Required IAM permissions for Amazon ECS secrets (for Systems Manager Parameter store) in the Amazon Elastic Container Service Developer Guide .

    If the SSM Parameter Store parameter exists in the same Region as the task you're launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.

    name String
    The name of the secret.
    valueFrom String

    The secret to expose to the container. The supported values are either the full ARN of the AWS Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

    For information about the require AWS Identity and Access Management permissions, see Required IAM permissions for Amazon ECS secrets (for Secrets Manager) or Required IAM permissions for Amazon ECS secrets (for Systems Manager Parameter store) in the Amazon Elastic Container Service Developer Guide .

    If the SSM Parameter Store parameter exists in the same Region as the task you're launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.

    name string
    The name of the secret.
    valueFrom string

    The secret to expose to the container. The supported values are either the full ARN of the AWS Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

    For information about the require AWS Identity and Access Management permissions, see Required IAM permissions for Amazon ECS secrets (for Secrets Manager) or Required IAM permissions for Amazon ECS secrets (for Systems Manager Parameter store) in the Amazon Elastic Container Service Developer Guide .

    If the SSM Parameter Store parameter exists in the same Region as the task you're launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.

    name str
    The name of the secret.
    value_from str

    The secret to expose to the container. The supported values are either the full ARN of the AWS Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

    For information about the require AWS Identity and Access Management permissions, see Required IAM permissions for Amazon ECS secrets (for Secrets Manager) or Required IAM permissions for Amazon ECS secrets (for Systems Manager Parameter store) in the Amazon Elastic Container Service Developer Guide .

    If the SSM Parameter Store parameter exists in the same Region as the task you're launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.

    name String
    The name of the secret.
    valueFrom String

    The secret to expose to the container. The supported values are either the full ARN of the AWS Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

    For information about the require AWS Identity and Access Management permissions, see Required IAM permissions for Amazon ECS secrets (for Secrets Manager) or Required IAM permissions for Amazon ECS secrets (for Systems Manager Parameter store) in the Amazon Elastic Container Service Developer Guide .

    If the SSM Parameter Store parameter exists in the same Region as the task you're launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.

    ExpressGatewayServiceStatus, ExpressGatewayServiceStatusArgs

    StatusCode ExpressGatewayServiceStatusCode
    The status of the Express service.
    statusCode ExpressGatewayServiceStatusCode
    The status of the Express service.
    statusCode ExpressGatewayServiceStatusCode
    The status of the Express service.
    status_code ExpressGatewayServiceStatusCode
    The status of the Express service.
    statusCode "ACTIVE" | "DRAINING" | "INACTIVE"
    The status of the Express service.

    ExpressGatewayServiceStatusCode, ExpressGatewayServiceStatusCodeArgs

    Active
    ACTIVE
    Draining
    DRAINING
    Inactive
    INACTIVE
    ExpressGatewayServiceStatusCodeActive
    ACTIVE
    ExpressGatewayServiceStatusCodeDraining
    DRAINING
    ExpressGatewayServiceStatusCodeInactive
    INACTIVE
    Active
    ACTIVE
    Draining
    DRAINING
    Inactive
    INACTIVE
    Active
    ACTIVE
    Draining
    DRAINING
    Inactive
    INACTIVE
    ACTIVE
    ACTIVE
    DRAINING
    DRAINING
    INACTIVE
    INACTIVE
    "ACTIVE"
    ACTIVE
    "DRAINING"
    DRAINING
    "INACTIVE"
    INACTIVE

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.40.0 published on Thursday, Dec 11, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate