libZSservicesZSamazonka-batchZSamazonka-batch
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.Batch.Types.Host

Description

 
Synopsis

Documentation

data Host Source #

Determine whether your data volume persists on the host container instance and where it is stored. If this parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data isn't guaranteed to persist after the containers associated with it stop running.

See: newHost smart constructor.

Constructors

Host' 

Fields

  • sourcePath :: Maybe Text

    The path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.

    This parameter isn't applicable to jobs that run on Fargate resources and shouldn't be provided.

Instances

Instances details
Eq Host Source # 
Instance details

Defined in Amazonka.Batch.Types.Host

Methods

(==) :: Host -> Host -> Bool #

(/=) :: Host -> Host -> Bool #

Read Host Source # 
Instance details

Defined in Amazonka.Batch.Types.Host

Show Host Source # 
Instance details

Defined in Amazonka.Batch.Types.Host

Methods

showsPrec :: Int -> Host -> ShowS #

show :: Host -> String #

showList :: [Host] -> ShowS #

Generic Host Source # 
Instance details

Defined in Amazonka.Batch.Types.Host

Associated Types

type Rep Host :: Type -> Type #

Methods

from :: Host -> Rep Host x #

to :: Rep Host x -> Host #

NFData Host Source # 
Instance details

Defined in Amazonka.Batch.Types.Host

Methods

rnf :: Host -> () #

Hashable Host Source # 
Instance details

Defined in Amazonka.Batch.Types.Host

Methods

hashWithSalt :: Int -> Host -> Int #

hash :: Host -> Int #

ToJSON Host Source # 
Instance details

Defined in Amazonka.Batch.Types.Host

FromJSON Host Source # 
Instance details

Defined in Amazonka.Batch.Types.Host

type Rep Host Source # 
Instance details

Defined in Amazonka.Batch.Types.Host

type Rep Host = D1 ('MetaData "Host" "Amazonka.Batch.Types.Host" "libZSservicesZSamazonka-batchZSamazonka-batch" 'False) (C1 ('MetaCons "Host'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourcePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newHost :: Host Source #

Create a value of Host 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:sourcePath:Host', host_sourcePath - The path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.

This parameter isn't applicable to jobs that run on Fargate resources and shouldn't be provided.

host_sourcePath :: Lens' Host (Maybe Text) Source #

The path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.

This parameter isn't applicable to jobs that run on Fargate resources and shouldn't be provided.