| 1 | # AWS::SSM::MaintenanceWindowTask generated from spec 18.4.0 | ||||||||||
| 2 | 1 | ▶ | use Moose::Util::TypeConstraints; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | coerce 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 0 | ▶ | via { Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | package Cfn::Resource::AWS::SSM::MaintenanceWindowTask { | |||||||||
| 9 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | 1 | extends 'Cfn::Resource'; | |||||||||
| 11 | 1 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask', is => 'rw', coerce => 1); | |||||||||
| 12 | |||||||||||
| 13 | sub AttributeList { | ||||||||||
| 14 | 1 | ▶ | [ ] | ||||||||
|
Subroutine
AttributeList: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 15 | } | ||||||||||
| 16 | sub supported_regions { | ||||||||||
| 17 | 1 | ▶ | [ 'ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-north-1','eu-central-1','eu-west-1','eu-west-2','eu-west-3','sa-east-1','us-east-1','us-east-2','us-west-1','us-west-2' ] | ||||||||
|
Subroutine
supported_regions: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 18 | } | ||||||||||
| 19 | } | ||||||||||
| 20 | |||||||||||
| 21 | |||||||||||
| 22 | |||||||||||
| 23 | 1 | subtype 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::NotificationConfig', | |||||||||
| 24 | as 'Cfn::Value'; | ||||||||||
| 25 | |||||||||||
| 26 | coerce 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::NotificationConfig', | ||||||||||
| 27 | from 'HashRef', | ||||||||||
| 28 | via { | ||||||||||
| 29 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 30 | 0 | return $f | |||||||||
| 31 | } else { | ||||||||||
| 32 | 0 | return Cfn::Resource::Properties::Object::AWS::SSM::MaintenanceWindowTask::NotificationConfig->new( %$_ ); | |||||||||
| 33 | } | ||||||||||
| 34 | 1 | }; | |||||||||
| 35 | |||||||||||
| 36 | 1 | package Cfn::Resource::Properties::Object::AWS::SSM::MaintenanceWindowTask::NotificationConfig { | |||||||||
| 37 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 38 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 39 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 40 | |||||||||||
| 41 | 1 | has NotificationArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 42 | 1 | has NotificationEvents => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 43 | 1 | has NotificationType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 44 | } | ||||||||||
| 45 | |||||||||||
| 46 | 1 | subtype 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowStepFunctionsParameters', | |||||||||
| 47 | as 'Cfn::Value'; | ||||||||||
| 48 | |||||||||||
| 49 | coerce 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowStepFunctionsParameters', | ||||||||||
| 50 | from 'HashRef', | ||||||||||
| 51 | via { | ||||||||||
| 52 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 53 | 0 | return $f | |||||||||
| 54 | } else { | ||||||||||
| 55 | 0 | return Cfn::Resource::Properties::Object::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowStepFunctionsParameters->new( %$_ ); | |||||||||
| 56 | } | ||||||||||
| 57 | 1 | }; | |||||||||
| 58 | |||||||||||
| 59 | 1 | package Cfn::Resource::Properties::Object::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowStepFunctionsParameters { | |||||||||
| 60 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 61 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 62 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 63 | |||||||||||
| 64 | 1 | has Input => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 65 | 1 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 66 | } | ||||||||||
| 67 | |||||||||||
| 68 | 1 | subtype 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowRunCommandParameters', | |||||||||
| 69 | as 'Cfn::Value'; | ||||||||||
| 70 | |||||||||||
| 71 | coerce 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowRunCommandParameters', | ||||||||||
| 72 | from 'HashRef', | ||||||||||
| 73 | via { | ||||||||||
| 74 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 75 | 0 | return $f | |||||||||
| 76 | } else { | ||||||||||
| 77 | 0 | return Cfn::Resource::Properties::Object::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowRunCommandParameters->new( %$_ ); | |||||||||
| 78 | } | ||||||||||
| 79 | 1 | }; | |||||||||
| 80 | |||||||||||
| 81 | 1 | package Cfn::Resource::Properties::Object::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowRunCommandParameters { | |||||||||
| 82 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 83 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 84 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 85 | |||||||||||
| 86 | 1 | has Comment => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 87 | 1 | has DocumentHash => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 88 | 1 | has DocumentHashType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 89 | 1 | has NotificationConfig => (isa => 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::NotificationConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 90 | 1 | has OutputS3BucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 91 | 1 | has OutputS3KeyPrefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 92 | 1 | has Parameters => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 93 | 1 | has ServiceRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 94 | 1 | has TimeoutSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 95 | } | ||||||||||
| 96 | |||||||||||
| 97 | 1 | subtype 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowLambdaParameters', | |||||||||
| 98 | as 'Cfn::Value'; | ||||||||||
| 99 | |||||||||||
| 100 | coerce 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowLambdaParameters', | ||||||||||
| 101 | from 'HashRef', | ||||||||||
| 102 | via { | ||||||||||
| 103 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 104 | 0 | return $f | |||||||||
| 105 | } else { | ||||||||||
| 106 | 0 | return Cfn::Resource::Properties::Object::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowLambdaParameters->new( %$_ ); | |||||||||
| 107 | } | ||||||||||
| 108 | 1 | }; | |||||||||
| 109 | |||||||||||
| 110 | 1 | package Cfn::Resource::Properties::Object::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowLambdaParameters { | |||||||||
| 111 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 112 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 113 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 114 | |||||||||||
| 115 | 1 | has ClientContext => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 116 | 1 | has Payload => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 117 | 1 | has Qualifier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 118 | } | ||||||||||
| 119 | |||||||||||
| 120 | 1 | subtype 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowAutomationParameters', | |||||||||
| 121 | as 'Cfn::Value'; | ||||||||||
| 122 | |||||||||||
| 123 | coerce 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowAutomationParameters', | ||||||||||
| 124 | from 'HashRef', | ||||||||||
| 125 | via { | ||||||||||
| 126 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 127 | 0 | return $f | |||||||||
| 128 | } else { | ||||||||||
| 129 | 0 | return Cfn::Resource::Properties::Object::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowAutomationParameters->new( %$_ ); | |||||||||
| 130 | } | ||||||||||
| 131 | 1 | }; | |||||||||
| 132 | |||||||||||
| 133 | 1 | package Cfn::Resource::Properties::Object::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowAutomationParameters { | |||||||||
| 134 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 135 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 136 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 137 | |||||||||||
| 138 | 1 | has DocumentVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 139 | 1 | has Parameters => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 140 | } | ||||||||||
| 141 | |||||||||||
| 142 | 1 | subtype 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::TaskInvocationParameters', | |||||||||
| 143 | as 'Cfn::Value'; | ||||||||||
| 144 | |||||||||||
| 145 | coerce 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::TaskInvocationParameters', | ||||||||||
| 146 | from 'HashRef', | ||||||||||
| 147 | via { | ||||||||||
| 148 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 149 | 0 | return $f | |||||||||
| 150 | } else { | ||||||||||
| 151 | 0 | return Cfn::Resource::Properties::Object::AWS::SSM::MaintenanceWindowTask::TaskInvocationParameters->new( %$_ ); | |||||||||
| 152 | } | ||||||||||
| 153 | 1 | }; | |||||||||
| 154 | |||||||||||
| 155 | 1 | package Cfn::Resource::Properties::Object::AWS::SSM::MaintenanceWindowTask::TaskInvocationParameters { | |||||||||
| 156 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 157 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 158 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 159 | |||||||||||
| 160 | 1 | has MaintenanceWindowAutomationParameters => (isa => 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowAutomationParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 161 | 1 | has MaintenanceWindowLambdaParameters => (isa => 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowLambdaParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 162 | 1 | has MaintenanceWindowRunCommandParameters => (isa => 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowRunCommandParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 163 | 1 | has MaintenanceWindowStepFunctionsParameters => (isa => 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::MaintenanceWindowStepFunctionsParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 164 | } | ||||||||||
| 165 | subtype 'ArrayOfCfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::Target', | ||||||||||
| 166 | as 'Cfn::Value', | ||||||||||
| 167 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 168 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 169 | |||||||||||
| 170 | coerce 'ArrayOfCfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::Target', | ||||||||||
| 171 | from 'HashRef', | ||||||||||
| 172 | via { | ||||||||||
| 173 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 174 | 0 | return $f | |||||||||
| 175 | } else { | ||||||||||
| 176 | 0 | die 'Only accepts functions'; | |||||||||
| 177 | } | ||||||||||
| 178 | }, | ||||||||||
| 179 | from 'ArrayRef', | ||||||||||
| 180 | via { | ||||||||||
| 181 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 182 | map { | ||||||||||
| 183 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::Target')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 184 | } @$_ | ||||||||||
| 185 | ]); | ||||||||||
| 186 | 1 | }; | |||||||||
| 187 | |||||||||||
| 188 | 1 | subtype 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::Target', | |||||||||
| 189 | as 'Cfn::Value'; | ||||||||||
| 190 | |||||||||||
| 191 | coerce 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::Target', | ||||||||||
| 192 | from 'HashRef', | ||||||||||
| 193 | via { | ||||||||||
| 194 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 195 | 0 | return $f | |||||||||
| 196 | } else { | ||||||||||
| 197 | 0 | return Cfn::Resource::Properties::Object::AWS::SSM::MaintenanceWindowTask::Target->new( %$_ ); | |||||||||
| 198 | } | ||||||||||
| 199 | 1 | }; | |||||||||
| 200 | |||||||||||
| 201 | 1 | package Cfn::Resource::Properties::Object::AWS::SSM::MaintenanceWindowTask::Target { | |||||||||
| 202 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 203 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 204 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 205 | |||||||||||
| 206 | 1 | has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 207 | 1 | has Values => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 208 | } | ||||||||||
| 209 | |||||||||||
| 210 | 1 | subtype 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::LoggingInfo', | |||||||||
| 211 | as 'Cfn::Value'; | ||||||||||
| 212 | |||||||||||
| 213 | coerce 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::LoggingInfo', | ||||||||||
| 214 | from 'HashRef', | ||||||||||
| 215 | via { | ||||||||||
| 216 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 217 | 0 | return $f | |||||||||
| 218 | } else { | ||||||||||
| 219 | 0 | return Cfn::Resource::Properties::Object::AWS::SSM::MaintenanceWindowTask::LoggingInfo->new( %$_ ); | |||||||||
| 220 | } | ||||||||||
| 221 | 1 | }; | |||||||||
| 222 | |||||||||||
| 223 | 1 | package Cfn::Resource::Properties::Object::AWS::SSM::MaintenanceWindowTask::LoggingInfo { | |||||||||
| 224 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 225 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 226 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 227 | |||||||||||
| 228 | 1 | has Region => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 229 | 1 | has S3Bucket => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 230 | 1 | has S3Prefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 231 | } | ||||||||||
| 232 | |||||||||||
| 233 | 1 | package Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask { | |||||||||
| 234 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 235 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 236 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 237 | |||||||||||
| 238 | 1 | has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 239 | 1 | has LoggingInfo => (isa => 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::LoggingInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 240 | 1 | has MaxConcurrency => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 241 | 1 | has MaxErrors => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 242 | 1 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 243 | 1 | has Priority => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 244 | 1 | has ServiceRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 245 | 1 | has Targets => (isa => 'ArrayOfCfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::Target', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 246 | 1 | has TaskArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 247 | 1 | has TaskInvocationParameters => (isa => 'Cfn::Resource::Properties::AWS::SSM::MaintenanceWindowTask::TaskInvocationParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 248 | 1 | has TaskParameters => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 249 | 1 | has TaskType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 250 | 1 | has WindowId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 251 | } | ||||||||||
| 252 | |||||||||||
| 253 | 1 | 1; | |||||||||
| 254 | ### main pod documentation begin ### | ||||||||||
| 255 | |||||||||||
| 256 | =encoding UTF-8 | ||||||||||
| 257 | |||||||||||
| 258 | =head1 NAME | ||||||||||
| 259 | |||||||||||
| 260 | Cfn::Resource::AWS::SSM::MaintenanceWindowTask - Cfn resource for AWS::SSM::MaintenanceWindowTask | ||||||||||
| 261 | |||||||||||
| 262 | =head1 DESCRIPTION | ||||||||||
| 263 | |||||||||||
| 264 | This module implements a Perl module that represents the CloudFormation object AWS::SSM::MaintenanceWindowTask. | ||||||||||
| 265 | |||||||||||
| 266 | See L<Cfn> for more information on how to use it. | ||||||||||
| 267 | |||||||||||
| 268 | =head1 AUTHOR | ||||||||||
| 269 | |||||||||||
| 270 | Jose Luis Martinez | ||||||||||
| 271 | CAPSiDE | ||||||||||
| 272 | jlmartinez@capside.com | ||||||||||
| 273 | |||||||||||
| 274 | =head1 COPYRIGHT and LICENSE | ||||||||||
| 275 | |||||||||||
| 276 | Copyright (c) 2013 by CAPSiDE | ||||||||||
| 277 | This code is distributed under the Apache 2 License. The full text of the | ||||||||||
| 278 | license can be found in the LICENSE file included with this module. | ||||||||||
| 279 | |||||||||||
| 280 | =cut | ||||||||||