Cfn/Resource/AWS/EKS/Nodegroup.pm untested

filter: Statementstmt 0.0% 0 / 108 Branchbran 0.0% 0 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 12 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 128 CC 1 SCAR 6.9
CC
1
Cov
0%
AttributeList
2.0
supported_regions
2.0
BEGIN
2.0
CRAP 2.0
1 # AWS::EKS::Nodegroup generated from spec 34.0.0
2 use Moose::Util::TypeConstraints;
3  
4 coerce 'Cfn::Resource::Properties::AWS::EKS::Nodegroup',
5 from 'HashRef',
6 via { Cfn::Resource::Properties::AWS::EKS::Nodegroup->new( %$_ ) };
7  
8 package Cfn::Resource::AWS::EKS::Nodegroup {
9 use Moose;
10 extends 'Cfn::Resource';
11 has Properties => (isa => 'Cfn::Resource::Properties::AWS::EKS::Nodegroup', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 [ 'Arn','ClusterName','NodegroupName' ]
15 }
16 sub supported_regions {
17 [ 'af-south-1','ap-east-1','ap-northeast-1','ap-northeast-2','ap-northeast-3','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-north-1','cn-northwest-1','eu-central-1','eu-north-1','eu-south-1','eu-west-1','eu-west-2','eu-west-3','me-south-1','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::EKS::Nodegroup::ScalingConfig',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::EKS::Nodegroup::ScalingConfig',
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::EKS::Nodegroup::ScalingConfig->new( %$_ );
33 }
34 };
35  
36 package Cfn::Resource::Properties::Object::AWS::EKS::Nodegroup::ScalingConfig {
37 use Moose;
38 use MooseX::StrictConstructor;
39 extends 'Cfn::Value::TypedValue';
40
41 has DesiredSize => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 has MaxSize => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43 has MinSize => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
44 }
45  
46 subtype 'Cfn::Resource::Properties::AWS::EKS::Nodegroup::RemoteAccess',
47 as 'Cfn::Value';
48  
49 coerce 'Cfn::Resource::Properties::AWS::EKS::Nodegroup::RemoteAccess',
50 from 'HashRef',
51 via {
52 if (my $f = Cfn::TypeLibrary::try_function($_)) {
53 return $f
54 } else {
55 return Cfn::Resource::Properties::Object::AWS::EKS::Nodegroup::RemoteAccess->new( %$_ );
56 }
57 };
58  
59 package Cfn::Resource::Properties::Object::AWS::EKS::Nodegroup::RemoteAccess {
60 use Moose;
61 use MooseX::StrictConstructor;
62 extends 'Cfn::Value::TypedValue';
63
64 has Ec2SshKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
65 has SourceSecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
66 }
67  
68 subtype 'Cfn::Resource::Properties::AWS::EKS::Nodegroup::LaunchTemplateSpecification',
69 as 'Cfn::Value';
70  
71 coerce 'Cfn::Resource::Properties::AWS::EKS::Nodegroup::LaunchTemplateSpecification',
72 from 'HashRef',
73 via {
74 if (my $f = Cfn::TypeLibrary::try_function($_)) {
75 return $f
76 } else {
77 return Cfn::Resource::Properties::Object::AWS::EKS::Nodegroup::LaunchTemplateSpecification->new( %$_ );
78 }
79 };
80  
81 package Cfn::Resource::Properties::Object::AWS::EKS::Nodegroup::LaunchTemplateSpecification {
82 use Moose;
83 use MooseX::StrictConstructor;
84 extends 'Cfn::Value::TypedValue';
85
86 has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
87 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
88 has Version => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
89 }
90  
91 package Cfn::Resource::Properties::AWS::EKS::Nodegroup {
92 use Moose;
93 use MooseX::StrictConstructor;
94 extends 'Cfn::Resource::Properties';
95
96 has AmiType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
97 has CapacityType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
98 has ClusterName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
99 has DiskSize => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
100 has ForceUpdateEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
101 has InstanceTypes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
102 has Labels => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
103 has LaunchTemplate => (isa => 'Cfn::Resource::Properties::AWS::EKS::Nodegroup::LaunchTemplateSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
104 has NodeRole => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
105 has NodegroupName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
106 has ReleaseVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
107 has RemoteAccess => (isa => 'Cfn::Resource::Properties::AWS::EKS::Nodegroup::RemoteAccess', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
108 has ScalingConfig => (isa => 'Cfn::Resource::Properties::AWS::EKS::Nodegroup::ScalingConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
109 has Subnets => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
110 has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
111 has Version => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
112 }
113  
114 1;
115 ### main pod documentation begin ###
116  
117 =encoding UTF-8
118  
119 =head1 NAME
120  
121 Cfn::Resource::AWS::EKS::Nodegroup - Cfn resource for AWS::EKS::Nodegroup
122  
123 =head1 DESCRIPTION
124  
125 This module implements a Perl module that represents the CloudFormation object AWS::EKS::Nodegroup.
126  
127 See L<Cfn> for more information on how to use it.
128  
129 =head1 AUTHOR
130  
131 Jose Luis Martinez
132 CAPSiDE
133 jlmartinez@capside.com
134  
135 =head1 COPYRIGHT and LICENSE
136  
137 Copyright (c) 2013 by CAPSiDE
138 This code is distributed under the Apache 2 License. The full text of the
139 license can be found in the LICENSE file included with this module.
140  
141 =cut