cfn-model 0.1.13 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cdec50eea8f3b51b3fc47b7f368d9d7e565c24e0
4
- data.tar.gz: 13b9c905e65a89ecbc42e25045405aef019d2da1
3
+ metadata.gz: 25befe58028e6735f77ad6b862ba61e26f7eeb9a
4
+ data.tar.gz: 85d9d95e5c49fe6e6f9d52052dca3ef8550bb5f9
5
5
  SHA512:
6
- metadata.gz: 9915d60450bf8b009d175be74e042a3f221bff28d8cf8666cde8b22996cd5249d39f7c453ff2c7acd2ebdb835c087b1969c37418c669307e9d5c6b0b40590bb2
7
- data.tar.gz: 842de4725ae80c7f49c3d463fd2d37e6f52ebcc6c5b8e5db7c121fcffe63c0fd0c017125ac39c4be59c8ab843424a8f295a6b6be820158af0cfaed6b8a02b23f
6
+ metadata.gz: fe34547f583d927633f85537a3d4a202724efa6edaec47bd5cbf2f93039f36e0a764e0c1bbacf81e9eb0587e954cd1eefbba3b977007531dff208a422d82d904
7
+ data.tar.gz: d35ead0a63f83fafd5809fc0a692659be80700e1fc6ba0adc20455aaf79cf3eada3ffefb6c8dc053dcda37c5151027c7bb62fc7c583335da181ec12ecead1949
@@ -13,16 +13,6 @@ mapping:
13
13
  type: map
14
14
  required: yes
15
15
  mapping:
16
- Aliases:
17
- type: seq
18
- required: no
19
- sequence:
20
- - type: any
21
- CacheBehaviors:
22
- type: seq
23
- required: no
24
- sequence:
25
- - type: any
26
16
  DefaultCacheBehavior:
27
17
  type: any
28
18
  required: yes
@@ -30,10 +20,8 @@ mapping:
30
20
  type: any
31
21
  required: yes
32
22
  Origins:
33
- type: seq
23
+ type: any
34
24
  required: yes
35
- sequence:
36
- - type: any
37
25
  =:
38
26
  type: any
39
27
  =:
@@ -9,137 +9,10 @@ mapping:
9
9
  type: map
10
10
  required: yes
11
11
  mapping:
12
- BlockDeviceMappings:
13
- type: seq
14
- required: no
15
- sequence:
16
- - type: map
17
- mapping:
18
- DeviceName:
19
- type: any
20
- required: yes
21
- =:
22
- type: any
23
12
  ImageId:
24
13
  type: any
25
14
  required: yes
26
- Ipv6Addresses:
27
- type: seq
28
- required: no
29
- sequence:
30
- - type: map
31
- mapping:
32
- Ipv6Address:
33
- type: any
34
- required: yes
35
- =:
36
- type: any
37
- NetworkInterfaces:
38
- type: seq
39
- required: no
40
- sequence:
41
- - type: map
42
- mapping:
43
- DeviceIndex:
44
- type: any
45
- required: yes
46
- GroupSet:
47
- type: seq
48
- required: no
49
- sequence:
50
- - type: any
51
- Ipv6Addresses:
52
- type: seq
53
- required: no
54
- sequence:
55
- - type: map
56
- mapping:
57
- Ipv6Address:
58
- type: any
59
- required: yes
60
- =:
61
- type: any
62
- PrivateIpAddresses:
63
- type: seq
64
- required: no
65
- sequence:
66
- - type: map
67
- mapping:
68
- PrivateIpAddress:
69
- type: any
70
- required: yes
71
- Primary:
72
- type: any
73
- required: yes
74
- =:
75
- type: any
76
- =:
77
- type: any
78
15
 
79
- # sigh this could be List<AWS::EC2::SecurityGroup::Id> so can't enfore seq
80
- SecurityGroupIds:
81
- type: any
82
- required: no
83
-
84
- # sigh this could be List<AWS::EC2::SecurityGroup::GroupName> so can't enfore seq
85
- SecurityGroups:
86
- type: any
87
- required: no
88
-
89
- SsmAssociations:
90
- type: seq
91
- required: no
92
- sequence:
93
- - type: map
94
- mapping:
95
- AssociationParameters:
96
- type: seq
97
- required: no
98
- sequence:
99
- - type: map
100
- mapping:
101
- Key:
102
- type: any
103
- required: yes
104
- Value:
105
- type: seq
106
- required: yes
107
- sequence:
108
- - type: any
109
- =:
110
- type: any
111
- DocumentName:
112
- required: yes
113
- type: any
114
-
115
- Tags:
116
- type: seq
117
- required: no
118
- sequence:
119
- - type: map
120
- mapping:
121
- Key:
122
- type: any
123
- required: yes
124
- Value:
125
- type: any
126
- required: yes
127
- =:
128
- type: any
129
- Volumes:
130
- type: seq
131
- required: no
132
- sequence:
133
- - type: map
134
- mapping:
135
- Device:
136
- type: any
137
- required: yes
138
- VolumeId:
139
- type: any
140
- required: yes
141
- =:
142
- type: any
143
16
  =:
144
17
  type: any
145
18
  =:
@@ -9,53 +9,9 @@ mapping:
9
9
  type: map
10
10
  required: yes
11
11
  mapping:
12
- # sigh this could be List<AWS::EC2::SecurityGroup::Id> so can't enfore seq
13
- GroupSet:
14
- type: any
15
- required: no
16
-
17
- Ipv6Addresses:
18
- type: seq
19
- required: no
20
- sequence:
21
- - type: map
22
- mapping:
23
- Ipv6Address:
24
- type: any
25
- required: yes
26
- =:
27
- type: any
28
- PrivateIpAddresses:
29
- type: seq
30
- required: no
31
- sequence:
32
- - type: map
33
- mapping:
34
- PrivateIpAddress:
35
- type: any
36
- required: yes
37
- Primary:
38
- type: any
39
- required: yes
40
- =:
41
- type: any
42
12
  SubnetId:
43
13
  type: any
44
14
  required: yes
45
- Tags:
46
- type: seq
47
- required: no
48
- sequence:
49
- - type: map
50
- mapping:
51
- Key:
52
- type: any
53
- required: yes
54
- Value:
55
- type: any
56
- required: yes
57
- =:
58
- type: any
59
15
  =:
60
16
  type: any
61
17
  =:
@@ -12,23 +12,6 @@ mapping:
12
12
  GroupDescription:
13
13
  type: any
14
14
  required: yes
15
- VpcId:
16
- type: any
17
- required: no
18
- Tags:
19
- type: seq
20
- required: no
21
- sequence:
22
- - type: map
23
- mapping:
24
- Key:
25
- type: any
26
- required: yes
27
- Value:
28
- type: any
29
- required: yes
30
- =:
31
- type: any
32
15
  # this can be a Hash or an Array... kwalify doesn't seem to have a union concept so defer any such
33
16
  # validation into the parser object
34
17
  # SecurityGroupIngress:
@@ -7,63 +7,8 @@ mapping:
7
7
  pattern: /AWS::ElasticLoadBalancingV2::LoadBalancer/
8
8
  Properties:
9
9
  type: map
10
- required: yes
10
+ required: no
11
11
  mapping:
12
- LoadBalancerAttributes:
13
- type: seq
14
- required: no
15
- sequence:
16
- - type: map
17
- mapping:
18
- Key:
19
- type: any
20
- required: yes
21
- Value:
22
- type: any
23
- required: yes
24
- =:
25
- type: any
26
-
27
- # sigh this could be List<AWS::EC2::SecurityGroup::Id> so can't enfore seq
28
- SecurityGroups:
29
- type: any
30
- required: no
31
-
32
- # sigh this could be List<AWS::EC2::Subnet::Id> so can't enfore seq
33
- Subnets:
34
- type: any
35
- required: no
36
-
37
- SubnetMappings:
38
- type: seq
39
- required: no
40
- sequence:
41
- - type: map
42
- mapping:
43
- SubnetId:
44
- type: any
45
- required: yes
46
- AllocationId:
47
- type: any
48
- required: yes
49
- Tags:
50
- type: seq
51
- required: no
52
- sequence:
53
- - type: map
54
- mapping:
55
- Key:
56
- type: any
57
- required: yes
58
- Value:
59
- type: any
60
- required: yes
61
- =:
62
- type: any
63
-
64
- Type:
65
- type: any
66
- required: no
67
12
  =:
68
13
  type: any
69
14
  =:
@@ -9,183 +9,9 @@ mapping:
9
9
  type: map
10
10
  required: yes
11
11
  mapping:
12
- AccessLoggingPolicy:
13
- type: map
14
- required: no
15
- mapping:
16
- Enabled:
17
- type: any
18
- required: yes
19
- S3BucketName:
20
- type: any
21
- required: yes
22
- =:
23
- type: any
24
-
25
- # beware of Fn::If
26
- AppCookieStickinessPolicy:
27
- type: any
28
- required: no
29
- # sequence:
30
- # - type: map
31
- # mapping:
32
- # CookieName:
33
- # type: any
34
- # required: yes
35
- # PolicyName:
36
- # type: any
37
- # required: yes
38
- # =:
39
- # type: any
40
-
41
- # sigh this could be List<AWS::EC2::AvailabilityZone::Name> so can't enfore seq
42
- AvailabilityZones:
43
- type: any
44
- required: no
45
-
46
- ConnectionDrainingPolicy:
47
- type: map
48
- required: no
49
- mapping:
50
- Enabled:
51
- type: any
52
- required: yes
53
- Timeout:
54
- type: any
55
- required: no
56
- =:
57
- type: any
58
- ConnectionSettings:
59
- type: map
60
- required: no
61
- mapping:
62
- IdleTimeout:
63
- type: any
64
- required: yes
65
- =:
66
- type: any
67
- HealthCheck:
68
- type: map
69
- required: no
70
- mapping:
71
- HealthyThreshold:
72
- type: any
73
- required: yes
74
- Interval:
75
- type: any
76
- required: yes
77
- Target:
78
- type: any
79
- required: yes
80
- Timeout:
81
- type: any
82
- required: yes
83
- UnhealthyThreshold:
84
- type: any
85
- required: yes
86
- =:
87
- type: any
88
-
89
- # sigh this could be List<AWS::EC2::Instance::Id> so can't enfore seq
90
- Instances:
91
- type: any
92
- required: no
93
-
94
- LBCookieStickinessPolicy:
95
- type: map
96
- required: no
97
- mapping:
98
- CookieExpirationPeriod:
99
- type: any
100
- required: no
101
- PolicyName:
102
- type: any
103
- required: yes
104
- =:
105
- type: any
106
-
107
- # beware of Fn::If
108
12
  Listeners:
109
- type: seq
110
- required: yes
111
- sequence:
112
- - type: map
113
- mapping:
114
- InstancePort:
115
- type: any
116
- required: yes
117
- LoadBalancerPort:
118
- type: any
119
- required: yes
120
- =:
121
- type: any
122
-
123
- # beware of Fn::If
124
- Policies:
125
- type: seq
126
- required: no
127
- sequence:
128
- - type: map
129
- mapping:
130
- # beware of Fn::If
131
- Attributes:
132
- type: seq
133
- required: yes
134
- sequence:
135
- - type: map
136
- required: yes
137
- mapping:
138
- Name:
139
- type: any
140
- required: yes
141
- Value:
142
- type: any
143
- required: yes
144
- =:
145
- type: any
146
- # InstancePorts:
147
- # type: seq
148
- # required: no
149
- # sequence:
150
- # - type: any
151
- # LoadBalancerPorts:
152
- # type: seq
153
- # required: no
154
- # sequence:
155
- # - type: any
156
- PolicyName:
157
- type: any
158
- required: yes
159
- PolicyType:
160
- type: any
161
- required: yes
162
- =:
163
- type: any
164
-
165
- # sigh this could be List<AWS::EC2::SecurityGroup::Id> so can't enfore seq
166
- SecurityGroups:
167
- type: any
168
- required: no
169
-
170
- # sigh this could be List<AWS::EC2::Subnet::Id> so can't enfore seq
171
- Subnets:
172
13
  type: any
173
- required: no
174
-
175
- Tags:
176
- type: seq
177
- required: no
178
- sequence:
179
- - type: map
180
- mapping:
181
- Key:
182
- type: any
183
- required: yes
184
- Value:
185
- type: any
186
- required: yes
187
- =:
188
- type: any
14
+ required: yes
189
15
  =:
190
16
  type: any
191
17
  =:
@@ -6,6 +6,7 @@ mapping:
6
6
  pattern: /AWS::IAM::Group/
7
7
  Properties:
8
8
  type: map
9
+ required: no
9
10
  mapping:
10
11
  ManagedPolicyArns:
11
12
  type: seq
@@ -9,25 +9,9 @@ mapping:
9
9
  type: map
10
10
  required: yes
11
11
  mapping:
12
- Groups:
13
- type: seq
14
- required: no
15
- sequence:
16
- - type: any
17
- Roles:
18
- type: seq
19
- required: no
20
- sequence:
21
- - type: any
22
- Users:
23
- type: seq
24
- required: no
25
- sequence:
26
- - type: any
27
12
  PolicyDocument:
28
13
  type: any
29
14
  required: yes
30
-
31
15
  =:
32
16
  type: any
33
17
  =:
@@ -9,21 +9,6 @@ mapping:
9
9
  type: map
10
10
  required: yes
11
11
  mapping:
12
- Groups:
13
- type: seq
14
- required: no
15
- sequence:
16
- - type: any
17
- Roles:
18
- type: seq
19
- required: no
20
- sequence:
21
- - type: any
22
- Users:
23
- type: seq
24
- required: no
25
- sequence:
26
- - type: any
27
12
  PolicyDocument:
28
13
  type: any
29
14
  required: yes
@@ -9,16 +9,6 @@ mapping:
9
9
  type: map
10
10
  required: yes
11
11
  mapping:
12
- ManagedPolicyArns:
13
- type: seq
14
- required: no
15
- sequence:
16
- - type: any
17
- Policies:
18
- type: seq
19
- required: no
20
- sequence:
21
- - type: any
22
12
  AssumeRolePolicyDocument:
23
13
  type: any
24
14
  required: yes
@@ -7,31 +7,8 @@ mapping:
7
7
  pattern: /AWS::IAM::User/
8
8
  Properties:
9
9
  type: map
10
+ required: no
10
11
  mapping:
11
- Groups:
12
- type: seq
13
- required: no
14
- sequence:
15
- - type: any
16
- LoginProfile:
17
- type: map
18
- required: no
19
- mapping:
20
- Password:
21
- type: any
22
- required: yes
23
- =:
24
- type: any
25
- ManagedPolicyArns:
26
- type: seq
27
- required: no
28
- sequence:
29
- - type: any
30
- Policies:
31
- type: seq
32
- required: no
33
- sequence:
34
- - type: any
35
12
  =:
36
13
  type: any
37
14
  =:
@@ -13,10 +13,8 @@ mapping:
13
13
  type: any
14
14
  required: yes
15
15
  Users:
16
- type: seq
16
+ type: any
17
17
  required: yes
18
- sequence:
19
- - type: any
20
18
  =:
21
19
  type: any
22
20
  =:
@@ -13,10 +13,8 @@ mapping:
13
13
  type: any
14
14
  required: yes
15
15
  Topics:
16
- type: seq
16
+ type: any
17
17
  required: yes
18
- sequence:
19
- - type: any
20
18
  =:
21
19
  type: any
22
20
  =:
@@ -13,10 +13,8 @@ mapping:
13
13
  type: any
14
14
  required: yes
15
15
  Queues:
16
- type: seq
16
+ type: any
17
17
  required: yes
18
- sequence:
19
- - type: any
20
18
  =:
21
19
  type: any
22
20
  =:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfn-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kascic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-15 00:00:00.000000000 Z
11
+ date: 2017-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kwalify