Skip to content

Commit 16a87c2

Browse files
Updates from spec version 212.0.0 (#2327)
1 parent b95e52c commit 16a87c2

File tree

5 files changed

+58
-1
lines changed

5 files changed

+58
-1
lines changed

troposphere/connect.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,17 @@ class PhoneNumber(AWSObject):
327327
}
328328

329329

330+
class AttributeConfiguration(AWSProperty):
331+
"""
332+
`AttributeConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-predefinedattribute-attributeconfiguration.html>`__
333+
"""
334+
335+
props: PropsDictType = {
336+
"EnableValueValidationOnAssociation": (boolean, False),
337+
"IsReadOnly": (boolean, False),
338+
}
339+
340+
330341
class Values(AWSProperty):
331342
"""
332343
`Values <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-predefinedattribute-values.html>`__
@@ -345,8 +356,10 @@ class PredefinedAttribute(AWSObject):
345356
resource_type = "AWS::Connect::PredefinedAttribute"
346357

347358
props: PropsDictType = {
359+
"AttributeConfiguration": (AttributeConfiguration, False),
348360
"InstanceArn": (str, True),
349361
"Name": (str, True),
362+
"Purposes": ([str], False),
350363
"Values": (Values, False),
351364
}
352365

troposphere/ec2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ class ClientVpnEndpoint(AWSObject):
237237

238238
props: PropsDictType = {
239239
"AuthenticationOptions": ([ClientAuthenticationRequest], True),
240-
"ClientCidrBlock": (str, True),
240+
"ClientCidrBlock": (str, False),
241241
"ClientConnectOptions": (ClientConnectOptions, False),
242242
"ClientLoginBannerOptions": (ClientLoginBannerOptions, False),
243243
"ClientRouteEnforcementOptions": (ClientRouteEnforcementOptions, False),

troposphere/ecs.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,17 @@ class DeploymentController(AWSProperty):
271271
}
272272

273273

274+
class ForceNewDeployment(AWSProperty):
275+
"""
276+
`ForceNewDeployment <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-forcenewdeployment.html>`__
277+
"""
278+
279+
props: PropsDictType = {
280+
"EnableForceNewDeployment": (boolean, True),
281+
"ForceNewDeploymentNonce": (str, False),
282+
}
283+
284+
274285
class AdvancedConfiguration(AWSProperty):
275286
"""
276287
`AdvancedConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-advancedconfiguration.html>`__
@@ -553,6 +564,7 @@ class Service(AWSObject):
553564
"DesiredCount": (integer, False),
554565
"EnableECSManagedTags": (boolean, False),
555566
"EnableExecuteCommand": (boolean, False),
567+
"ForceNewDeployment": (ForceNewDeployment, False),
556568
"HealthCheckGracePeriodSeconds": (integer, False),
557569
"LaunchType": (launch_type_validator, False),
558570
"LoadBalancers": ([LoadBalancer], False),

troposphere/glue.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ class DynamoDBTarget(AWSProperty):
285285

286286
props: PropsDictType = {
287287
"Path": (str, False),
288+
"ScanAll": (boolean, False),
289+
"ScanRate": (double, False),
288290
}
289291

290292

troposphere/omics.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,30 @@ class VariantStore(AWSObject):
139139
}
140140

141141

142+
class SourceReference(AWSProperty):
143+
"""
144+
`SourceReference <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-omics-workflow-sourcereference.html>`__
145+
"""
146+
147+
props: PropsDictType = {
148+
"type": (str, False),
149+
"value": (str, False),
150+
}
151+
152+
153+
class DefinitionRepository(AWSProperty):
154+
"""
155+
`DefinitionRepository <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-omics-workflow-definitionrepository.html>`__
156+
"""
157+
158+
props: PropsDictType = {
159+
"connectionArn": (str, False),
160+
"excludeFilePatterns": ([str], False),
161+
"fullRepositoryId": (str, False),
162+
"sourceReference": (SourceReference, False),
163+
}
164+
165+
142166
class WorkflowParameter(AWSProperty):
143167
"""
144168
`WorkflowParameter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-omics-workflowversion-workflowparameter.html>`__
@@ -159,15 +183,21 @@ class Workflow(AWSObject):
159183

160184
props: PropsDictType = {
161185
"Accelerators": (str, False),
186+
"DefinitionRepository": (DefinitionRepository, False),
162187
"DefinitionUri": (str, False),
163188
"Description": (str, False),
164189
"Engine": (str, False),
165190
"Main": (str, False),
166191
"Name": (str, False),
167192
"ParameterTemplate": (dict, False),
193+
"ParameterTemplatePath": (str, False),
168194
"StorageCapacity": (double, False),
169195
"StorageType": (str, False),
170196
"Tags": (dict, False),
197+
"WorkflowBucketOwnerId": (str, False),
198+
"readmeMarkdown": (str, False),
199+
"readmePath": (str, False),
200+
"readmeUri": (str, False),
171201
}
172202

173203

0 commit comments

Comments
 (0)