| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ECS::EnvironmentFile; | ||
| 3 | use Moose; | ||
| 4 | has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest'], required => 1); | ||
| 5 | has Value => (is => 'ro', isa => 'Str', request_name => 'value', traits => ['NameInRequest'], required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::ECS::EnvironmentFile | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::ECS::EnvironmentFile object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Type => $value, ..., Value => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::EnvironmentFile object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Type | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | A list of files containing the environment variables to pass to a | ||
| 38 | container. You can specify up to ten environment files. The file must | ||
| 39 | have a C<.env> file extension. Each line in an environment file should | ||
| 40 | contain an environment variable in C<VARIABLE=VALUE> format. Lines | ||
| 41 | beginning with C<#> are treated as comments and are ignored. For more | ||
| 42 | information on the environment variable file syntax, see Declare | ||
| 43 | default environment variables in file | ||
| 44 | (https://docs.docker.com/compose/env-file/). | ||
| 45 | |||
| 46 | If there are environment variables specified using the C<environment> | ||
| 47 | parameter in a container definition, they take precedence over the | ||
| 48 | variables contained within an environment file. If multiple environment | ||
| 49 | files are specified that contain the same variable, they are processed | ||
| 50 | from the top down. It is recommended to use unique variable names. For | ||
| 51 | more information, see Specifying environment variables | ||
| 52 | (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html) | ||
| 53 | in the I<Amazon Elastic Container Service Developer Guide>. | ||
| 54 | |||
| 55 | This field is only valid for containers in Fargate tasks that use | ||
| 56 | platform version C<1.4.0> or later. | ||
| 57 | |||
| 58 | =head1 ATTRIBUTES | ||
| 59 | |||
| 60 | |||
| 61 | =head2 B<REQUIRED> Type => Str | ||
| 62 | |||
| 63 | The file type to use. The only supported value is C<s3>. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> Value => Str | ||
| 67 | |||
| 68 | The Amazon Resource Name (ARN) of the Amazon S3 object containing the | ||
| 69 | environment variable file. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head1 SEE ALSO | ||
| 74 | |||
| 75 | This class forms part of L<Paws>, describing an object used in L<Paws::ECS> | ||
| 76 | |||
| 77 | =head1 BUGS and CONTRIBUTIONS | ||
| 78 | |||
| 79 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 80 | |||
| 81 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 82 | |||
| 83 | =cut | ||
| 84 |