| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ECS::MountPoint; | ||
| 3 | use Moose; | ||
| 4 | has ContainerPath => (is => 'ro', isa => 'Str', request_name => 'containerPath', traits => ['NameInRequest']); | ||
| 5 | has ReadOnly => (is => 'ro', isa => 'Bool', request_name => 'readOnly', traits => ['NameInRequest']); | ||
| 6 | has SourceVolume => (is => 'ro', isa => 'Str', request_name => 'sourceVolume', traits => ['NameInRequest']); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::ECS::MountPoint | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::ECS::MountPoint object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { ContainerPath => $value, ..., SourceVolume => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::MountPoint object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->ContainerPath | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Details on a volume mount point that is used in a container definition. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 ContainerPath => Str | ||
| 44 | |||
| 45 | The path on the container to mount the host volume at. | ||
| 46 | |||
| 47 | |||
| 48 | =head2 ReadOnly => Bool | ||
| 49 | |||
| 50 | If this value is C<true>, the container has read-only access to the | ||
| 51 | volume. If this value is C<false>, then the container can write to the | ||
| 52 | volume. The default value is C<false>. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 SourceVolume => Str | ||
| 56 | |||
| 57 | The name of the volume to mount. Must be a volume name referenced in | ||
| 58 | the C<name> parameter of task definition C<volume>. | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | =head1 SEE ALSO | ||
| 63 | |||
| 64 | This class forms part of L<Paws>, describing an object used in L<Paws::ECS> | ||
| 65 | |||
| 66 | =head1 BUGS and CONTRIBUTIONS | ||
| 67 | |||
| 68 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 69 | |||
| 70 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 71 | |||
| 72 | =cut | ||
| 73 |