Class: Aws::ECS::Types::ExpressGatewayContainer
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::ExpressGatewayContainer
- Defined in:
- gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb
Overview
Defines the configuration for the primary container in an Express service. This container receives traffic from the Application Load Balancer and runs your application code.
The container configuration includes the container image, port mapping, logging settings, environment variables, and secrets. The container image is the only required parameter, with sensible defaults provided for other settings.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#aws_logs_configuration ⇒ Types::ExpressGatewayServiceAwsLogsConfiguration
The log configuration for the container.
-
#command ⇒ Array<String>
The command that is passed to the container.
-
#container_port ⇒ Integer
The port number on the container that receives traffic from the load balancer.
-
#environment ⇒ Array<Types::KeyValuePair>
The environment variables to pass to the container.
-
#image ⇒ String
The image used to start a container.
-
#repository_credentials ⇒ Types::ExpressGatewayRepositoryCredentials
The configuration for repository credentials for private registry authentication.
-
#secrets ⇒ Array<Types::Secret>
The secrets to pass to the container.
Instance Attribute Details
#aws_logs_configuration ⇒ Types::ExpressGatewayServiceAwsLogsConfiguration
The log configuration for the container.
6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6018 class ExpressGatewayContainer < Struct.new( :image, :container_port, :aws_logs_configuration, :repository_credentials, :command, :environment, :secrets) SENSITIVE = [] include Aws::Structure end |
#command ⇒ Array<String>
The command that is passed to the container.
6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6018 class ExpressGatewayContainer < Struct.new( :image, :container_port, :aws_logs_configuration, :repository_credentials, :command, :environment, :secrets) SENSITIVE = [] include Aws::Structure end |
#container_port ⇒ Integer
The port number on the container that receives traffic from the load balancer. Default is 80.
6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6018 class ExpressGatewayContainer < Struct.new( :image, :container_port, :aws_logs_configuration, :repository_credentials, :command, :environment, :secrets) SENSITIVE = [] include Aws::Structure end |
#environment ⇒ Array<Types::KeyValuePair>
The environment variables to pass to the container.
6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6018 class ExpressGatewayContainer < Struct.new( :image, :container_port, :aws_logs_configuration, :repository_credentials, :command, :environment, :secrets) SENSITIVE = [] include Aws::Structure end |
#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.
6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6018 class ExpressGatewayContainer < Struct.new( :image, :container_port, :aws_logs_configuration, :repository_credentials, :command, :environment, :secrets) SENSITIVE = [] include Aws::Structure end |
#repository_credentials ⇒ Types::ExpressGatewayRepositoryCredentials
The configuration for repository credentials for private registry authentication.
6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6018 class ExpressGatewayContainer < Struct.new( :image, :container_port, :aws_logs_configuration, :repository_credentials, :command, :environment, :secrets) SENSITIVE = [] include Aws::Structure end |
#secrets ⇒ Array<Types::Secret>
The secrets to pass to the container.
6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6018 class ExpressGatewayContainer < Struct.new( :image, :container_port, :aws_logs_configuration, :repository_credentials, :command, :environment, :secrets) SENSITIVE = [] include Aws::Structure end |