Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions integration/helpers/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
REST_API,
S3_EVENTS,
SQS,
SCHEDULE_EVENT,
STATE_MACHINE_INLINE_DEFINITION,
)
from integration.helpers.yaml_utils import load_yaml
Expand Down Expand Up @@ -213,6 +214,7 @@ def _resource_using_s3_events(resource: Dict[str, Any]) -> bool:
REST_API: lambda template_dict, cfn_resource_types: "AWS::ApiGateway::RestApi" in cfn_resource_types,
SQS: lambda template_dict, cfn_resource_types: "AWS::SQS::Queue" in cfn_resource_types,
DYNAMO_DB: lambda template_dict, cfn_resource_types: "AWS::DynamoDB::Table" in cfn_resource_types,
SCHEDULE_EVENT: lambda template_dict, cfn_resource_types: "AWS::Events::EventBus" in cfn_resource_types,
STATE_MACHINE_INLINE_DEFINITION: lambda template_dict, cfn_resource_types: any(
_resource_using_inline_statemachine_definition(resource)
for resource in template_dict.get("Resources", {}).values()
Expand Down