File Coverage

blib/lib/Cfn/Resource/AWS/Config/RemediationConfiguration.pm
Criterion Covered Total %
statement 44 44 100.0
branch n/a
condition n/a
subroutine 16 16 100.0
pod 0 2 0.0
total 60 62 96.7


line stmt bran cond sub pod time code
1             # AWS::Config::RemediationConfiguration generated from spec 18.4.0
2 1     1   776 use Moose::Util::TypeConstraints;
  1         3  
  1         13  
3              
4             coerce 'Cfn::Resource::Properties::AWS::Config::RemediationConfiguration',
5             from 'HashRef',
6             via { Cfn::Resource::Properties::AWS::Config::RemediationConfiguration->new( %$_ ) };
7              
8             package Cfn::Resource::AWS::Config::RemediationConfiguration {
9 1     1   2301 use Moose;
  1         2  
  1         10  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::Config::RemediationConfiguration', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 3 [ ]
15             }
16             sub supported_regions {
17 1     1 0 1113 [ 'ap-east-1','ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','eu-central-1','eu-north-1','eu-west-1','eu-west-2','eu-west-3','sa-east-1','us-east-1','us-east-2','us-gov-east-1','us-gov-west-1','us-west-1','us-west-2' ]
18             }
19             }
20              
21              
22              
23             subtype 'Cfn::Resource::Properties::AWS::Config::RemediationConfiguration::StaticValue',
24             as 'Cfn::Value';
25              
26             coerce 'Cfn::Resource::Properties::AWS::Config::RemediationConfiguration::StaticValue',
27             from 'HashRef',
28             via {
29             if (my $f = Cfn::TypeLibrary::try_function($_)) {
30             return $f
31             } else {
32             return Cfn::Resource::Properties::Object::AWS::Config::RemediationConfiguration::StaticValue->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::Object::AWS::Config::RemediationConfiguration::StaticValue {
37 1     1   7664 use Moose;
  1         4  
  1         7  
38 1     1   6745 use MooseX::StrictConstructor;
  1         5  
  1         11  
39             extends 'Cfn::Value::TypedValue';
40            
41             has Values => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42             }
43              
44             subtype 'Cfn::Resource::Properties::AWS::Config::RemediationConfiguration::SsmControls',
45             as 'Cfn::Value';
46              
47             coerce 'Cfn::Resource::Properties::AWS::Config::RemediationConfiguration::SsmControls',
48             from 'HashRef',
49             via {
50             if (my $f = Cfn::TypeLibrary::try_function($_)) {
51             return $f
52             } else {
53             return Cfn::Resource::Properties::Object::AWS::Config::RemediationConfiguration::SsmControls->new( %$_ );
54             }
55             };
56              
57             package Cfn::Resource::Properties::Object::AWS::Config::RemediationConfiguration::SsmControls {
58 1     1   3920 use Moose;
  1         3  
  1         7  
59 1     1   6860 use MooseX::StrictConstructor;
  1         3  
  1         5  
60             extends 'Cfn::Value::TypedValue';
61            
62             has ConcurrentExecutionRatePercentage => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
63             has ErrorPercentage => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64             }
65              
66             subtype 'Cfn::Resource::Properties::AWS::Config::RemediationConfiguration::ResourceValue',
67             as 'Cfn::Value';
68              
69             coerce 'Cfn::Resource::Properties::AWS::Config::RemediationConfiguration::ResourceValue',
70             from 'HashRef',
71             via {
72             if (my $f = Cfn::TypeLibrary::try_function($_)) {
73             return $f
74             } else {
75             return Cfn::Resource::Properties::Object::AWS::Config::RemediationConfiguration::ResourceValue->new( %$_ );
76             }
77             };
78              
79             package Cfn::Resource::Properties::Object::AWS::Config::RemediationConfiguration::ResourceValue {
80 1     1   3450 use Moose;
  1         2  
  1         7  
81 1     1   6744 use MooseX::StrictConstructor;
  1         5  
  1         6  
82             extends 'Cfn::Value::TypedValue';
83            
84             has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
85             }
86              
87             subtype 'Cfn::Resource::Properties::AWS::Config::RemediationConfiguration::RemediationParameterValue',
88             as 'Cfn::Value';
89              
90             coerce 'Cfn::Resource::Properties::AWS::Config::RemediationConfiguration::RemediationParameterValue',
91             from 'HashRef',
92             via {
93             if (my $f = Cfn::TypeLibrary::try_function($_)) {
94             return $f
95             } else {
96             return Cfn::Resource::Properties::Object::AWS::Config::RemediationConfiguration::RemediationParameterValue->new( %$_ );
97             }
98             };
99              
100             package Cfn::Resource::Properties::Object::AWS::Config::RemediationConfiguration::RemediationParameterValue {
101 1     1   3428 use Moose;
  1         3  
  1         9  
102 1     1   6726 use MooseX::StrictConstructor;
  1         5  
  1         5  
103             extends 'Cfn::Value::TypedValue';
104            
105             has ResourceValue => (isa => 'Cfn::Resource::Properties::AWS::Config::RemediationConfiguration::ResourceValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
106             has StaticValue => (isa => 'Cfn::Resource::Properties::AWS::Config::RemediationConfiguration::StaticValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
107             }
108              
109             subtype 'Cfn::Resource::Properties::AWS::Config::RemediationConfiguration::ExecutionControls',
110             as 'Cfn::Value';
111              
112             coerce 'Cfn::Resource::Properties::AWS::Config::RemediationConfiguration::ExecutionControls',
113             from 'HashRef',
114             via {
115             if (my $f = Cfn::TypeLibrary::try_function($_)) {
116             return $f
117             } else {
118             return Cfn::Resource::Properties::Object::AWS::Config::RemediationConfiguration::ExecutionControls->new( %$_ );
119             }
120             };
121              
122             package Cfn::Resource::Properties::Object::AWS::Config::RemediationConfiguration::ExecutionControls {
123 1     1   3477 use Moose;
  1         3  
  1         7  
124 1     1   6667 use MooseX::StrictConstructor;
  1         5  
  1         6  
125             extends 'Cfn::Value::TypedValue';
126            
127             has SsmControls => (isa => 'Cfn::Resource::Properties::AWS::Config::RemediationConfiguration::SsmControls', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
128             }
129              
130             package Cfn::Resource::Properties::AWS::Config::RemediationConfiguration {
131 1     1   3318 use Moose;
  1         3  
  1         5  
132 1     1   11394 use MooseX::StrictConstructor;
  1         4  
  1         7  
133             extends 'Cfn::Resource::Properties';
134            
135             has Automatic => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
136             has ConfigRuleName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
137             has ExecutionControls => (isa => 'Cfn::Resource::Properties::AWS::Config::RemediationConfiguration::ExecutionControls', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
138             has MaximumAutomaticAttempts => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
139             has Parameters => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
140             has ResourceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
141             has RetryAttemptSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
142             has TargetId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
143             has TargetType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
144             has TargetVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
145             }
146              
147             1;
148             ### main pod documentation begin ###
149              
150             =encoding UTF-8
151              
152             =head1 NAME
153              
154             Cfn::Resource::AWS::Config::RemediationConfiguration - Cfn resource for AWS::Config::RemediationConfiguration
155              
156             =head1 DESCRIPTION
157              
158             This module implements a Perl module that represents the CloudFormation object AWS::Config::RemediationConfiguration.
159              
160             See L<Cfn> for more information on how to use it.
161              
162             =head1 AUTHOR
163              
164             Jose Luis Martinez
165             CAPSiDE
166             jlmartinez@capside.com
167              
168             =head1 COPYRIGHT and LICENSE
169              
170             Copyright (c) 2013 by CAPSiDE
171             This code is distributed under the Apache 2 License. The full text of the
172             license can be found in the LICENSE file included with this module.
173              
174             =cut