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