File Coverage

blib/lib/Paws/OpsWorks/App.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::OpsWorks::App;
2 1     1   348 use Moose;
  1         4  
  1         6  
3             has AppId => (is => 'ro', isa => 'Str');
4             has AppSource => (is => 'ro', isa => 'Paws::OpsWorks::Source');
5             has Attributes => (is => 'ro', isa => 'Paws::OpsWorks::AppAttributes');
6             has CreatedAt => (is => 'ro', isa => 'Str');
7             has DataSources => (is => 'ro', isa => 'ArrayRef[Paws::OpsWorks::DataSource]');
8             has Description => (is => 'ro', isa => 'Str');
9             has Domains => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
10             has EnableSsl => (is => 'ro', isa => 'Bool');
11             has Environment => (is => 'ro', isa => 'ArrayRef[Paws::OpsWorks::EnvironmentVariable]');
12             has Name => (is => 'ro', isa => 'Str');
13             has Shortname => (is => 'ro', isa => 'Str');
14             has SslConfiguration => (is => 'ro', isa => 'Paws::OpsWorks::SslConfiguration');
15             has StackId => (is => 'ro', isa => 'Str');
16             has Type => (is => 'ro', isa => 'Str');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::OpsWorks::App
24              
25             =head1 USAGE
26              
27             This class represents one of two things:
28              
29             =head3 Arguments in a call to a service
30              
31             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
32             Each attribute should be used as a named argument in the calls that expect this type of object.
33              
34             As an example, if Att1 is expected to be a Paws::OpsWorks::App object:
35              
36             $service_obj->Method(Att1 => { AppId => $value, ..., Type => $value });
37              
38             =head3 Results returned from an API call
39              
40             Use accessors for each attribute. If Att1 is expected to be an Paws::OpsWorks::App object:
41              
42             $result = $service_obj->Method(...);
43             $result->Att1->AppId
44              
45             =head1 DESCRIPTION
46              
47             A description of the app.
48              
49             =head1 ATTRIBUTES
50              
51              
52             =head2 AppId => Str
53              
54             The app ID.
55              
56              
57             =head2 AppSource => L<Paws::OpsWorks::Source>
58              
59             A C<Source> object that describes the app repository.
60              
61              
62             =head2 Attributes => L<Paws::OpsWorks::AppAttributes>
63              
64             The stack attributes.
65              
66              
67             =head2 CreatedAt => Str
68              
69             When the app was created.
70              
71              
72             =head2 DataSources => ArrayRef[L<Paws::OpsWorks::DataSource>]
73              
74             The app's data sources.
75              
76              
77             =head2 Description => Str
78              
79             A description of the app.
80              
81              
82             =head2 Domains => ArrayRef[Str|Undef]
83              
84             The app vhost settings with multiple domains separated by commas. For
85             example: C<'www.example.com, example.com'>
86              
87              
88             =head2 EnableSsl => Bool
89              
90             Whether to enable SSL for the app.
91              
92              
93             =head2 Environment => ArrayRef[L<Paws::OpsWorks::EnvironmentVariable>]
94              
95             An array of C<EnvironmentVariable> objects that specify environment
96             variables to be associated with the app. After you deploy the app,
97             these variables are defined on the associated app server instances. For
98             more information, see Environment Variables.
99              
100             There is no specific limit on the number of environment variables.
101             However, the size of the associated data structure - which includes the
102             variable names, values, and protected flag values - cannot exceed 10 KB
103             (10240 Bytes). This limit should accommodate most if not all use cases,
104             but if you do exceed it, you will cause an exception (API) with an
105             "Environment: is too large (maximum is 10KB)" message.
106              
107              
108             =head2 Name => Str
109              
110             The app name.
111              
112              
113             =head2 Shortname => Str
114              
115             The app's short name.
116              
117              
118             =head2 SslConfiguration => L<Paws::OpsWorks::SslConfiguration>
119              
120             An C<SslConfiguration> object with the SSL configuration.
121              
122              
123             =head2 StackId => Str
124              
125             The app stack ID.
126              
127              
128             =head2 Type => Str
129              
130             The app type.
131              
132              
133              
134             =head1 SEE ALSO
135              
136             This class forms part of L<Paws>, describing an object used in L<Paws::OpsWorks>
137              
138             =head1 BUGS and CONTRIBUTIONS
139              
140             The source code is located here: https://github.com/pplu/aws-sdk-perl
141              
142             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
143              
144             =cut
145