| 1 | # AWS::Greengrass::ResourceDefinition generated from spec 6.3.0 | ||||||||||
| 2 | 1 | ▶ | use Moose::Util::TypeConstraints; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 0 | ▶ | via { Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | package Cfn::Resource::AWS::Greengrass::ResourceDefinition { | |||||||||
| 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::ResourceDefinition', 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::ResourceDefinition::GroupOwnerSetting', | |||||||||
| 24 | as 'Cfn::Value'; | ||||||||||
| 25 | |||||||||||
| 26 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::GroupOwnerSetting', | ||||||||||
| 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::AWS::Greengrass::ResourceDefinition::GroupOwnerSettingValue->new( %$_ ); | |||||||||
| 33 | } | ||||||||||
| 34 | 1 | }; | |||||||||
| 35 | |||||||||||
| 36 | 1 | package Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::GroupOwnerSettingValue { | |||||||||
| 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 AutoAddGroupOwner => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 42 | 1 | has GroupOwner => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 43 | } | ||||||||||
| 44 | |||||||||||
| 45 | 1 | subtype 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::SecretsManagerSecretResourceData', | |||||||||
| 46 | as 'Cfn::Value'; | ||||||||||
| 47 | |||||||||||
| 48 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::SecretsManagerSecretResourceData', | ||||||||||
| 49 | from 'HashRef', | ||||||||||
| 50 | via { | ||||||||||
| 51 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 52 | 0 | return $f | |||||||||
| 53 | } else { | ||||||||||
| 54 | 0 | return Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::SecretsManagerSecretResourceDataValue->new( %$_ ); | |||||||||
| 55 | } | ||||||||||
| 56 | 1 | }; | |||||||||
| 57 | |||||||||||
| 58 | 1 | package Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::SecretsManagerSecretResourceDataValue { | |||||||||
| 59 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 60 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 61 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 62 | |||||||||||
| 63 | 1 | has AdditionalStagingLabelsToDownload => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 64 | 1 | has ARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 65 | } | ||||||||||
| 66 | |||||||||||
| 67 | 1 | subtype 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::SageMakerMachineLearningModelResourceData', | |||||||||
| 68 | as 'Cfn::Value'; | ||||||||||
| 69 | |||||||||||
| 70 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::SageMakerMachineLearningModelResourceData', | ||||||||||
| 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::AWS::Greengrass::ResourceDefinition::SageMakerMachineLearningModelResourceDataValue->new( %$_ ); | |||||||||
| 77 | } | ||||||||||
| 78 | 1 | }; | |||||||||
| 79 | |||||||||||
| 80 | 1 | package Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::SageMakerMachineLearningModelResourceDataValue { | |||||||||
| 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 DestinationPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 86 | 1 | has SageMakerJobArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 87 | } | ||||||||||
| 88 | |||||||||||
| 89 | 1 | subtype 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::S3MachineLearningModelResourceData', | |||||||||
| 90 | as 'Cfn::Value'; | ||||||||||
| 91 | |||||||||||
| 92 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::S3MachineLearningModelResourceData', | ||||||||||
| 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::AWS::Greengrass::ResourceDefinition::S3MachineLearningModelResourceDataValue->new( %$_ ); | |||||||||
| 99 | } | ||||||||||
| 100 | 1 | }; | |||||||||
| 101 | |||||||||||
| 102 | 1 | package Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::S3MachineLearningModelResourceDataValue { | |||||||||
| 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 DestinationPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 108 | 1 | has S3Uri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 109 | } | ||||||||||
| 110 | |||||||||||
| 111 | 1 | subtype 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::LocalVolumeResourceData', | |||||||||
| 112 | as 'Cfn::Value'; | ||||||||||
| 113 | |||||||||||
| 114 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::LocalVolumeResourceData', | ||||||||||
| 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::AWS::Greengrass::ResourceDefinition::LocalVolumeResourceDataValue->new( %$_ ); | |||||||||
| 121 | } | ||||||||||
| 122 | 1 | }; | |||||||||
| 123 | |||||||||||
| 124 | 1 | package Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::LocalVolumeResourceDataValue { | |||||||||
| 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 DestinationPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 130 | 1 | has GroupOwnerSetting => (isa => 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::GroupOwnerSetting', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 131 | 1 | has SourcePath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 132 | } | ||||||||||
| 133 | |||||||||||
| 134 | 1 | subtype 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::LocalDeviceResourceData', | |||||||||
| 135 | as 'Cfn::Value'; | ||||||||||
| 136 | |||||||||||
| 137 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::LocalDeviceResourceData', | ||||||||||
| 138 | from 'HashRef', | ||||||||||
| 139 | via { | ||||||||||
| 140 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 141 | 0 | return $f | |||||||||
| 142 | } else { | ||||||||||
| 143 | 0 | return Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::LocalDeviceResourceDataValue->new( %$_ ); | |||||||||
| 144 | } | ||||||||||
| 145 | 1 | }; | |||||||||
| 146 | |||||||||||
| 147 | 1 | package Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::LocalDeviceResourceDataValue { | |||||||||
| 148 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 149 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 150 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 151 | |||||||||||
| 152 | 1 | has GroupOwnerSetting => (isa => 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::GroupOwnerSetting', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 153 | 1 | has SourcePath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 154 | } | ||||||||||
| 155 | |||||||||||
| 156 | 1 | subtype 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceDataContainer', | |||||||||
| 157 | as 'Cfn::Value'; | ||||||||||
| 158 | |||||||||||
| 159 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceDataContainer', | ||||||||||
| 160 | from 'HashRef', | ||||||||||
| 161 | via { | ||||||||||
| 162 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 163 | 0 | return $f | |||||||||
| 164 | } else { | ||||||||||
| 165 | 0 | return Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceDataContainerValue->new( %$_ ); | |||||||||
| 166 | } | ||||||||||
| 167 | 1 | }; | |||||||||
| 168 | |||||||||||
| 169 | 1 | package Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceDataContainerValue { | |||||||||
| 170 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 171 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 172 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 173 | |||||||||||
| 174 | 1 | has LocalDeviceResourceData => (isa => 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::LocalDeviceResourceData', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 175 | 1 | has LocalVolumeResourceData => (isa => 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::LocalVolumeResourceData', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 176 | 1 | has S3MachineLearningModelResourceData => (isa => 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::S3MachineLearningModelResourceData', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 177 | 1 | has SageMakerMachineLearningModelResourceData => (isa => 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::SageMakerMachineLearningModelResourceData', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 178 | 1 | has SecretsManagerSecretResourceData => (isa => 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::SecretsManagerSecretResourceData', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 179 | } | ||||||||||
| 180 | subtype 'ArrayOfCfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceInstance', | ||||||||||
| 181 | as 'Cfn::Value', | ||||||||||
| 182 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 183 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 184 | |||||||||||
| 185 | coerce 'ArrayOfCfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceInstance', | ||||||||||
| 186 | from 'HashRef', | ||||||||||
| 187 | via { | ||||||||||
| 188 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 189 | 0 | return $f | |||||||||
| 190 | } else { | ||||||||||
| 191 | 0 | die 'Only accepts functions'; | |||||||||
| 192 | } | ||||||||||
| 193 | }, | ||||||||||
| 194 | from 'ArrayRef', | ||||||||||
| 195 | via { | ||||||||||
| 196 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 197 | map { | ||||||||||
| 198 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceInstance')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 199 | } @$_ | ||||||||||
| 200 | ]); | ||||||||||
| 201 | 1 | }; | |||||||||
| 202 | |||||||||||
| 203 | 1 | subtype 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceInstance', | |||||||||
| 204 | as 'Cfn::Value'; | ||||||||||
| 205 | |||||||||||
| 206 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceInstance', | ||||||||||
| 207 | from 'HashRef', | ||||||||||
| 208 | via { | ||||||||||
| 209 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 210 | 0 | return $f | |||||||||
| 211 | } else { | ||||||||||
| 212 | 0 | return Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceInstanceValue->new( %$_ ); | |||||||||
| 213 | } | ||||||||||
| 214 | 1 | }; | |||||||||
| 215 | |||||||||||
| 216 | 1 | package Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceInstanceValue { | |||||||||
| 217 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 218 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 219 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 220 | |||||||||||
| 221 | 1 | has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 222 | 1 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 223 | 1 | has ResourceDataContainer => (isa => 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceDataContainer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 224 | } | ||||||||||
| 225 | |||||||||||
| 226 | 1 | subtype 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceDefinitionVersion', | |||||||||
| 227 | as 'Cfn::Value'; | ||||||||||
| 228 | |||||||||||
| 229 | coerce 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceDefinitionVersion', | ||||||||||
| 230 | from 'HashRef', | ||||||||||
| 231 | via { | ||||||||||
| 232 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 233 | 0 | return $f | |||||||||
| 234 | } else { | ||||||||||
| 235 | 0 | return Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceDefinitionVersionValue->new( %$_ ); | |||||||||
| 236 | } | ||||||||||
| 237 | 1 | }; | |||||||||
| 238 | |||||||||||
| 239 | 1 | package Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceDefinitionVersionValue { | |||||||||
| 240 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 241 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 242 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 243 | |||||||||||
| 244 | 1 | has Resources => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceInstance', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 245 | } | ||||||||||
| 246 | |||||||||||
| 247 | 1 | package Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition { | |||||||||
| 248 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 249 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 250 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 251 | |||||||||||
| 252 | 1 | has InitialVersion => (isa => 'Cfn::Resource::Properties::AWS::Greengrass::ResourceDefinition::ResourceDefinitionVersion', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 253 | 1 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 254 | 1 | has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 255 | } | ||||||||||
| 256 | |||||||||||
| 257 | 1 | 1; | |||||||||