Skip to content

Commit 9cab865

Browse files
Updates from spec version 219.0.0 (#2338)
1 parent db0a11d commit 9cab865

File tree

12 files changed

+50
-8
lines changed

12 files changed

+50
-8
lines changed

troposphere/cloudfront.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class AnycastIpList(AWSObject):
3737
resource_type = "AWS::CloudFront::AnycastIpList"
3838

3939
props: PropsDictType = {
40+
"IpAddressType": (str, False),
4041
"IpCount": (integer, True),
4142
"Name": (str, True),
4243
"Tags": (validate_tags_items_array, False),
@@ -1378,6 +1379,7 @@ class AnycastIpListProperty(AWSProperty):
13781379
"AnycastIps": ([str], True),
13791380
"Arn": (str, True),
13801381
"Id": (str, True),
1382+
"IpAddressType": (str, False),
13811383
"IpCount": (integer, True),
13821384
"LastModifiedTime": (str, True),
13831385
"Name": (str, True),

troposphere/datazone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ class EnvironmentConfiguration(AWSProperty):
10961096
"DeploymentOrder": (double, False),
10971097
"Description": (str, False),
10981098
"EnvironmentBlueprintId": (str, True),
1099-
"Id": (str, False),
1099+
"EnvironmentConfigurationId": (str, False),
11001100
"Name": (str, True),
11011101
}
11021102

troposphere/dynamodb.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,6 @@ class GlobalTable(AWSObject):
314314
"AttributeDefinitions": ([AttributeDefinition], True),
315315
"BillingMode": (str, False),
316316
"GlobalSecondaryIndexes": ([GlobalTableGlobalSecondaryIndex], False),
317-
"GlobalTableSettingsReplicationMode": (str, False),
318-
"GlobalTableSourceArn": (str, False),
319317
"GlobalTableWitnesses": ([GlobalTableWitness], False),
320318
"KeySchema": ([KeySchema], True),
321319
"LocalSecondaryIndexes": ([LocalSecondaryIndex], False),
@@ -443,7 +441,6 @@ class Table(AWSObject):
443441
"ContributorInsightsSpecification": (ContributorInsightsSpecification, False),
444442
"DeletionProtectionEnabled": (boolean, False),
445443
"GlobalSecondaryIndexes": ([GlobalSecondaryIndex], False),
446-
"GlobalTableSettingsReplicationMode": (str, False),
447444
"ImportSourceSpecification": (ImportSourceSpecification, False),
448445
"KeySchema": ([KeySchema], True),
449446
"KinesisStreamSpecification": (KinesisStreamSpecification, False),

troposphere/ec2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1795,6 +1795,7 @@ class NatGateway(AWSObject):
17951795
"SecondaryPrivateIpAddresses": ([str], False),
17961796
"SubnetId": (str, False),
17971797
"Tags": (validate_tags_or_list, False),
1798+
"VpcId": (str, False),
17981799
}
17991800

18001801

troposphere/ecs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ class ClusterCapacityProviderAssociations(AWSObject):
371371
resource_type = "AWS::ECS::ClusterCapacityProviderAssociations"
372372

373373
props: PropsDictType = {
374-
"CapacityProviders": ([str], True),
374+
"CapacityProviders": ([str], False),
375375
"Cluster": (str, True),
376376
"DefaultCapacityProviderStrategy": ([CapacityProviderStrategy], True),
377377
}
@@ -435,8 +435,10 @@ class DeploymentConfiguration(AWSProperty):
435435
props: PropsDictType = {
436436
"Alarms": (DeploymentAlarms, False),
437437
"BakeTimeInMinutes": (integer, False),
438+
"CanaryConfiguration": (dict, False),
438439
"DeploymentCircuitBreaker": (DeploymentCircuitBreaker, False),
439440
"LifecycleHooks": ([DeploymentLifecycleHook], False),
441+
"LinearConfiguration": (dict, False),
440442
"MaximumPercent": (integer, False),
441443
"MinimumHealthyPercent": (integer, False),
442444
"Strategy": (str, False),

troposphere/imagebuilder.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,3 +688,16 @@ class Workflow(AWSObject):
688688
"Uri": (str, False),
689689
"Version": (str, True),
690690
}
691+
692+
693+
class LatestVersion(AWSProperty):
694+
"""
695+
`LatestVersion <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-workflow-latestversion.html>`__
696+
"""
697+
698+
props: PropsDictType = {
699+
"Arn": (str, False),
700+
"Major": (str, False),
701+
"Minor": (str, False),
702+
"Patch": (str, False),
703+
}

troposphere/medialive.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,6 +1423,15 @@ class MediaPackageV2GroupSettings(AWSProperty):
14231423

14241424
props: PropsDictType = {
14251425
"CaptionLanguageMappings": ([CaptionLanguageMapping], False),
1426+
"Id3Behavior": (str, False),
1427+
"KlvBehavior": (str, False),
1428+
"NielsenId3Behavior": (str, False),
1429+
"Scte35Type": (str, False),
1430+
"SegmentLength": (integer, False),
1431+
"SegmentLengthUnits": (str, False),
1432+
"TimedMetadataId3Frame": (str, False),
1433+
"TimedMetadataId3Period": (integer, False),
1434+
"TimedMetadataPassthrough": (str, False),
14261435
}
14271436

14281437

troposphere/sagemaker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -911,6 +911,7 @@ class DomainSettings(AWSProperty):
911911
props: PropsDictType = {
912912
"DockerSettings": (DockerSettings, False),
913913
"ExecutionRoleIdentityConfig": (str, False),
914+
"IpAddressType": (str, False),
914915
"RStudioServerProDomainSettings": (RStudioServerProDomainSettings, False),
915916
"SecurityGroupIds": ([str], False),
916917
"UnifiedStudioSettings": (UnifiedStudioSettings, False),

troposphere/servicecatalog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,6 @@ class TagOptionAssociation(AWSObject):
355355
resource_type = "AWS::ServiceCatalog::TagOptionAssociation"
356356

357357
props: PropsDictType = {
358-
"ResourceId": (str, True),
359-
"TagOptionId": (str, True),
358+
"ResourceId": (str, False),
359+
"TagOptionId": (str, False),
360360
}

troposphere/ssmquicksetup.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,21 @@ class ConfigurationManager(AWSObject):
3939
}
4040

4141

42+
class LifecycleAutomation(AWSObject):
43+
"""
44+
`LifecycleAutomation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmquicksetup-lifecycleautomation.html>`__
45+
"""
46+
47+
resource_type = "AWS::SSMQuickSetup::LifecycleAutomation"
48+
49+
props: PropsDictType = {
50+
"AutomationDocument": (str, True),
51+
"AutomationParameters": (dict, True),
52+
"ResourceKey": (str, True),
53+
"Tags": (dict, False),
54+
}
55+
56+
4257
class StatusSummary(AWSProperty):
4358
"""
4459
`StatusSummary <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmquicksetup-configurationmanager-statussummary.html>`__

0 commit comments

Comments
 (0)