blib/lib/Paws/ImageBuilder/ImageRecipe.pm untested

filter: Statementstmt 0.0% 0 / 31 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 32 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ImageBuilder::ImageRecipe;
3 use Moose;
4 has AdditionalInstanceConfiguration => (is => 'ro', isa => 'Paws::ImageBuilder::AdditionalInstanceConfiguration', request_name => 'additionalInstanceConfiguration', traits => ['NameInRequest']);
5 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
6 has BlockDeviceMappings => (is => 'ro', isa => 'ArrayRef[Paws::ImageBuilder::InstanceBlockDeviceMapping]', request_name => 'blockDeviceMappings', traits => ['NameInRequest']);
7 has Components => (is => 'ro', isa => 'ArrayRef[Paws::ImageBuilder::ComponentConfiguration]', request_name => 'components', traits => ['NameInRequest']);
8 has DateCreated => (is => 'ro', isa => 'Str', request_name => 'dateCreated', traits => ['NameInRequest']);
9 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
10 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
11 has Owner => (is => 'ro', isa => 'Str', request_name => 'owner', traits => ['NameInRequest']);
12 has ParentImage => (is => 'ro', isa => 'Str', request_name => 'parentImage', traits => ['NameInRequest']);
13 has Platform => (is => 'ro', isa => 'Str', request_name => 'platform', traits => ['NameInRequest']);
14 has Tags => (is => 'ro', isa => 'Paws::ImageBuilder::TagMap', request_name => 'tags', traits => ['NameInRequest']);
15 has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
16 has Version => (is => 'ro', isa => 'Str', request_name => 'version', traits => ['NameInRequest']);
17 has WorkingDirectory => (is => 'ro', isa => 'Str', request_name => 'workingDirectory', traits => ['NameInRequest']);
18  
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::ImageBuilder::ImageRecipe
26  
27 =head1 USAGE
28  
29 This class represents one of two things:
30  
31 =head3 Arguments in a call to a service
32  
33 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
34 Each attribute should be used as a named argument in the calls that expect this type of object.
35  
36 As an example, if Att1 is expected to be a Paws::ImageBuilder::ImageRecipe object:
37  
38 $service_obj->Method(Att1 => { AdditionalInstanceConfiguration => $value, ..., WorkingDirectory => $value });
39  
40 =head3 Results returned from an API call
41  
42 Use accessors for each attribute. If Att1 is expected to be an Paws::ImageBuilder::ImageRecipe object:
43  
44 $result = $service_obj->Method(...);
45 $result->Att1->AdditionalInstanceConfiguration
46  
47 =head1 DESCRIPTION
48  
49 An image recipe.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 AdditionalInstanceConfiguration => L<Paws::ImageBuilder::AdditionalInstanceConfiguration>
55  
56 Before you create a new AMI, Image Builder launches temporary Amazon
57 EC2 instances to build and test your image configuration. Instance
58 configuration adds a layer of control over those instances. You can
59 define settings and add scripts to run when an instance is launched
60 from your AMI.
61  
62  
63 =head2 Arn => Str
64  
65 The Amazon Resource Name (ARN) of the image recipe.
66  
67  
68 =head2 BlockDeviceMappings => ArrayRef[L<Paws::ImageBuilder::InstanceBlockDeviceMapping>]
69  
70 The block device mappings to apply when creating images from this
71 recipe.
72  
73  
74 =head2 Components => ArrayRef[L<Paws::ImageBuilder::ComponentConfiguration>]
75  
76 The components of the image recipe.
77  
78  
79 =head2 DateCreated => Str
80  
81 The date on which this image recipe was created.
82  
83  
84 =head2 Description => Str
85  
86 The description of the image recipe.
87  
88  
89 =head2 Name => Str
90  
91 The name of the image recipe.
92  
93  
94 =head2 Owner => Str
95  
96 The owner of the image recipe.
97  
98  
99 =head2 ParentImage => Str
100  
101 The parent image of the image recipe.
102  
103  
104 =head2 Platform => Str
105  
106 The platform of the image recipe.
107  
108  
109 =head2 Tags => L<Paws::ImageBuilder::TagMap>
110  
111 The tags of the image recipe.
112  
113  
114 =head2 Type => Str
115  
116 Specifies which type of image is created by the recipe - an AMI or a
117 container image.
118  
119  
120 =head2 Version => Str
121  
122 The version of the image recipe.
123  
124  
125 =head2 WorkingDirectory => Str
126  
127 The working directory to be used during build and test workflows.
128  
129  
130  
131 =head1 SEE ALSO
132  
133 This class forms part of L<Paws>, describing an object used in L<Paws::ImageBuilder>
134  
135 =head1 BUGS and CONTRIBUTIONS
136  
137 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
138  
139 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
140  
141 =cut
142