libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsDetails

Description

 
Synopsis

Documentation

data AwsEcsTaskDefinitionContainerDefinitionsDetails Source #

A container definition that describes a container in the task.

See: newAwsEcsTaskDefinitionContainerDefinitionsDetails smart constructor.

Constructors

AwsEcsTaskDefinitionContainerDefinitionsDetails' 

Fields

Instances

Instances details
Eq AwsEcsTaskDefinitionContainerDefinitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsDetails

Read AwsEcsTaskDefinitionContainerDefinitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsDetails

Show AwsEcsTaskDefinitionContainerDefinitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsDetails

Generic AwsEcsTaskDefinitionContainerDefinitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsDetails

NFData AwsEcsTaskDefinitionContainerDefinitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsDetails

Hashable AwsEcsTaskDefinitionContainerDefinitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsDetails

ToJSON AwsEcsTaskDefinitionContainerDefinitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsDetails

FromJSON AwsEcsTaskDefinitionContainerDefinitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsDetails

type Rep AwsEcsTaskDefinitionContainerDefinitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsDetails

type Rep AwsEcsTaskDefinitionContainerDefinitionsDetails = D1 ('MetaData "AwsEcsTaskDefinitionContainerDefinitionsDetails" "Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsDetails" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsEcsTaskDefinitionContainerDefinitionsDetails'" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "hostname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "image") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repositoryCredentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails)))) :*: ((S1 ('MetaSel ('Just "dockerSecurityOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "healthCheck") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails))) :*: (S1 ('MetaSel ('Just "disableNetworking") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "volumesFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails])) :*: S1 ('MetaSel ('Just "environment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails])))))) :*: (((S1 ('MetaSel ('Just "secrets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails])) :*: S1 ('MetaSel ('Just "entryPoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "workingDirectory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "environmentFiles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails])) :*: S1 ('MetaSel ('Just "stopTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "privileged") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "ulimits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails]))) :*: (S1 ('MetaSel ('Just "portMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails])) :*: (S1 ('MetaSel ('Just "resourceRequirements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails])) :*: S1 ('MetaSel ('Just "memory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))) :*: ((((S1 ('MetaSel ('Just "extraHosts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails])) :*: S1 ('MetaSel ('Just "dockerLabels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "systemControls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails])) :*: S1 ('MetaSel ('Just "linuxParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails))))) :*: ((S1 ('MetaSel ('Just "logConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails)) :*: S1 ('MetaSel ('Just "firelensConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails))) :*: (S1 ('MetaSel ('Just "dnsSearchDomains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "pseudoTerminal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "dependsOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails])))))) :*: (((S1 ('MetaSel ('Just "dnsServers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "mountPoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails])) :*: (S1 ('MetaSel ('Just "interactive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "startTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "readonlyRootFilesystem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "links") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "cpu") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "essential") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "memoryReservation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))))))

newAwsEcsTaskDefinitionContainerDefinitionsDetails :: AwsEcsTaskDefinitionContainerDefinitionsDetails Source #

Create a value of AwsEcsTaskDefinitionContainerDefinitionsDetails with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:command:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_command - The command that is passed to the container.

$sel:hostname:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_hostname - The hostname to use for the container.

$sel:image:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_image - The image used to start the container.

$sel:repositoryCredentials:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_repositoryCredentials - The private repository authentication credentials to use.

$sel:dockerSecurityOptions:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_dockerSecurityOptions - A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.

$sel:healthCheck:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_healthCheck - The container health check command and associated configuration parameters for the container.

$sel:disableNetworking:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_disableNetworking - Whether to disable networking within the container.

$sel:volumesFrom:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_volumesFrom - Data volumes to mount from another container.

$sel:environment:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_environment - The environment variables to pass to a container.

$sel:secrets:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_secrets - The secrets to pass to the container.

$sel:entryPoint:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_entryPoint - The entry point that is passed to the container.

$sel:workingDirectory:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_workingDirectory - The working directory in which to run commands inside the container.

$sel:environmentFiles:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_environmentFiles - A list of files containing the environment variables to pass to a container.

$sel:stopTimeout:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_stopTimeout - The number of seconds to wait before the container is stopped if it doesn't shut down normally on its own.

$sel:privileged:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_privileged - Whether the container is given elevated privileges on the host container instance. The elevated privileges are similar to the root user.

$sel:ulimits:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_ulimits - A list of ulimits to set in the container.

$sel:portMappings:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_portMappings - The list of port mappings for the container.

$sel:resourceRequirements:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_resourceRequirements - The type and amount of a resource to assign to a container. The only supported resource is a GPU.

$sel:memory:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_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.

$sel:extraHosts:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_extraHosts - A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.

$sel:dockerLabels:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_dockerLabels - A key-value map of labels to add to the container.

$sel:user:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_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

$sel:systemControls:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_systemControls - A list of namespaced kernel parameters to set in the container.

$sel:linuxParameters:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_linuxParameters - Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.

$sel:logConfiguration:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_logConfiguration - The log configuration specification for the container.

$sel:firelensConfiguration:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_firelensConfiguration - The FireLens configuration for the container. Specifies and configures a log router for container logs.

$sel:dnsSearchDomains:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_dnsSearchDomains - A list of DNS search domains that are presented to the container.

$sel:pseudoTerminal:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_pseudoTerminal - Whether to allocate a TTY to the container.

$sel:dependsOn:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_dependsOn - The dependencies that are defined for container startup and shutdown.

$sel:dnsServers:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_dnsServers - A list of DNS servers that are presented to the container.

$sel:name:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_name - The name of the container.

$sel:mountPoints:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_mountPoints - The mount points for the data volumes in the container.

$sel:interactive:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_interactive - If set to true, then containerized applications can be deployed that require stdin or a tty to be allocated.

$sel:startTimeout:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_startTimeout - The number of seconds to wait before giving up on resolving dependencies for a container.

$sel:readonlyRootFilesystem:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_readonlyRootFilesystem - Whether the container is given read-only access to its root file system.

$sel:links:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_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.

$sel:cpu:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_cpu - The number of CPU units reserved for the container.

$sel:essential:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_essential - Whether the container is essential. All tasks must have at least one essential container.

$sel:memoryReservation:AwsEcsTaskDefinitionContainerDefinitionsDetails', awsEcsTaskDefinitionContainerDefinitionsDetails_memoryReservation - The soft limit (in MiB) of memory to reserve for the container.

awsEcsTaskDefinitionContainerDefinitionsDetails_dockerSecurityOptions :: Lens' AwsEcsTaskDefinitionContainerDefinitionsDetails (Maybe [Text]) Source #

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

awsEcsTaskDefinitionContainerDefinitionsDetails_stopTimeout :: Lens' AwsEcsTaskDefinitionContainerDefinitionsDetails (Maybe Int) Source #

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

awsEcsTaskDefinitionContainerDefinitionsDetails_privileged :: Lens' AwsEcsTaskDefinitionContainerDefinitionsDetails (Maybe Bool) Source #

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

awsEcsTaskDefinitionContainerDefinitionsDetails_memory :: Lens' AwsEcsTaskDefinitionContainerDefinitionsDetails (Maybe Int) Source #

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.

awsEcsTaskDefinitionContainerDefinitionsDetails_user :: Lens' AwsEcsTaskDefinitionContainerDefinitionsDetails (Maybe Text) Source #

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

awsEcsTaskDefinitionContainerDefinitionsDetails_interactive :: Lens' AwsEcsTaskDefinitionContainerDefinitionsDetails (Maybe Bool) Source #

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

awsEcsTaskDefinitionContainerDefinitionsDetails_startTimeout :: Lens' AwsEcsTaskDefinitionContainerDefinitionsDetails (Maybe Int) Source #

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

awsEcsTaskDefinitionContainerDefinitionsDetails_links :: Lens' AwsEcsTaskDefinitionContainerDefinitionsDetails (Maybe [Text]) Source #

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.

awsEcsTaskDefinitionContainerDefinitionsDetails_essential :: Lens' AwsEcsTaskDefinitionContainerDefinitionsDetails (Maybe Bool) Source #

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