Skip to content

Commit

Permalink
Updates from spec version 184.0.0 (#2263)
Browse files Browse the repository at this point in the history
This includes 2 patches:
- Rename CodePipeline::Pipeline.RuleDeclaration InputArtifacts due
  to backward compatibility
- Remove NetworkManager::CoreNetwork.CoreNetworkNetworkFunctionGroup due
  to Name Error (ordering of unseen properties) with Segments property
  • Loading branch information
markpeek authored Sep 1, 2024
1 parent 40028ad commit eab6609
Show file tree
Hide file tree
Showing 28 changed files with 729 additions and 153 deletions.
5 changes: 5 additions & 0 deletions scripts/patches/codepipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
"path": "/PropertyTypes/AWS::CodePipeline::Pipeline.ActionDeclaration/Properties/InputArtifacts/ItemType",
"value": "InputArtifacts",
},
{
"op": "replace",
"path": "/PropertyTypes/AWS::CodePipeline::Pipeline.RuleDeclaration/Properties/InputArtifacts/ItemType",
"value": "InputArtifacts",
},
{
"op": "move",
"from": "/PropertyTypes/AWS::CodePipeline::Pipeline.OutputArtifact",
Expand Down
6 changes: 6 additions & 0 deletions scripts/patches/networkmanager.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
patches = [
{
"op": "remove",
"path": "/PropertyTypes/AWS::NetworkManager::CoreNetwork.CoreNetworkNetworkFunctionGroup",
},
]
2 changes: 1 addition & 1 deletion troposphere/appintegrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Application(AWSObject):
"ApplicationSourceConfig": (ApplicationSourceConfig, True),
"Description": (str, True),
"Name": (str, True),
"Namespace": (str, False),
"Namespace": (str, True),
"Permissions": ([str], False),
"Tags": (Tags, False),
}
Expand Down
3 changes: 3 additions & 0 deletions troposphere/awslambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ class EventSourceMapping(AWSObject):
"FilterCriteria": (FilterCriteria, False),
"FunctionName": (str, True),
"FunctionResponseTypes": ([str], False),
"KmsKeyArn": (str, False),
"MaximumBatchingWindowInSeconds": (integer, False),
"MaximumRecordAgeInSeconds": (integer, False),
"MaximumRetryAttempts": (integer, False),
Expand All @@ -288,6 +289,7 @@ class Code(AWSProperty):
"S3Bucket": (str, False),
"S3Key": (str, False),
"S3ObjectVersion": (str, False),
"SourceKMSKeyArn": (str, False),
"ZipFile": (str, False),
}

Expand Down Expand Up @@ -431,6 +433,7 @@ class Function(AWSObject):
"LoggingConfig": (LoggingConfig, False),
"MemorySize": (validate_memory_size, False),
"PackageType": (validate_package_type, False),
"RecursiveLoop": (str, False),
"ReservedConcurrentExecutions": (integer, False),
"Role": (str, True),
"Runtime": (str, False),
Expand Down
Loading

0 comments on commit eab6609

Please sign in to comment.