Skip to content

Commit 18390f7

Browse files
committed
04/13/2022 CloudFormation schemas in us-east-1; Refresh existing schemas.
1 parent eddf831 commit 18390f7

9 files changed

+490
-141
lines changed

internal/service/cloudformation/schemas/AWS_AppRunner_Service.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,27 @@
321321
],
322322
"additionalProperties": false
323323
},
324+
"ServiceObservabilityConfiguration": {
325+
"description": "Service observability configuration",
326+
"type": "object",
327+
"properties": {
328+
"ObservabilityEnabled": {
329+
"description": "Observability enabled",
330+
"type": "boolean"
331+
},
332+
"ObservabilityConfigurationArn": {
333+
"description": "The Amazon Resource Name (ARN) of the App Runner ObservabilityConfiguration.",
334+
"type": "string",
335+
"minLength": 1,
336+
"maxLength": 1011,
337+
"pattern": ""
338+
}
339+
},
340+
"required": [
341+
"ObservabilityEnabled"
342+
],
343+
"additionalProperties": false
344+
},
324345
"Tag": {
325346
"type": "object",
326347
"properties": {
@@ -393,6 +414,9 @@
393414
"HealthCheckConfiguration": {
394415
"$ref": "#/definitions/HealthCheckConfiguration"
395416
},
417+
"ObservabilityConfiguration": {
418+
"$ref": "#/definitions/ServiceObservabilityConfiguration"
419+
},
396420
"AutoScalingConfigurationArn": {
397421
"description": "Autoscaling configuration ARN",
398422
"type": "string",

internal/service/cloudformation/schemas/AWS_Athena_WorkGroup.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,12 @@
282282
"createOnlyProperties": [
283283
"/properties/Name"
284284
],
285+
"deprecatedProperties": [
286+
"/properties/WorkGroupConfigurationUpdates"
287+
],
288+
"writeOnlyProperties": [
289+
"/properties/WorkGroupConfigurationUpdates"
290+
],
285291
"primaryIdentifier": [
286292
"/properties/Name"
287293
],

internal/service/cloudformation/schemas/AWS_Batch_ComputeEnvironment.json

Lines changed: 5 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
"ComputeResources" : {
1313
"$ref" : "#/definitions/ComputeResources"
1414
},
15-
"ReplaceComputeEnvironment" : {
16-
"type" : "boolean",
17-
"default" : true
18-
},
1915
"ServiceRole" : {
2016
"type" : "string"
2117
},
@@ -35,9 +31,6 @@
3531
"Type" : {
3632
"type" : "string"
3733
},
38-
"UpdatePolicy" : {
39-
"$ref" : "#/definitions/UpdatePolicy"
40-
},
4134
"UnmanagedvCpus" : {
4235
"type" : "integer"
4336
}
@@ -124,10 +117,6 @@
124117
},
125118
"Type" : {
126119
"type" : "string"
127-
},
128-
"UpdateToLatestImageVersion" : {
129-
"type" : "boolean",
130-
"default" : false
131120
}
132121
},
133122
"required" : [ "Subnets", "Type", "MaxvCpus" ]
@@ -159,20 +148,6 @@
159148
"type" : "string"
160149
}
161150
}
162-
},
163-
"UpdatePolicy": {
164-
"type" : "object",
165-
"additionalProperties" : false,
166-
"properties" : {
167-
"TerminateJobsOnUpdate" : {
168-
"type" : "boolean",
169-
"default": false
170-
},
171-
"JobExecutionTimeoutMinutes" : {
172-
"type" : "integer",
173-
"default" : 30
174-
}
175-
}
176151
}
177152
},
178153
"tagging": {
@@ -184,12 +159,6 @@
184159
},
185160
"required" : [ "Type" ],
186161
"createOnlyProperties" : [
187-
"/properties/ComputeResources/SpotIamFleetRole",
188-
"/properties/ComputeEnvironmentName",
189-
"/properties/Tags",
190-
"/properties/Type"
191-
],
192-
"conditionalCreateOnlyProperties": [
193162
"/properties/ComputeResources/AllocationStrategy",
194163
"/properties/ComputeResources/BidPercentage",
195164
"/properties/ComputeResources/Ec2Configuration",
@@ -199,14 +168,12 @@
199168
"/properties/ComputeResources/InstanceTypes",
200169
"/properties/ComputeResources/LaunchTemplate",
201170
"/properties/ComputeResources/PlacementGroup",
202-
"/properties/ComputeResources/SecurityGroupIds",
203-
"/properties/ComputeResources/Subnets",
171+
"/properties/ComputeResources/SpotIamFleetRole",
204172
"/properties/ComputeResources/Tags",
205-
"/properties/ComputeResources/Type"
206-
],
207-
"writeOnlyProperties": [
208-
"/properties/ComputeResources/UpdateToLatestImageVersion",
209-
"/properties/ReplaceComputeEnvironment"
173+
"/properties/ComputeResources/Type",
174+
"/properties/ComputeEnvironmentName",
175+
"/properties/Tags",
176+
"/properties/Type"
210177
],
211178
"primaryIdentifier" : [ "/properties/ComputeEnvironmentArn" ],
212179
"readOnlyProperties" : [ "/properties/ComputeEnvironmentArn" ],

internal/service/cloudformation/schemas/AWS_CE_AnomalyMonitor.json

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,30 @@
77
"description": "Monitor ARN",
88
"type": "string",
99
"pattern": "^arn:aws[-a-z0-9]*:[a-z0-9]+:[-a-z0-9]*:[0-9]{12}:[-a-zA-Z0-9/:_]+$"
10+
},
11+
"ResourceTag": {
12+
"description": "A key-value pair to associate with a resource.",
13+
"type": "object",
14+
"additionalProperties": false,
15+
"properties": {
16+
"Key": {
17+
"type": "string",
18+
"description": "The key name for the tag.",
19+
"pattern": "",
20+
"minLength": 1,
21+
"maxLength": 128
22+
},
23+
"Value": {
24+
"type": "string",
25+
"description": "The value for the tag.",
26+
"minLength": 0,
27+
"maxLength": 256
28+
}
29+
},
30+
"required": [
31+
"Key",
32+
"Value"
33+
]
1034
}
1135
},
1236
"properties": {
@@ -62,6 +86,16 @@
6286
"description": "The value for evaluated dimensions.",
6387
"type": "integer",
6488
"minimum": 0
89+
},
90+
"ResourceTags": {
91+
"type": "array",
92+
"description": "Tags to assign to monitor.",
93+
"items": {
94+
"$ref": "#/definitions/ResourceTag"
95+
},
96+
"minItems": 0,
97+
"maxItems": 200,
98+
"insertionOrder": false
6599
}
66100
},
67101
"additionalProperties": false,
@@ -72,7 +106,8 @@
72106
"createOnlyProperties": [
73107
"/properties/MonitorType",
74108
"/properties/MonitorDimension",
75-
"/properties/MonitorSpecification"
109+
"/properties/MonitorSpecification",
110+
"/properties/ResourceTags"
76111
],
77112
"readOnlyProperties": [
78113
"/properties/MonitorArn",
@@ -88,7 +123,8 @@
88123
"handlers": {
89124
"create": {
90125
"permissions": [
91-
"ce:CreateAnomalyMonitor"
126+
"ce:CreateAnomalyMonitor",
127+
"ce:TagResource"
92128
]
93129
},
94130
"read": {

internal/service/cloudformation/schemas/AWS_CE_AnomalySubscription.json

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"properties": {
1414
"Address": {
1515
"type": "string",
16-
"pattern": "(^[a-zA-Z0-9.!#$%&'*+=?^_\u2018{|}~-]+@[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)+$)|(^arn:(aws[a-zA-Z-]*):sns:[a-zA-Z0-9-]+:[0-9]{12}:[a-zA-Z0-9_-]+$)"
16+
"pattern": "(^[a-zA-Z0-9.!#$%&'*+=?^_\u2018{|}~-]+@[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)+$)|(^arn:(aws[a-zA-Z-]*):sns:[a-zA-Z0-9-]+:[0-9]{12}:[a-zA-Z0-9_-]+(\\.fifo)?$)"
1717
},
1818
"Status": {
1919
"type": "string",
@@ -35,6 +35,30 @@
3535
"Type"
3636
],
3737
"additionalProperties": false
38+
},
39+
"ResourceTag": {
40+
"description": "A key-value pair to associate with a resource.",
41+
"type": "object",
42+
"additionalProperties": false,
43+
"properties": {
44+
"Key": {
45+
"type": "string",
46+
"description": "The key name for the tag.",
47+
"pattern": "",
48+
"minLength": 1,
49+
"maxLength": 128
50+
},
51+
"Value": {
52+
"type": "string",
53+
"description": "The value for the tag.",
54+
"minLength": 0,
55+
"maxLength": 256
56+
}
57+
},
58+
"required": [
59+
"Key",
60+
"Value"
61+
]
3862
}
3963
},
4064
"properties": {
@@ -83,6 +107,16 @@
83107
"IMMEDIATE",
84108
"WEEKLY"
85109
]
110+
},
111+
"ResourceTags": {
112+
"type": "array",
113+
"description": "Tags to assign to subscription.",
114+
"items": {
115+
"$ref": "#/definitions/ResourceTag"
116+
},
117+
"minItems": 0,
118+
"maxItems": 200,
119+
"insertionOrder": false
86120
}
87121
},
88122
"additionalProperties": false,
@@ -93,6 +127,9 @@
93127
"Frequency",
94128
"SubscriptionName"
95129
],
130+
"createOnlyProperties": [
131+
"/properties/ResourceTags"
132+
],
96133
"readOnlyProperties": [
97134
"/properties/SubscriptionArn",
98135
"/properties/AccountId",
@@ -104,7 +141,8 @@
104141
"handlers": {
105142
"create": {
106143
"permissions": [
107-
"ce:CreateAnomalySubscription"
144+
"ce:CreateAnomalySubscription",
145+
"ce:TagResource"
108146
]
109147
},
110148
"read": {

0 commit comments

Comments
 (0)