class Aws::SecurityHub::Types::AwsEcsTaskDefinitionContainerDefinitionsDetails
A container definition that describes a container in the task.
@note When making an API call, you may pass AwsEcsTaskDefinitionContainerDefinitionsDetails
data as a hash: { command: ["NonEmptyString"], cpu: 1, depends_on: [ { condition: "NonEmptyString", container_name: "NonEmptyString", }, ], disable_networking: false, dns_search_domains: ["NonEmptyString"], dns_servers: ["NonEmptyString"], docker_labels: { "NonEmptyString" => "NonEmptyString", }, docker_security_options: ["NonEmptyString"], entry_point: ["NonEmptyString"], environment: [ { name: "NonEmptyString", value: "NonEmptyString", }, ], environment_files: [ { type: "NonEmptyString", value: "NonEmptyString", }, ], essential: false, extra_hosts: [ { hostname: "NonEmptyString", ip_address: "NonEmptyString", }, ], firelens_configuration: { options: { "NonEmptyString" => "NonEmptyString", }, type: "NonEmptyString", }, health_check: { command: ["NonEmptyString"], interval: 1, retries: 1, start_period: 1, timeout: 1, }, hostname: "NonEmptyString", image: "NonEmptyString", interactive: false, links: ["NonEmptyString"], linux_parameters: { capabilities: { add: ["NonEmptyString"], drop: ["NonEmptyString"], }, devices: [ { container_path: "NonEmptyString", host_path: "NonEmptyString", permissions: ["NonEmptyString"], }, ], init_process_enabled: false, max_swap: 1, shared_memory_size: 1, swappiness: 1, tmpfs: [ { container_path: "NonEmptyString", mount_options: ["NonEmptyString"], size: 1, }, ], }, log_configuration: { log_driver: "NonEmptyString", options: { "NonEmptyString" => "NonEmptyString", }, secret_options: [ { name: "NonEmptyString", value_from: "NonEmptyString", }, ], }, memory: 1, memory_reservation: 1, mount_points: [ { container_path: "NonEmptyString", read_only: false, source_volume: "NonEmptyString", }, ], name: "NonEmptyString", port_mappings: [ { container_port: 1, host_port: 1, protocol: "NonEmptyString", }, ], privileged: false, pseudo_terminal: false, readonly_root_filesystem: false, repository_credentials: { credentials_parameter: "NonEmptyString", }, resource_requirements: [ { type: "NonEmptyString", value: "NonEmptyString", }, ], secrets: [ { name: "NonEmptyString", value_from: "NonEmptyString", }, ], start_timeout: 1, stop_timeout: 1, system_controls: [ { namespace: "NonEmptyString", value: "NonEmptyString", }, ], ulimits: [ { hard_limit: 1, name: "NonEmptyString", soft_limit: 1, }, ], user: "NonEmptyString", volumes_from: [ { read_only: false, source_container: "NonEmptyString", }, ], working_directory: "NonEmptyString", }
@!attribute [rw] command
The command that is passed to the container. @return [Array<String>]
@!attribute [rw] cpu
The number of CPU units reserved for the container. @return [Integer]
@!attribute [rw] depends_on
The dependencies that are defined for container startup and shutdown. @return [Array<Types::AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails>]
@!attribute [rw] disable_networking
Whether to disable networking within the container. @return [Boolean]
@!attribute [rw] dns_search_domains
A list of DNS search domains that are presented to the container. @return [Array<String>]
@!attribute [rw] dns_servers
A list of DNS servers that are presented to the container. @return [Array<String>]
@!attribute [rw] docker_labels
A key-value map of labels to add to the container. @return [Hash<String,String>]
@!attribute [rw] docker_security_options
A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems. @return [Array<String>]
@!attribute [rw] entry_point
The entry point that is passed to the container. @return [Array<String>]
@!attribute [rw] environment
The environment variables to pass to a container. @return [Array<Types::AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails>]
@!attribute [rw] environment_files
A list of files containing the environment variables to pass to a container. @return [Array<Types::AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails>]
@!attribute [rw] essential
Whether the container is essential. All tasks must have at least one essential container. @return [Boolean]
@!attribute [rw] extra_hosts
A list of hostnames and IP address mappings to append to the **/etc/hosts** file on the container. @return [Array<Types::AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails>]
@!attribute [rw] firelens_configuration
The FireLens configuration for the container. Specifies and configures a log router for container logs. @return [Types::AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails]
@!attribute [rw] health_check
The container health check command and associated configuration parameters for the container. @return [Types::AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails]
@!attribute [rw] hostname
The hostname to use for the container. @return [String]
@!attribute [rw] image
The image used to start the container. @return [String]
@!attribute [rw] interactive
If set to true, then containerized applications can be deployed that require `stdin` or a `tty` to be allocated. @return [Boolean]
@!attribute [rw] links
A list of links for the container in the form ` container_name:alias `. Allows containers to communicate with each other without the need for port mappings. @return [Array<String>]
@!attribute [rw] linux_parameters
Linux-specific modifications that are applied to the container, such as Linux kernel capabilities. @return [Types::AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails]
@!attribute [rw] log_configuration
The log configuration specification for the container. @return [Types::AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails]
@!attribute [rw] memory
The amount (in MiB) of memory to present to the container. If the container attempts to exceed the memory specified here, the container is shut down. The total amount of memory reserved for all containers within a task must be lower than the task memory value, if one is specified. @return [Integer]
@!attribute [rw] memory_reservation
The soft limit (in MiB) of memory to reserve for the container. @return [Integer]
@!attribute [rw] mount_points
The mount points for the data volumes in the container. @return [Array<Types::AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails>]
@!attribute [rw] name
The name of the container. @return [String]
@!attribute [rw] port_mappings
The list of port mappings for the container. @return [Array<Types::AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails>]
@!attribute [rw] privileged
Whether the container is given elevated privileges on the host container instance. The elevated privileges are similar to the root user. @return [Boolean]
@!attribute [rw] pseudo_terminal
Whether to allocate a TTY to the container. @return [Boolean]
@!attribute [rw] readonly_root_filesystem
Whether the container is given read-only access to its root file system. @return [Boolean]
@!attribute [rw] repository_credentials
The private repository authentication credentials to use. @return [Types::AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails]
@!attribute [rw] resource_requirements
The type and amount of a resource to assign to a container. The only supported resource is a GPU. @return [Array<Types::AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails>]
@!attribute [rw] secrets
The secrets to pass to the container. @return [Array<Types::AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails>]
@!attribute [rw] start_timeout
The number of seconds to wait before giving up on resolving dependencies for a container. @return [Integer]
@!attribute [rw] stop_timeout
The number of seconds to wait before the container is stopped if it doesn't shut down normally on its own. @return [Integer]
@!attribute [rw] system_controls
A list of namespaced kernel parameters to set in the container. @return [Array<Types::AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails>]
@!attribute [rw] ulimits
A list of ulimits to set in the container. @return [Array<Types::AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails>]
@!attribute [rw] user
The user to use inside the container. The value can use one of the following formats. * ` user ` * ` user `\:` group ` * ` uid ` * ` uid `\:` gid ` * ` user `\:` gid ` * ` uid `\:` group ` @return [String]
@!attribute [rw] volumes_from
Data volumes to mount from another container. @return [Array<Types::AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails>]
@!attribute [rw] working_directory
The working directory in which to run commands inside the container. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsEcsTaskDefinitionContainerDefinitionsDetails AWS API Documentation
Constants
- SENSITIVE