File Coverage

blib/lib/Paws/ElasticBeanstalk/BuildConfiguration.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::ElasticBeanstalk::BuildConfiguration;
2 1     1   566 use Moose;
  1         3  
  1         7  
3             has ArtifactName => (is => 'ro', isa => 'Str');
4             has CodeBuildServiceRole => (is => 'ro', isa => 'Str', required => 1);
5             has ComputeType => (is => 'ro', isa => 'Str');
6             has Image => (is => 'ro', isa => 'Str', required => 1);
7             has TimeoutInMinutes => (is => 'ro', isa => 'Int');
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::ElasticBeanstalk::BuildConfiguration
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::ElasticBeanstalk::BuildConfiguration object:
26              
27             $service_obj->Method(Att1 => { ArtifactName => $value, ..., TimeoutInMinutes => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticBeanstalk::BuildConfiguration object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->ArtifactName
35              
36             =head1 DESCRIPTION
37              
38             Settings for an AWS CodeBuild build.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 ArtifactName => Str
44              
45             The name of the artifact of the CodeBuild build. If provided, Elastic
46             Beanstalk stores the build artifact in the S3 location
47             I<S3-bucket>/resources/I<application-name>/codebuild/codebuild-I<version-label>-I<artifact-name>.zip.
48             If not provided, Elastic Beanstalk stores the build artifact in the S3
49             location
50             I<S3-bucket>/resources/I<application-name>/codebuild/codebuild-I<version-label>.zip.
51              
52              
53             =head2 B<REQUIRED> CodeBuildServiceRole => Str
54              
55             The Amazon Resource Name (ARN) of the AWS Identity and Access
56             Management (IAM) role that enables AWS CodeBuild to interact with
57             dependent AWS services on behalf of the AWS account.
58              
59              
60             =head2 ComputeType => Str
61              
62             Information about the compute resources the build project will use.
63              
64             =over
65              
66             =item *
67              
68             C<BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds>
69              
70             =item *
71              
72             C<BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds>
73              
74             =item *
75              
76             C<BUILD_GENERAL1_LARGE: Use up to 15 GB memory and 8 vCPUs for builds>
77              
78             =back
79              
80              
81              
82             =head2 B<REQUIRED> Image => Str
83              
84             The ID of the Docker image to use for this build project.
85              
86              
87             =head2 TimeoutInMinutes => Int
88              
89             How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait
90             until timing out any related build that does not get marked as
91             completed. The default is 60 minutes.
92              
93              
94              
95             =head1 SEE ALSO
96              
97             This class forms part of L<Paws>, describing an object used in L<Paws::ElasticBeanstalk>
98              
99             =head1 BUGS and CONTRIBUTIONS
100              
101             The source code is located here: https://github.com/pplu/aws-sdk-perl
102              
103             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
104              
105             =cut
106