amazonka-batch-2.0: Amazon Batch SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Batch.Types.Host

Description

 
Synopsis

Documentation

data Host Source #

Determine whether your data volume persists on the host container instance and where it's stored. If this parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data isn't guaranteed to persist after the containers that are 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. Don't provide this for these jobs.

Instances

Instances details
FromJSON Host Source # 
Instance details

Defined in Amazonka.Batch.Types.Host

ToJSON Host Source # 
Instance details

Defined in Amazonka.Batch.Types.Host

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 #

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 #

NFData Host Source # 
Instance details

Defined in Amazonka.Batch.Types.Host

Methods

rnf :: Host -> () #

Eq Host Source # 
Instance details

Defined in Amazonka.Batch.Types.Host

Methods

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

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

Hashable Host Source # 
Instance details

Defined in Amazonka.Batch.Types.Host

Methods

hashWithSalt :: Int -> Host -> Int #

hash :: Host -> Int #

type Rep Host Source # 
Instance details

Defined in Amazonka.Batch.Types.Host

type Rep Host = D1 ('MetaData "Host" "Amazonka.Batch.Types.Host" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" '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. Don't provide this for these jobs.

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. Don't provide this for these jobs.