« Cfn/Resource/AWS/StepFunctions/StateMachine.pm
↑ Summary
Cfn/Resource/AWS/EC2/ClientVpnEndpoint.pm »
| 1 | # AWS::Greengrass::FunctionDefinition 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::Greengrass::FunctionDefinition', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 0 | ▶ | via { Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | package Cfn::Resource::AWS::Greengrass::FunctionDefinition { | |||||||||
| 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::Greengrass::FunctionDefinition', is => 'rw', coerce => 1); | |||||||||
| 12 | |||||||||||
| 13 | sub AttributeList { | ||||||||||
| 14 | 1 | ▶ | [ 'Arn','Id','LatestVersionArn','Name' ] | ||||||||
|
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','cn-north-1','eu-central-1','eu-west-1','eu-west-2','us-east-1','us-east-2','us-gov-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::Greengrass::FunctionDefinition::RunAs', | |||||||||
| 24 | as 'Cfn::Value'; | ||||||||||
| 25 | |||||||||||
| 26 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::RunAs', | ||||||||||
| 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::Greengrass::FunctionDefinition::RunAs->new( %$_ ); | |||||||||
| 33 | } | ||||||||||
| 34 | 1 | }; | |||||||||
| 35 | |||||||||||
| 36 | 1 | package Cfn::Resource::Properties::Object::AWS::Greengrass::FunctionDefinition::RunAs { | |||||||||
| 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 Gid => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 42 | 1 | has Uid => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 43 | } | ||||||||||
| 44 | subtype 'ArrayOfCfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::ResourceAccessPolicy', | ||||||||||
| 45 | as 'Cfn::Value', | ||||||||||
| 46 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 47 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 48 | |||||||||||
| 49 | coerce 'ArrayOfCfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::ResourceAccessPolicy', | ||||||||||
| 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 | die 'Only accepts functions'; | |||||||||
| 56 | } | ||||||||||
| 57 | }, | ||||||||||
| 58 | from 'ArrayRef', | ||||||||||
| 59 | via { | ||||||||||
| 60 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 61 | map { | ||||||||||
| 62 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::ResourceAccessPolicy')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 63 | } @$_ | ||||||||||
| 64 | ]); | ||||||||||
| 65 | 1 | }; | |||||||||
| 66 | |||||||||||
| 67 | 1 | subtype 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::ResourceAccessPolicy', | |||||||||
| 68 | as 'Cfn::Value'; | ||||||||||
| 69 | |||||||||||
| 70 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::ResourceAccessPolicy', | ||||||||||
| 71 | from 'HashRef', | ||||||||||
| 72 | via { | ||||||||||
| 73 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 74 | 0 | return $f | |||||||||
| 75 | } else { | ||||||||||
| 76 | 0 | return Cfn::Resource::Properties::Object::AWS::Greengrass::FunctionDefinition::ResourceAccessPolicy->new( %$_ ); | |||||||||
| 77 | } | ||||||||||
| 78 | 1 | }; | |||||||||
| 79 | |||||||||||
| 80 | 1 | package Cfn::Resource::Properties::Object::AWS::Greengrass::FunctionDefinition::ResourceAccessPolicy { | |||||||||
| 81 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 82 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 83 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 84 | |||||||||||
| 85 | 1 | has Permission => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 86 | 1 | has ResourceId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 87 | } | ||||||||||
| 88 | |||||||||||
| 89 | 1 | subtype 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::Execution', | |||||||||
| 90 | as 'Cfn::Value'; | ||||||||||
| 91 | |||||||||||
| 92 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::Execution', | ||||||||||
| 93 | from 'HashRef', | ||||||||||
| 94 | via { | ||||||||||
| 95 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 96 | 0 | return $f | |||||||||
| 97 | } else { | ||||||||||
| 98 | 0 | return Cfn::Resource::Properties::Object::AWS::Greengrass::FunctionDefinition::Execution->new( %$_ ); | |||||||||
| 99 | } | ||||||||||
| 100 | 1 | }; | |||||||||
| 101 | |||||||||||
| 102 | 1 | package Cfn::Resource::Properties::Object::AWS::Greengrass::FunctionDefinition::Execution { | |||||||||
| 103 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 104 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 105 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 106 | |||||||||||
| 107 | 1 | has IsolationMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 108 | 1 | has RunAs => (isa => 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::RunAs', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 109 | } | ||||||||||
| 110 | |||||||||||
| 111 | 1 | subtype 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::Environment', | |||||||||
| 112 | as 'Cfn::Value'; | ||||||||||
| 113 | |||||||||||
| 114 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::Environment', | ||||||||||
| 115 | from 'HashRef', | ||||||||||
| 116 | via { | ||||||||||
| 117 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 118 | 0 | return $f | |||||||||
| 119 | } else { | ||||||||||
| 120 | 0 | return Cfn::Resource::Properties::Object::AWS::Greengrass::FunctionDefinition::Environment->new( %$_ ); | |||||||||
| 121 | } | ||||||||||
| 122 | 1 | }; | |||||||||
| 123 | |||||||||||
| 124 | 1 | package Cfn::Resource::Properties::Object::AWS::Greengrass::FunctionDefinition::Environment { | |||||||||
| 125 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 126 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 127 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 128 | |||||||||||
| 129 | 1 | has AccessSysfs => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 130 | 1 | has Execution => (isa => 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::Execution', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 131 | 1 | has ResourceAccessPolicies => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::ResourceAccessPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 132 | 1 | has Variables => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 133 | } | ||||||||||
| 134 | |||||||||||
| 135 | 1 | subtype 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::FunctionConfiguration', | |||||||||
| 136 | as 'Cfn::Value'; | ||||||||||
| 137 | |||||||||||
| 138 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::FunctionConfiguration', | ||||||||||
| 139 | from 'HashRef', | ||||||||||
| 140 | via { | ||||||||||
| 141 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 142 | 0 | return $f | |||||||||
| 143 | } else { | ||||||||||
| 144 | 0 | return Cfn::Resource::Properties::Object::AWS::Greengrass::FunctionDefinition::FunctionConfiguration->new( %$_ ); | |||||||||
| 145 | } | ||||||||||
| 146 | 1 | }; | |||||||||
| 147 | |||||||||||
| 148 | 1 | package Cfn::Resource::Properties::Object::AWS::Greengrass::FunctionDefinition::FunctionConfiguration { | |||||||||
| 149 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 150 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 151 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 152 | |||||||||||
| 153 | 1 | has EncodingType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 154 | 1 | has Environment => (isa => 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::Environment', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 155 | 1 | has ExecArgs => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 156 | 1 | has Executable => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 157 | 1 | has MemorySize => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 158 | 1 | has Pinned => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 159 | 1 | has Timeout => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 160 | } | ||||||||||
| 161 | subtype 'ArrayOfCfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::Function', | ||||||||||
| 162 | as 'Cfn::Value', | ||||||||||
| 163 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 164 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 165 | |||||||||||
| 166 | coerce 'ArrayOfCfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::Function', | ||||||||||
| 167 | from 'HashRef', | ||||||||||
| 168 | via { | ||||||||||
| 169 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 170 | 0 | return $f | |||||||||
| 171 | } else { | ||||||||||
| 172 | 0 | die 'Only accepts functions'; | |||||||||
| 173 | } | ||||||||||
| 174 | }, | ||||||||||
| 175 | from 'ArrayRef', | ||||||||||
| 176 | via { | ||||||||||
| 177 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 178 | map { | ||||||||||
| 179 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::Function')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 180 | } @$_ | ||||||||||
| 181 | ]); | ||||||||||
| 182 | 1 | }; | |||||||||
| 183 | |||||||||||
| 184 | 1 | subtype 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::Function', | |||||||||
| 185 | as 'Cfn::Value'; | ||||||||||
| 186 | |||||||||||
| 187 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::Function', | ||||||||||
| 188 | from 'HashRef', | ||||||||||
| 189 | via { | ||||||||||
| 190 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 191 | 0 | return $f | |||||||||
| 192 | } else { | ||||||||||
| 193 | 0 | return Cfn::Resource::Properties::Object::AWS::Greengrass::FunctionDefinition::Function->new( %$_ ); | |||||||||
| 194 | } | ||||||||||
| 195 | 1 | }; | |||||||||
| 196 | |||||||||||
| 197 | 1 | package Cfn::Resource::Properties::Object::AWS::Greengrass::FunctionDefinition::Function { | |||||||||
| 198 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 199 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 200 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 201 | |||||||||||
| 202 | 1 | has FunctionArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 203 | 1 | has FunctionConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::FunctionConfiguration', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 204 | 1 | has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 205 | } | ||||||||||
| 206 | |||||||||||
| 207 | 1 | subtype 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::DefaultConfig', | |||||||||
| 208 | as 'Cfn::Value'; | ||||||||||
| 209 | |||||||||||
| 210 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::DefaultConfig', | ||||||||||
| 211 | from 'HashRef', | ||||||||||
| 212 | via { | ||||||||||
| 213 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 214 | 0 | return $f | |||||||||
| 215 | } else { | ||||||||||
| 216 | 0 | return Cfn::Resource::Properties::Object::AWS::Greengrass::FunctionDefinition::DefaultConfig->new( %$_ ); | |||||||||
| 217 | } | ||||||||||
| 218 | 1 | }; | |||||||||
| 219 | |||||||||||
| 220 | 1 | package Cfn::Resource::Properties::Object::AWS::Greengrass::FunctionDefinition::DefaultConfig { | |||||||||
| 221 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 222 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 223 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 224 | |||||||||||
| 225 | 1 | has Execution => (isa => 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::Execution', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 226 | } | ||||||||||
| 227 | |||||||||||
| 228 | 1 | subtype 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::FunctionDefinitionVersion', | |||||||||
| 229 | as 'Cfn::Value'; | ||||||||||
| 230 | |||||||||||
| 231 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::FunctionDefinitionVersion', | ||||||||||
| 232 | from 'HashRef', | ||||||||||
| 233 | via { | ||||||||||
| 234 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 235 | 0 | return $f | |||||||||
| 236 | } else { | ||||||||||
| 237 | 0 | return Cfn::Resource::Properties::Object::AWS::Greengrass::FunctionDefinition::FunctionDefinitionVersion->new( %$_ ); | |||||||||
| 238 | } | ||||||||||
| 239 | 1 | }; | |||||||||
| 240 | |||||||||||
| 241 | 1 | package Cfn::Resource::Properties::Object::AWS::Greengrass::FunctionDefinition::FunctionDefinitionVersion { | |||||||||
| 242 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 243 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 244 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 245 | |||||||||||
| 246 | 1 | has DefaultConfig => (isa => 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::DefaultConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 247 | 1 | has Functions => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::Function', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 248 | } | ||||||||||
| 249 | |||||||||||
| 250 | 1 | package Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition { | |||||||||
| 251 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 252 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 253 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 254 | |||||||||||
| 255 | 1 | has InitialVersion => (isa => 'Cfn::Resource::Properties::AWS::Greengrass::FunctionDefinition::FunctionDefinitionVersion', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 256 | 1 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 257 | 1 | has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 258 | } | ||||||||||
| 259 | |||||||||||
| 260 | 1 | 1; | |||||||||
| 261 | ### main pod documentation begin ### | ||||||||||
| 262 | |||||||||||
| 263 | =encoding UTF-8 | ||||||||||
| 264 | |||||||||||
| 265 | =head1 NAME | ||||||||||
| 266 | |||||||||||
| 267 | Cfn::Resource::AWS::Greengrass::FunctionDefinition - Cfn resource for AWS::Greengrass::FunctionDefinition | ||||||||||
| 268 | |||||||||||
| 269 | =head1 DESCRIPTION | ||||||||||
| 270 | |||||||||||
| 271 | This module implements a Perl module that represents the CloudFormation object AWS::Greengrass::FunctionDefinition. | ||||||||||
| 272 | |||||||||||
| 273 | See L<Cfn> for more information on how to use it. | ||||||||||
| 274 | |||||||||||
| 275 | =head1 AUTHOR | ||||||||||
| 276 | |||||||||||
| 277 | Jose Luis Martinez | ||||||||||
| 278 | CAPSiDE | ||||||||||
| 279 | jlmartinez@capside.com | ||||||||||
| 280 | |||||||||||
| 281 | =head1 COPYRIGHT and LICENSE | ||||||||||
| 282 | |||||||||||
| 283 | Copyright (c) 2013 by CAPSiDE | ||||||||||
| 284 | This code is distributed under the Apache 2 License. The full text of the | ||||||||||
| 285 | license can be found in the LICENSE file included with this module. | ||||||||||
| 286 | |||||||||||
| 287 | =cut | ||||||||||