« blib/lib/Paws/Batch/FargatePlatformConfiguration.pm
↑ Summary
blib/lib/Paws/Batch/JobDefinition.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Batch::Host; | ||
| 3 | use Moose; | ||
| 4 | has SourcePath => (is => 'ro', isa => 'Str', request_name => 'sourcePath', traits => ['NameInRequest']); | ||
| 5 | |||
| 6 | 1; | ||
| 7 | |||
| 8 | ### main pod documentation begin ### | ||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Paws::Batch::Host | ||
| 13 | |||
| 14 | =head1 USAGE | ||
| 15 | |||
| 16 | This class represents one of two things: | ||
| 17 | |||
| 18 | =head3 Arguments in a call to a service | ||
| 19 | |||
| 20 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 21 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 22 | |||
| 23 | As an example, if Att1 is expected to be a Paws::Batch::Host object: | ||
| 24 | |||
| 25 | $service_obj->Method(Att1 => { SourcePath => $value, ..., SourcePath => $value }); | ||
| 26 | |||
| 27 | =head3 Results returned from an API call | ||
| 28 | |||
| 29 | Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::Host object: | ||
| 30 | |||
| 31 | $result = $service_obj->Method(...); | ||
| 32 | $result->Att1->SourcePath | ||
| 33 | |||
| 34 | =head1 DESCRIPTION | ||
| 35 | |||
| 36 | Determine whether your data volume persists on the host container | ||
| 37 | instance and where it is stored. If this parameter is empty, then the | ||
| 38 | Docker daemon assigns a host path for your data volume, but the data | ||
| 39 | isn't guaranteed to persist after the containers associated with it | ||
| 40 | stop running. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 SourcePath => Str | ||
| 46 | |||
| 47 | The path on the host container instance that's presented to the | ||
| 48 | container. If this parameter is empty, then the Docker daemon has | ||
| 49 | assigned a host path for you. If this parameter contains a file | ||
| 50 | location, then the data volume persists at the specified location on | ||
| 51 | the host container instance until you delete it manually. If the source | ||
| 52 | path location doesn't exist on the host container instance, the Docker | ||
| 53 | daemon creates it. If the location does exist, the contents of the | ||
| 54 | source path folder are exported. | ||
| 55 | |||
| 56 | This parameter isn't applicable to jobs that run on Fargate resources | ||
| 57 | and shouldn't be provided. | ||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head1 SEE ALSO | ||
| 62 | |||
| 63 | This class forms part of L<Paws>, describing an object used in L<Paws::Batch> | ||
| 64 | |||
| 65 | =head1 BUGS and CONTRIBUTIONS | ||
| 66 | |||
| 67 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 68 | |||
| 69 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 70 | |||
| 71 | =cut | ||
| 72 |