NAME

Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsDetails

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsDetails object:

$service_obj->Method(Att1 => { Command => $value, ..., WorkingDirectory => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsDetails object:

$result = $service_obj->Method(...);
$result->Att1->Command

DESCRIPTION

A container definition that describes a container in the task.

ATTRIBUTES

Command => ArrayRef[Str|Undef]

The command that is passed to the container.

Cpu => Int

The number of CPU units reserved for the container.

DependsOn => ArrayRef[Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails]

The dependencies that are defined for container startup and shutdown.

DisableNetworking => Bool

Whether to disable networking within the container.

DnsSearchDomains => ArrayRef[Str|Undef]

A list of DNS search domains that are presented to the container.

DnsServers => ArrayRef[Str|Undef]

A list of DNS servers that are presented to the container.

DockerLabels => Paws::SecurityHub::FieldMap

A key-value map of labels to add to the container.

DockerSecurityOptions => ArrayRef[Str|Undef]

A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.

EntryPoint => ArrayRef[Str|Undef]

The entry point that is passed to the container.

Environment => ArrayRef[Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails]

The environment variables to pass to a container.

EnvironmentFiles => ArrayRef[Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails]

A list of files containing the environment variables to pass to a container.

Essential => Bool

Whether the container is essential. All tasks must have at least one essential container.

ExtraHosts => ArrayRef[Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails]

A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.

FirelensConfiguration => Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails

The FireLens configuration for the container. Specifies and configures a log router for container logs.

HealthCheck => Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails

The container health check command and associated configuration parameters for the container.

Hostname => Str

The hostname to use for the container.

Image => Str

The image used to start the container.

Interactive => Bool

If set to true, then containerized applications can be deployed that require stdin or a tty to be allocated.

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.

LinuxParameters => Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails

Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.

LogConfiguration => Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails

The log configuration specification for the container.

Memory => Int

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.

MemoryReservation => Int

The soft limit (in MiB) of memory to reserve for the container.

MountPoints => ArrayRef[Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails]

The mount points for the data volumes in the container.

Name => Str

The name of the container.

PortMappings => ArrayRef[Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails]

The list of port mappings for the container.

Privileged => Bool

Whether the container is given elevated privileges on the host container instance. The elevated privileges are similar to the root user.

PseudoTerminal => Bool

Whether to allocate a TTY to the container.

ReadonlyRootFilesystem => Bool

Whether the container is given read-only access to its root file system.

RepositoryCredentials => Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails

The private repository authentication credentials to use.

ResourceRequirements => ArrayRef[Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails]

The type and amount of a resource to assign to a container. The only supported resource is a GPU.

Secrets => ArrayRef[Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails]

The secrets to pass to the container.

StartTimeout => Int

The number of seconds to wait before giving up on resolving dependencies for a container.

StopTimeout => Int

The number of seconds to wait before the container is stopped if it doesn't shut down normally on its own.

SystemControls => ArrayRef[Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails]

A list of namespaced kernel parameters to set in the container.

Ulimits => ArrayRef[Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails]

A list of ulimits to set in the container.

User => Str

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

VolumesFrom => ArrayRef[Paws::SecurityHub::AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails]

Data volumes to mount from another container.

WorkingDirectory => Str

The working directory in which to run commands inside the container.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::SecurityHub

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues