Destination
Source:
src/AWS/IoTManagedIntegrations/Destination.ts
An AWS IoT Managed Integrations notification destination. Managed integrations delivers lifecycle events and device notifications to the destination (currently a Kinesis Data Stream) using the provided IAM role.
IoT Managed Integrations is a regional service available in a limited set
of regions (e.g. eu-west-1, ca-central-1).
Creating Destinations
Section titled “Creating Destinations”const stream = yield* Kinesis.Stream("Events", {});const role = yield* IAM.Role("DeliveryRole", { assumeRolePolicyDocument: { Version: "2012-10-17", Statement: [ { Effect: "Allow", Principal: { Service: "iotmanagedintegrations.amazonaws.com" }, Action: ["sts:AssumeRole"], }, ], },});const destination = yield* Destination("EventDestination", { deliveryDestinationArn: stream.streamArn, roleArn: role.roleArn, description: "Managed integrations device events",});