diff --git a/eventbridge/lib.w b/eventbridge/lib.w index dca60188..8dbbcdb9 100644 --- a/eventbridge/lib.w +++ b/eventbridge/lib.w @@ -2,7 +2,7 @@ bring cloud; bring util; bring "./types.w" as types; bring "./platform/sim" as sim; -bring "./platform/tf-aws" as aws; +bring "./platform/tfaws" as aws; bring "./platform/awscdk" as awscdk; /** diff --git a/eventbridge/platform/shared-aws/publish.js b/eventbridge/platform/aws/publish.js similarity index 100% rename from eventbridge/platform/shared-aws/publish.js rename to eventbridge/platform/aws/publish.js diff --git a/eventbridge/platform/awscdk/eventbridge.w b/eventbridge/platform/awscdk/eventbridge.w index 9e29003d..3b5004a5 100644 --- a/eventbridge/platform/awscdk/eventbridge.w +++ b/eventbridge/platform/awscdk/eventbridge.w @@ -4,7 +4,7 @@ bring "./../../types.w" as types; bring "aws-cdk-lib" as cdk; pub class Bus impl types.IBus { - extern "../shared-aws/publish.js" pub static inflight putEvent(name: str, event: types.PublishEvent): void; + extern "../aws/publish.js" pub static inflight putEvent(name: str, event: types.PublishEvent): void; extern "./helper.js" pub static addRulePermission(handler: str, arn: str): void; eventBridge: cdk.aws_events.EventBus; diff --git a/eventbridge/platform/tf-aws/eventbridge.w b/eventbridge/platform/tfaws/eventbridge.w similarity index 96% rename from eventbridge/platform/tf-aws/eventbridge.w rename to eventbridge/platform/tfaws/eventbridge.w index fd1351b3..61dc4370 100644 --- a/eventbridge/platform/tf-aws/eventbridge.w +++ b/eventbridge/platform/tfaws/eventbridge.w @@ -5,7 +5,7 @@ bring "cdktf" as cdktf; bring "@cdktf/provider-aws" as tfAws; pub class Bus impl types.IBus { - extern "../shared-aws/publish.js" pub static inflight putEvent(name: str, event: types.PublishEvent): void; + extern "../aws/publish.js" pub static inflight putEvent(name: str, event: types.PublishEvent): void; busName: str; busArn: str;