AWS Fundamentals Logo
AWS Fundamentals
AWS::ECS::ExpressGatewayService

ECS ExpressGatewayService

Resource Type definition for AWS::ECS::ExpressGatewayService

Properties

12 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
ExecutionRoleArn
string
RequiredWrite-only
InfrastructureRoleArn
string
RequiredCreate-only
PrimaryContainer
ExpressGatewayContainer
RequiredWrite-only
Cluster
string
Create-only
Cpu
string
Write-only
HealthCheckPath
string
Write-only
Memory
string
Write-only
NetworkConfiguration
ExpressGatewayServiceNetworkConfiguration
Write-only
ScalingTarget
ExpressGatewayScalingTarget
Write-only
ServiceName
string
Create-only
Tags
Array<Tag>
Create-only
TaskRoleArn
string
Write-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ActiveConfigurationsArray<ExpressGatewayServiceConfiguration>-
CreatedAtstring-
ECSManagedResourceArnsECSManagedResourceArns-
Endpointstring-
ServiceArnstring-
StatusExpressGatewayServiceStatus-
UpdatedAtstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ECS::ExpressGatewayService

Resources:
  MyResource:
    Type: AWS::ECS::ExpressGatewayService
    Properties:
      ExecutionRoleArn: "arn:aws:service:region:account:resource"
      InfrastructureRoleArn: "arn:aws:service:region:account:resource"
      PrimaryContainer: "value"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

read

ecs:DescribeExpressGatewayServiceecs:DescribeServiceRevisions

create

ecs:CreateExpressGatewayServiceecs:CreateClusterecs:DescribeExpressGatewayServiceecs:DescribeServiceDeploymentsecs:ListServiceDeploymentsecs:RegisterTaskDefinitionecs:TagResourceiam:PassRole

update

ecs:UpdateExpressGatewayServiceecs:DescribeExpressGatewayServiceecs:DescribeServiceDeploymentsecs:ListServiceDeploymentsecs:RegisterTaskDefinitioniam:PassRole

delete

ecs:DeleteExpressGatewayServiceecs:DescribeExpressGatewayServiceecs:DescribeServices

Get the ECS Cheat Sheet

Everything you need to know about ECS on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceECS
Properties19
Required3
TaggingSupported
Primary IDServiceArn

Supported Operations

ReadCreateUpdateDelete

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

ServiceNameClusterInfrastructureRoleArnTags

External Links