diff --git a/integration/helpers/resource.py b/integration/helpers/resource.py index be0e4272e..42077063a 100644 --- a/integration/helpers/resource.py +++ b/integration/helpers/resource.py @@ -10,6 +10,7 @@ REST_API, S3_EVENTS, SQS, + SCHEDULE_EVENT, STATE_MACHINE_INLINE_DEFINITION, ) from integration.helpers.yaml_utils import load_yaml @@ -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()