open-index/open-npm huggingface dataset:
npm package: @larsfronius/commercetools-cdk-constructs
Description: Implemented resource types:  * Subscriptions
Author: Lars Fronius
Latest version: 0.0.9

# Commercetools CDK Constructs

Implemented resource types:
 * Subscriptions

## Usage

```typescript
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
```json
{
  "CT_CLIENT_ID": "foo",
  "CT_CLIENT_SECRET": "bar"
}
```