File Coverage

blib/lib/Paws/CodeBuild/CreateProject.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::CodeBuild::CreateProject;
3 1     1   684 use Moose;
  1         2  
  1         11  
4             has Artifacts => (is => 'ro', isa => 'Paws::CodeBuild::ProjectArtifacts', traits => ['NameInRequest'], request_name => 'artifacts' , required => 1);
5             has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description' );
6             has EncryptionKey => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'encryptionKey' );
7             has Environment => (is => 'ro', isa => 'Paws::CodeBuild::ProjectEnvironment', traits => ['NameInRequest'], request_name => 'environment' , required => 1);
8             has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name' , required => 1);
9             has ServiceRole => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'serviceRole' );
10             has Source => (is => 'ro', isa => 'Paws::CodeBuild::ProjectSource', traits => ['NameInRequest'], request_name => 'source' , required => 1);
11             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::CodeBuild::Tag]', traits => ['NameInRequest'], request_name => 'tags' );
12             has TimeoutInMinutes => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'timeoutInMinutes' );
13              
14 1     1   8162 use MooseX::ClassAttribute;
  1         4  
  1         11  
15              
16             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateProject');
17             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeBuild::CreateProjectOutput');
18             class_has _result_key => (isa => 'Str', is => 'ro');
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::CodeBuild::CreateProject - Arguments for method CreateProject on Paws::CodeBuild
26              
27             =head1 DESCRIPTION
28              
29             This class represents the parameters used for calling the method CreateProject on the
30             AWS CodeBuild service. Use the attributes of this class
31             as arguments to method CreateProject.
32              
33             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateProject.
34              
35             As an example:
36              
37             $service_obj->CreateProject(Att1 => $value1, Att2 => $value2, ...);
38              
39             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.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 B<REQUIRED> Artifacts => L<Paws::CodeBuild::ProjectArtifacts>
45              
46             Information about the build output artifacts for the build project.
47              
48              
49              
50             =head2 Description => Str
51              
52             A description that makes the build project easy to identify.
53              
54              
55              
56             =head2 EncryptionKey => Str
57              
58             The AWS Key Management Service (AWS KMS) customer master key (CMK) to
59             be used for encrypting the build output artifacts.
60              
61             You can specify either the CMK's Amazon Resource Name (ARN) or, if
62             available, the CMK's alias (using the format C<alias/I<alias-name> >).
63              
64              
65              
66             =head2 B<REQUIRED> Environment => L<Paws::CodeBuild::ProjectEnvironment>
67              
68             Information about the build environment for the build project.
69              
70              
71              
72             =head2 B<REQUIRED> Name => Str
73              
74             The name of the build project.
75              
76              
77              
78             =head2 ServiceRole => Str
79              
80             The ARN of the AWS Identity and Access Management (IAM) role that
81             enables AWS CodeBuild to interact with dependent AWS services on behalf
82             of the AWS account.
83              
84              
85              
86             =head2 B<REQUIRED> Source => L<Paws::CodeBuild::ProjectSource>
87              
88             Information about the build input source code for the build project.
89              
90              
91              
92             =head2 Tags => ArrayRef[L<Paws::CodeBuild::Tag>]
93              
94             A set of tags for this build project.
95              
96             These tags are available for use by AWS services that support AWS
97             CodeBuild build project tags.
98              
99              
100              
101             =head2 TimeoutInMinutes => Int
102              
103             How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to
104             wait until timing out any build that has not been marked as completed.
105             The default is 60 minutes.
106              
107              
108              
109              
110             =head1 SEE ALSO
111              
112             This class forms part of L<Paws>, documenting arguments for method CreateProject in L<Paws::CodeBuild>
113              
114             =head1 BUGS and CONTRIBUTIONS
115              
116             The source code is located here: https://github.com/pplu/aws-sdk-perl
117              
118             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
119              
120             =cut
121