File Coverage

blib/lib/Net/Amazon/EC2/DescribeInstanceAttributeResponse.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             package Net::Amazon::EC2::DescribeInstanceAttributeResponse;
2 2     2   1183 use Moose;
  2         3  
  2         14  
3              
4             =head1 NAME
5              
6             Net::Amazon::EC2::DescribeInstanceAttributeResponse
7              
8             =head1 DESCRIPTION
9              
10             A class representing an instance attribute.
11              
12             =head1 ATTRIBUTES
13              
14             =over
15              
16             =item instance_id (required)
17              
18             The instance id you you are describing the attributes of.
19              
20             =item block_device_mapping (optional)
21              
22             Specifies how block devices are exposed to the instance. Each mapping is made up
23             of a virtual_name and a device_name. This should be a Net::Amazon::EC2::BlockDeviceMapping
24             object.
25              
26             =item disable_api_termination (optional)
27              
28             Specifies whether the instance can be terminated. You must modify this attribute
29             before you can terminate any "locked" instances.
30              
31             =item ebsOptimized (optional)
32              
33             Specifies whether the instance is optimized for EBS.
34              
35             =item instance_initiated_shutdown_behavior (optional)
36              
37             Specifies whether the instance's Amazon EBS volumes are deleted when the instance
38             is shut down.
39              
40             =item instance_type (optional)
41              
42             The instance type (e.g., m1.small, t2.medium, m3.xlarge, and so on).
43              
44             =item kernel (optional)
45              
46             The kernel ID.
47              
48             =item ramdisk (optional)
49              
50             The RAM disk ID.
51              
52             =item root_device_name (optional)
53              
54             The root device name (e.g., /dev/sda1).
55              
56             =item source_dest_check (optional)
57              
58             Source and destination checking for incoming traffic
59              
60             =item user_data (optional)
61              
62             MIME, Base64-encoded user data.
63              
64             =back
65              
66             =cut
67              
68             has 'instance_id' => ( is => 'ro', isa => 'Str', required => 1 );
69             has 'disable_api_termination' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
70             has 'ebs_optimized' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
71             has 'instance_initiated_shutdown_behavior' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
72             has 'instance_type' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
73             has 'kernel' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
74             has 'ramdisk' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
75             has 'root_device_name' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
76             has 'source_dest_check' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
77             has 'user_data' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
78             has 'block_device_mapping' => (
79             is => 'ro',
80             isa => 'Maybe[ArrayRef[Net::Amazon::EC2::BlockDeviceMapping]]',
81             required => 0,
82             );
83              
84             __PACKAGE__->meta->make_immutable();
85              
86             =head1 AUTHOR
87              
88             Jeff Kim <cpan@chosec.com>
89              
90             =head1 COPYRIGHT
91              
92             Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it
93             under the same terms as Perl itself.
94              
95             =cut
96              
97 2     2   10438 no Moose;
  2         3  
  2         9  
98             1;