line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::OpsWorks::CreateApp; |
3
|
1
|
|
|
1
|
|
549
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
has AppSource => (is => 'ro', isa => 'Paws::OpsWorks::Source'); |
5
|
|
|
|
|
|
|
has Attributes => (is => 'ro', isa => 'Paws::OpsWorks::AppAttributes'); |
6
|
|
|
|
|
|
|
has DataSources => (is => 'ro', isa => 'ArrayRef[Paws::OpsWorks::DataSource]'); |
7
|
|
|
|
|
|
|
has Description => (is => 'ro', isa => 'Str'); |
8
|
|
|
|
|
|
|
has Domains => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); |
9
|
|
|
|
|
|
|
has EnableSsl => (is => 'ro', isa => 'Bool'); |
10
|
|
|
|
|
|
|
has Environment => (is => 'ro', isa => 'ArrayRef[Paws::OpsWorks::EnvironmentVariable]'); |
11
|
|
|
|
|
|
|
has Name => (is => 'ro', isa => 'Str', required => 1); |
12
|
|
|
|
|
|
|
has Shortname => (is => 'ro', isa => 'Str'); |
13
|
|
|
|
|
|
|
has SslConfiguration => (is => 'ro', isa => 'Paws::OpsWorks::SslConfiguration'); |
14
|
|
|
|
|
|
|
has StackId => (is => 'ro', isa => 'Str', required => 1); |
15
|
|
|
|
|
|
|
has Type => (is => 'ro', isa => 'Str', required => 1); |
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
1
|
|
6244
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
8
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateApp'); |
20
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::OpsWorks::CreateAppResult'); |
21
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
### main pod documentation begin ### |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 NAME |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Paws::OpsWorks::CreateApp - Arguments for method CreateApp on Paws::OpsWorks |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 DESCRIPTION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
This class represents the parameters used for calling the method CreateApp on the |
33
|
|
|
|
|
|
|
AWS OpsWorks service. Use the attributes of this class |
34
|
|
|
|
|
|
|
as arguments to method CreateApp. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateApp. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
As an example: |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
$service_obj->CreateApp(Att1 => $value1, Att2 => $value2, ...); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head2 AppSource => L<Paws::OpsWorks::Source> |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
A C<Source> object that specifies the app repository. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head2 Attributes => L<Paws::OpsWorks::AppAttributes> |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
One or more user-defined key/value pairs to be added to the stack |
56
|
|
|
|
|
|
|
attributes. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head2 DataSources => ArrayRef[L<Paws::OpsWorks::DataSource>] |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
The app's data source. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head2 Description => Str |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
A description of the app. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head2 Domains => ArrayRef[Str|Undef] |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
The app virtual host settings, with multiple domains separated by |
75
|
|
|
|
|
|
|
commas. For example: C<'www.example.com, example.com'> |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head2 EnableSsl => Bool |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
Whether to enable SSL for the app. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head2 Environment => ArrayRef[L<Paws::OpsWorks::EnvironmentVariable>] |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
An array of C<EnvironmentVariable> objects that specify environment |
88
|
|
|
|
|
|
|
variables to be associated with the app. After you deploy the app, |
89
|
|
|
|
|
|
|
these variables are defined on the associated app server instance. For |
90
|
|
|
|
|
|
|
more information, see Environment Variables. |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
There is no specific limit on the number of environment variables. |
93
|
|
|
|
|
|
|
However, the size of the associated data structure - which includes the |
94
|
|
|
|
|
|
|
variables' names, values, and protected flag values - cannot exceed 10 |
95
|
|
|
|
|
|
|
KB (10240 Bytes). This limit should accommodate most if not all use |
96
|
|
|
|
|
|
|
cases. Exceeding it will cause an exception with the message, |
97
|
|
|
|
|
|
|
"Environment: is too large (maximum is 10KB)." |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
This parameter is supported only by Chef 11.10 stacks. If you have |
100
|
|
|
|
|
|
|
specified one or more environment variables, you cannot modify the |
101
|
|
|
|
|
|
|
stack's Chef version. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head2 B<REQUIRED> Name => Str |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
The app name. |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=head2 Shortname => Str |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
The app's short name. |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=head2 SslConfiguration => L<Paws::OpsWorks::SslConfiguration> |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
An C<SslConfiguration> object with the SSL configuration. |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=head2 B<REQUIRED> StackId => Str |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
The stack ID. |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=head2 B<REQUIRED> Type => Str |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
The app type. Each supported type is associated with a particular |
132
|
|
|
|
|
|
|
layer. For example, PHP applications are associated with a PHP layer. |
133
|
|
|
|
|
|
|
AWS OpsWorks Stacks deploys an application to those instances that are |
134
|
|
|
|
|
|
|
members of the corresponding layer. If your app isn't one of the |
135
|
|
|
|
|
|
|
standard types, or you prefer to implement your own Deploy recipes, |
136
|
|
|
|
|
|
|
specify C<other>. |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
Valid values are: C<"aws-flow-ruby">, C<"java">, C<"rails">, C<"php">, C<"nodejs">, C<"static">, C<"other"> |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=head1 SEE ALSO |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method CreateApp in L<Paws::OpsWorks> |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
=cut |
152
|
|
|
|
|
|
|
|