File Coverage

blib/lib/Paws/ECS/LogConfiguration.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::ECS::LogConfiguration;
2 1     1   299 use Moose;
  1         4  
  1         6  
3             has LogDriver => (is => 'ro', isa => 'Str', request_name => 'logDriver', traits => ['NameInRequest'], required => 1);
4             has Options => (is => 'ro', isa => 'Paws::ECS::LogConfigurationOptionsMap', request_name => 'options', traits => ['NameInRequest']);
5             1;
6              
7             ### main pod documentation begin ###
8              
9             =head1 NAME
10              
11             Paws::ECS::LogConfiguration
12              
13             =head1 USAGE
14              
15             This class represents one of two things:
16              
17             =head3 Arguments in a call to a service
18              
19             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
20             Each attribute should be used as a named argument in the calls that expect this type of object.
21              
22             As an example, if Att1 is expected to be a Paws::ECS::LogConfiguration object:
23              
24             $service_obj->Method(Att1 => { LogDriver => $value, ..., Options => $value });
25              
26             =head3 Results returned from an API call
27              
28             Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::LogConfiguration object:
29              
30             $result = $service_obj->Method(...);
31             $result->Att1->LogDriver
32              
33             =head1 DESCRIPTION
34              
35             Log configuration options to send to a custom log driver for the
36             container.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 B<REQUIRED> LogDriver => Str
42              
43             The log driver to use for the container. The valid values listed for
44             this parameter are log drivers that the Amazon ECS container agent can
45             communicate with by default.
46              
47             If you have a custom driver that is not listed above that you would
48             like to work with the Amazon ECS container agent, you can fork the
49             Amazon ECS container agent project that is available on GitHub and
50             customize it to work with that driver. We encourage you to submit pull
51             requests for changes that you would like to have included. However,
52             Amazon Web Services does not currently provide support for running
53             modified copies of this software.
54              
55             This parameter requires version 1.18 of the Docker Remote API or
56             greater on your container instance. To check the Docker Remote API
57             version on your container instance, log into your container instance
58             and run the following command: C<sudo docker version | grep "Server API
59             version">
60              
61              
62             =head2 Options => L<Paws::ECS::LogConfigurationOptionsMap>
63              
64             The configuration options to send to the log driver. This parameter
65             requires version 1.19 of the Docker Remote API or greater on your
66             container instance. To check the Docker Remote API version on your
67             container instance, log into your container instance and run the
68             following command: C<sudo docker version | grep "Server API version">
69              
70              
71              
72             =head1 SEE ALSO
73              
74             This class forms part of L<Paws>, describing an object used in L<Paws::ECS>
75              
76             =head1 BUGS and CONTRIBUTIONS
77              
78             The source code is located here: https://github.com/pplu/aws-sdk-perl
79              
80             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
81              
82             =cut
83