0.0.9 • Published 4 months ago

@larsfronius/commercetools-cdk-constructs v0.0.9

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

Commercetools CDK Constructs

Implemented resource types:

  • Subscriptions

Usage

const eventBus = new EventBus(this, 'EventBus')
new CommercetoolsSubscription(this, 'CTToEventBusSubscription', {
    messages: [{
        resourceTypeId: "product",
        types: [ ]
    }],
    changes: [],
    projectKey: props.ctProjektKey,
    secret: Secret.fromSecretNameV2(this, 'CTSecret', `/ct/${props.envName}/commercetools-subscription-mgmt`),
    target: new EventbridgeSubscriptionTarget(this.eventBus)
})

the secret format the custom resource expects is in the format of

{
  "CT_CLIENT_ID": "foo",
  "CT_CLIENT_SECRET": "bar"
}
0.0.9

4 months ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago