File Coverage

blib/lib/Paws/CloudFormation/StackResource.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::CloudFormation::StackResource;
2 1     1   356 use Moose;
  1         3  
  1         6  
3             has Description => (is => 'ro', isa => 'Str');
4             has LogicalResourceId => (is => 'ro', isa => 'Str', required => 1);
5             has PhysicalResourceId => (is => 'ro', isa => 'Str');
6             has ResourceStatus => (is => 'ro', isa => 'Str', required => 1);
7             has ResourceStatusReason => (is => 'ro', isa => 'Str');
8             has ResourceType => (is => 'ro', isa => 'Str', required => 1);
9             has StackId => (is => 'ro', isa => 'Str');
10             has StackName => (is => 'ro', isa => 'Str');
11             has Timestamp => (is => 'ro', isa => 'Str', required => 1);
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::CloudFormation::StackResource
19              
20             =head1 USAGE
21              
22             This class represents one of two things:
23              
24             =head3 Arguments in a call to a service
25              
26             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27             Each attribute should be used as a named argument in the calls that expect this type of object.
28              
29             As an example, if Att1 is expected to be a Paws::CloudFormation::StackResource object:
30              
31             $service_obj->Method(Att1 => { Description => $value, ..., Timestamp => $value });
32              
33             =head3 Results returned from an API call
34              
35             Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFormation::StackResource object:
36              
37             $result = $service_obj->Method(...);
38             $result->Att1->Description
39              
40             =head1 DESCRIPTION
41              
42             The StackResource data type.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 Description => Str
48              
49             User defined description associated with the resource.
50              
51              
52             =head2 B<REQUIRED> LogicalResourceId => Str
53              
54             The logical name of the resource specified in the template.
55              
56              
57             =head2 PhysicalResourceId => Str
58              
59             The name or unique identifier that corresponds to a physical instance
60             ID of a resource supported by AWS CloudFormation.
61              
62              
63             =head2 B<REQUIRED> ResourceStatus => Str
64              
65             Current status of the resource.
66              
67              
68             =head2 ResourceStatusReason => Str
69              
70             Success/failure message associated with the resource.
71              
72              
73             =head2 B<REQUIRED> ResourceType => Str
74              
75             Type of resource. (For more information, go to AWS Resource Types
76             Reference in the AWS CloudFormation User Guide.)
77              
78              
79             =head2 StackId => Str
80              
81             Unique identifier of the stack.
82              
83              
84             =head2 StackName => Str
85              
86             The name associated with the stack.
87              
88              
89             =head2 B<REQUIRED> Timestamp => Str
90              
91             Time the status was updated.
92              
93              
94              
95             =head1 SEE ALSO
96              
97             This class forms part of L<Paws>, describing an object used in L<Paws::CloudFormation>
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