AWS::ECS::ExpressGatewayServiceCreates an Express service that simplifies deploying containerized web applications on Amazon ECS with managed AWS infrastructure. This operation provisions and configures Application Load Balancers, target groups, security groups, and auto-scaling policies automatically. Specify a primary container configuration with your application image and basic settings. Amazon ECS creates the necessary AWS resources for traffic distribution, health monitoring, network access control, and capacity management. Provide an execution role for task operations and an infrastructure role for managing AWS resources on your behalf.
import { CfnExpressGatewayService } from 'aws-cdk-lib/aws-ecs';Or use the module namespace:
import * as ecs from 'aws-cdk-lib/aws-ecs';
// ecs.CfnExpressGatewayServiceConfiguration passed to the constructor as CfnExpressGatewayServiceProps.
executionRoleArnRequiredstringThe ARN of the task execution role for the service revision.
infrastructureRoleArnRequiredstringThe ARN of the infrastructure role that manages AWS resources for the Express service.
primaryContainerRequiredIResolvable | ExpressGatewayContainerPropertyThe primary container configuration for this service revision.
clusterOptionalstringThe short name or full ARN of the cluster that hosts the Express service.
Default: - "default"
cpuOptionalstringThe CPU allocation for tasks in this service revision.
Default: - "256"
healthCheckPathOptionalstringThe health check path for this service revision.
Default: - "HTTP:80/ping"
memoryOptionalstringThe memory allocation for tasks in this service revision.
Default: - "512"
networkConfigurationOptionalIResolvable | ExpressGatewayServiceNetworkConfigurationPropertyThe network configuration for tasks in this service revision.
scalingTargetOptionalIResolvable | ExpressGatewayScalingTargetPropertyThe auto-scaling configuration for this service revision.
serviceNameOptionalstringThe name of the Express service.
tagsOptionalCfnTag[]The metadata applied to the Express service.
taskRoleArnOptionalstringThe ARN of the task role for the service revision.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon ECS on one page. HD quality, print-friendly.
Download Free Infographicaws-ecsAWS::ECS::ExpressGatewayService