Method: Aws::ECS::Types::ContainerDefinition#command
- Defined in:
- lib/aws-sdk-ecs/types.rb
#command ⇒ Array<String>
The command that is passed to the container. This parameter maps to Cmd in the [Create a container] section of the [Docker Remote API] and the COMMAND parameter to [docker run]. For more information, see [docs.docker.com/engine/reference/builder/#cmd][4]. If there are multiple arguments, each argument should be a separated string in the array.
[1]: docs.docker.com/engine/api/v1.35/#operation/ContainerCreate [2]: docs.docker.com/engine/api/v1.35/ [3]: docs.docker.com/engine/reference/run/ [4]: docs.docker.com/engine/reference/builder/#cmd
1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 |
# File 'lib/aws-sdk-ecs/types.rb', line 1643 class ContainerDefinition < Struct.new( :name, :image, :repository_credentials, :cpu, :memory, :memory_reservation, :links, :port_mappings, :essential, :entry_point, :command, :environment, :mount_points, :volumes_from, :linux_parameters, :secrets, :depends_on, :start_timeout, :stop_timeout, :hostname, :user, :working_directory, :disable_networking, :privileged, :readonly_root_filesystem, :dns_servers, :dns_search_domains, :extra_hosts, :docker_security_options, :interactive, :pseudo_terminal, :docker_labels, :ulimits, :log_configuration, :health_check, :system_controls, :resource_requirements, :firelens_configuration) include Aws::Structure end |