diff --git a/packages/@aws-cdk/aws-scheduler-targets-alpha/README.md b/packages/@aws-cdk/aws-scheduler-targets-alpha/README.md index 0b523b163d955..03b3c081e6cee 100644 --- a/packages/@aws-cdk/aws-scheduler-targets-alpha/README.md +++ b/packages/@aws-cdk/aws-scheduler-targets-alpha/README.md @@ -31,7 +31,7 @@ The following targets are supported: 6. `targets.EventBridgePutEvents`: [Put Events on EventBridge](#send-events-to-an-eventbridge-event-bus) 7. `targets.InspectorStartAssessmentRun`: [Start an Amazon Inspector assessment run](#start-an-amazon-inspector-assessment-run) 8. `targets.KinesisStreamPutRecord`: [Put a record to an Amazon Kinesis Data Stream](#put-a-record-to-an-amazon-kinesis-data-stream) -9. `targets.KinesisDataFirehosePutRecord`: [Put a record to an Amazon Data Firehose](#put-a-record-to-an-amazon-data-firehose) +9. `targets.FirehosePutRecord`: [Put a record to an Amazon Data Firehose](#put-a-record-to-an-amazon-data-firehose) 10. `targets.CodePipelineStartPipelineExecution`: [Start a CodePipeline execution](#start-a-codepipeline-execution) 11. `targets.SageMakerStartPipelineExecution`: [Start a SageMaker pipeline execution](#start-a-sagemaker-pipeline-execution) 12. `targets.Universal`: [Invoke a wider set of AWS API](#invoke-a-wider-set-of-aws-api) @@ -254,13 +254,13 @@ new Schedule(this, 'Schedule', { ## Put a record to an Amazon Data Firehose -Use the `KinesisDataFirehosePutRecord` target to put a record to an Amazon Data Firehose delivery stream. +Use the `FirehosePutRecord` target to put a record to an Amazon Data Firehose delivery stream. The code snippet below creates an event rule with a delivery stream as a target called every hour by EventBridge Scheduler with a custom payload. ```ts -import * as firehose from '@aws-cdk/aws-kinesisfirehose-alpha'; +import * as firehose from 'aws-cdk-lib/aws-kinesisfirehose'; declare const deliveryStream: firehose.IDeliveryStream; const payload = { @@ -269,7 +269,7 @@ const payload = { new Schedule(this, 'Schedule', { schedule: ScheduleExpression.rate(Duration.minutes(60)), - target: new targets.KinesisDataFirehosePutRecord(deliveryStream, { + target: new targets.FirehosePutRecord(deliveryStream, { input: ScheduleTargetInput.fromObject(payload), }), }); diff --git a/packages/@aws-cdk/aws-scheduler-targets-alpha/lib/kinesis-data-firehose-put-record.ts b/packages/@aws-cdk/aws-scheduler-targets-alpha/lib/firehose-put-record.ts similarity index 88% rename from packages/@aws-cdk/aws-scheduler-targets-alpha/lib/kinesis-data-firehose-put-record.ts rename to packages/@aws-cdk/aws-scheduler-targets-alpha/lib/firehose-put-record.ts index 7e5c1fe20dd0c..b7ea99b817622 100644 --- a/packages/@aws-cdk/aws-scheduler-targets-alpha/lib/kinesis-data-firehose-put-record.ts +++ b/packages/@aws-cdk/aws-scheduler-targets-alpha/lib/firehose-put-record.ts @@ -6,7 +6,7 @@ import { ScheduleTargetBase, ScheduleTargetBaseProps } from './target'; /** * Use an Amazon Data Firehose as a target for AWS EventBridge Scheduler. */ -export class KinesisDataFirehosePutRecord extends ScheduleTargetBase implements IScheduleTarget { +export class FirehosePutRecord extends ScheduleTargetBase implements IScheduleTarget { constructor( private readonly deliveryStream: IDeliveryStream, props: ScheduleTargetBaseProps = {}, diff --git a/packages/@aws-cdk/aws-scheduler-targets-alpha/lib/index.ts b/packages/@aws-cdk/aws-scheduler-targets-alpha/lib/index.ts index e1405cbc9ab3f..7a6254745feb0 100644 --- a/packages/@aws-cdk/aws-scheduler-targets-alpha/lib/index.ts +++ b/packages/@aws-cdk/aws-scheduler-targets-alpha/lib/index.ts @@ -2,7 +2,7 @@ export * from './codebuild-start-build'; export * from './codepipeline-start-pipeline-execution'; export * from './event-bridge-put-events'; export * from './inspector-start-assessment-run'; -export * from './kinesis-data-firehose-put-record'; +export * from './firehose-put-record'; export * from './kinesis-stream-put-record'; export * from './lambda-invoke'; export * from './sage-maker-start-pipeline-execution'; diff --git a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/kinesis-data-firehose-put-record.test.ts b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/firehose-put-record.test.ts similarity index 92% rename from packages/@aws-cdk/aws-scheduler-targets-alpha/test/kinesis-data-firehose-put-record.test.ts rename to packages/@aws-cdk/aws-scheduler-targets-alpha/test/firehose-put-record.test.ts index 3e3cf50b27cd9..329ddedf9a3e8 100644 --- a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/kinesis-data-firehose-put-record.test.ts +++ b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/firehose-put-record.test.ts @@ -5,7 +5,7 @@ import { AccountRootPrincipal, Role } from 'aws-cdk-lib/aws-iam'; import * as firehose from 'aws-cdk-lib/aws-kinesisfirehose'; import * as sqs from 'aws-cdk-lib/aws-sqs'; import { Construct } from 'constructs'; -import { KinesisDataFirehosePutRecord } from '../lib'; +import { FirehosePutRecord } from '../lib'; describe('schedule target', () => { let app: App; @@ -46,8 +46,8 @@ describe('schedule target', () => { }); }); - test('creates IAM role and IAM policy for kinesis data firehose target in the same account', () => { - const firehoseTarget = new KinesisDataFirehosePutRecord(firehoseStream); + test('creates IAM role and IAM policy for Amazon Data Firehose target in the same account', () => { + const firehoseTarget = new FirehosePutRecord(firehoseStream); new Schedule(stack, 'MyScheduleDummy', { schedule: expr, @@ -119,7 +119,7 @@ describe('schedule target', () => { assumedBy: new AccountRootPrincipal(), }); - const firehoseTarget = new KinesisDataFirehosePutRecord(firehoseStream, { + const firehoseTarget = new FirehosePutRecord(firehoseStream, { role: targetExecutionRole, }); @@ -157,7 +157,7 @@ describe('schedule target', () => { }); test('reuses IAM role and IAM policy for two schedules with the same target from the same account', () => { - const firehoseTarget = new KinesisDataFirehosePutRecord(firehoseStream); + const firehoseTarget = new FirehosePutRecord(firehoseStream); new Schedule(stack, 'MyScheduleDummy1', { schedule: expr, @@ -218,7 +218,7 @@ describe('schedule target', () => { }); test('creates IAM role and IAM policy for two schedules with the same target but different groups', () => { - const firehoseTarget = new KinesisDataFirehosePutRecord(firehoseStream); + const firehoseTarget = new FirehosePutRecord(firehoseStream); const group = new Group(stack, 'Group', { groupName: 'mygroup', }); @@ -311,7 +311,7 @@ describe('schedule target', () => { destination: mockS3Destination, }); - const firehoseTarget = new KinesisDataFirehosePutRecord(anotherFirehose); + const firehoseTarget = new FirehosePutRecord(anotherFirehose); new Schedule(stack, 'MyScheduleDummy', { schedule: expr, @@ -349,7 +349,7 @@ describe('schedule target', () => { test('creates IAM policy for imported role for firehose in the same account', () => { const importedRole = Role.fromRoleArn(stack, 'ImportedRole', 'arn:aws:iam::123456789012:role/someRole'); - const firehoseTarget = new KinesisDataFirehosePutRecord(firehoseStream, { + const firehoseTarget = new FirehosePutRecord(firehoseStream, { role: importedRole, }); @@ -398,7 +398,7 @@ describe('schedule target', () => { }); const importedRole = Role.fromRoleArn(stack, 'ImportedRole', 'arn:aws:iam::123456789012:role/someRole'); - const firehoseTarget = new KinesisDataFirehosePutRecord(anotherFirehose, { + const firehoseTarget = new FirehosePutRecord(anotherFirehose, { role: importedRole, }); @@ -438,7 +438,7 @@ describe('schedule target', () => { test('adds permissions to execution role for sending messages to DLQ', () => { const dlq = new sqs.Queue(stack, 'DummyDeadLetterQueue'); - const firehoseTarget = new KinesisDataFirehosePutRecord(firehoseStream, { + const firehoseTarget = new FirehosePutRecord(firehoseStream, { deadLetterQueue: dlq, }); @@ -473,7 +473,7 @@ describe('schedule target', () => { test('adds permission to execution role when imported DLQ is in same account', () => { const importedQueue = sqs.Queue.fromQueueArn(stack, 'ImportedQueue', 'arn:aws:sqs:us-east-1:123456789012:queue1'); - const firehoseTarget = new KinesisDataFirehosePutRecord(firehoseStream, { + const firehoseTarget = new FirehosePutRecord(firehoseStream, { deadLetterQueue: importedQueue, }); @@ -504,7 +504,7 @@ describe('schedule target', () => { }); test('renders expected retry policy', () => { - const firehoseTarget = new KinesisDataFirehosePutRecord(firehoseStream, { + const firehoseTarget = new FirehosePutRecord(firehoseStream, { retryAttempts: 5, maxEventAge: Duration.hours(3), }); @@ -531,7 +531,7 @@ describe('schedule target', () => { }); test('throws when retry policy max age is more than 1 day', () => { - const firehoseTarget = new KinesisDataFirehosePutRecord(firehoseStream, { + const firehoseTarget = new FirehosePutRecord(firehoseStream, { maxEventAge: Duration.days(3), }); @@ -543,7 +543,7 @@ describe('schedule target', () => { }); test('throws when retry policy max age is less than 1 minute', () => { - const firehoseTarget = new KinesisDataFirehosePutRecord(firehoseStream, { + const firehoseTarget = new FirehosePutRecord(firehoseStream, { maxEventAge: Duration.seconds(59), }); @@ -555,7 +555,7 @@ describe('schedule target', () => { }); test('throws when retry policy max retry attempts is out of the allowed limits', () => { - const firehoseTarget = new KinesisDataFirehosePutRecord(firehoseStream, { + const firehoseTarget = new FirehosePutRecord(firehoseStream, { retryAttempts: 200, }); diff --git a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/asset.97484721f29e34bf38d7a459804dd2d2a8dea6f8c27d7531e215bf4274fbc895.bundle/index.js b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/asset.97484721f29e34bf38d7a459804dd2d2a8dea6f8c27d7531e215bf4274fbc895.bundle/index.js similarity index 100% rename from packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/asset.97484721f29e34bf38d7a459804dd2d2a8dea6f8c27d7531e215bf4274fbc895.bundle/index.js rename to packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/asset.97484721f29e34bf38d7a459804dd2d2a8dea6f8c27d7531e215bf4274fbc895.bundle/index.js diff --git a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/aws-cdk-scheduler-targets-firehose-put-record.assets.json b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/aws-cdk-scheduler-targets-firehose-put-record.assets.json similarity index 100% rename from packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/aws-cdk-scheduler-targets-firehose-put-record.assets.json rename to packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/aws-cdk-scheduler-targets-firehose-put-record.assets.json diff --git a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/aws-cdk-scheduler-targets-firehose-put-record.template.json b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/aws-cdk-scheduler-targets-firehose-put-record.template.json similarity index 100% rename from packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/aws-cdk-scheduler-targets-firehose-put-record.template.json rename to packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/aws-cdk-scheduler-targets-firehose-put-record.template.json diff --git a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/cdk.out b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/cdk.out similarity index 100% rename from packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/cdk.out rename to packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/cdk.out diff --git a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/integ.json b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/integ.json similarity index 100% rename from packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/integ.json rename to packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/integ.json diff --git a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/integrationtestfirehoseputrecordDefaultTestDeployAssert781A189E.assets.json b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/integrationtestfirehoseputrecordDefaultTestDeployAssert781A189E.assets.json similarity index 87% rename from packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/integrationtestfirehoseputrecordDefaultTestDeployAssert781A189E.assets.json rename to packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/integrationtestfirehoseputrecordDefaultTestDeployAssert781A189E.assets.json index e6fea30b0dcd8..d72564bb46042 100644 --- a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/integrationtestfirehoseputrecordDefaultTestDeployAssert781A189E.assets.json +++ b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/integrationtestfirehoseputrecordDefaultTestDeployAssert781A189E.assets.json @@ -14,7 +14,7 @@ } } }, - "14281b682a7ca3ed1e943e429e06c5a03a8fbbb3eda1d2152450d3a306642b20": { + "fda724f8669745d129f574d1d14abb2921097e328e78fdf22d828fd37e4e4a9c": { "source": { "path": "integrationtestfirehoseputrecordDefaultTestDeployAssert781A189E.template.json", "packaging": "file" @@ -22,7 +22,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "14281b682a7ca3ed1e943e429e06c5a03a8fbbb3eda1d2152450d3a306642b20.json", + "objectKey": "fda724f8669745d129f574d1d14abb2921097e328e78fdf22d828fd37e4e4a9c.json", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } diff --git a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/integrationtestfirehoseputrecordDefaultTestDeployAssert781A189E.template.json b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/integrationtestfirehoseputrecordDefaultTestDeployAssert781A189E.template.json similarity index 99% rename from packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/integrationtestfirehoseputrecordDefaultTestDeployAssert781A189E.template.json rename to packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/integrationtestfirehoseputrecordDefaultTestDeployAssert781A189E.template.json index 89a2b9c1384dc..180cf6fd25c8c 100644 --- a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/integrationtestfirehoseputrecordDefaultTestDeployAssert781A189E.template.json +++ b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/integrationtestfirehoseputrecordDefaultTestDeployAssert781A189E.template.json @@ -31,7 +31,7 @@ "MaxKeys": "1" }, "flattenResponse": "false", - "salt": "1741944859976" + "salt": "1742260566717" }, "UpdateReplacePolicy": "Delete", "DeletionPolicy": "Delete" diff --git a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/manifest.json b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/manifest.json similarity index 99% rename from packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/manifest.json rename to packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/manifest.json index 18903ec09e8aa..773a59bf4cc76 100644 --- a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/manifest.json +++ b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/manifest.json @@ -394,7 +394,7 @@ "validateOnSynth": false, "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}", "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}", - "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/14281b682a7ca3ed1e943e429e06c5a03a8fbbb3eda1d2152450d3a306642b20.json", + "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/fda724f8669745d129f574d1d14abb2921097e328e78fdf22d828fd37e4e4a9c.json", "requiresBootstrapStackVersion": 6, "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version", "additionalDependencies": [ diff --git a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/tree.json b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/tree.json new file mode 100644 index 0000000000000..0b1780e3a9bb3 --- /dev/null +++ b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.js.snapshot/tree.json @@ -0,0 +1 @@ +{"version":"tree-0.1","tree":{"id":"App","path":"","children":{"aws-cdk-scheduler-targets-firehose-put-record":{"id":"aws-cdk-scheduler-targets-firehose-put-record","path":"aws-cdk-scheduler-targets-firehose-put-record","children":{"DestinationBucket":{"id":"DestinationBucket","path":"aws-cdk-scheduler-targets-firehose-put-record/DestinationBucket","children":{"Resource":{"id":"Resource","path":"aws-cdk-scheduler-targets-firehose-put-record/DestinationBucket/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::S3::Bucket","aws:cdk:cloudformation:props":{"tags":[{"key":"aws-cdk:auto-delete-objects","value":"true"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucket","version":"0.0.0"}},"Policy":{"id":"Policy","path":"aws-cdk-scheduler-targets-firehose-put-record/DestinationBucket/Policy","children":{"Resource":{"id":"Resource","path":"aws-cdk-scheduler-targets-firehose-put-record/DestinationBucket/Policy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::S3::BucketPolicy","aws:cdk:cloudformation:props":{"bucket":{"Ref":"DestinationBucket4BECDB47"},"policyDocument":{"Statement":[{"Action":["s3:DeleteObject*","s3:GetBucket*","s3:List*","s3:PutBucketPolicy"],"Effect":"Allow","Principal":{"AWS":{"Fn::GetAtt":["CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092","Arn"]}},"Resource":[{"Fn::GetAtt":["DestinationBucket4BECDB47","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["DestinationBucket4BECDB47","Arn"]},"/*"]]}]}],"Version":"2012-10-17"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucketPolicy","version":"0.0.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketPolicy","version":"0.0.0","metadata":[{"bucket":"*"}]}},"AutoDeleteObjectsCustomResource":{"id":"AutoDeleteObjectsCustomResource","path":"aws-cdk-scheduler-targets-firehose-put-record/DestinationBucket/AutoDeleteObjectsCustomResource","children":{"Default":{"id":"Default","path":"aws-cdk-scheduler-targets-firehose-put-record/DestinationBucket/AutoDeleteObjectsCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"0.0.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"0.0.0","metadata":["*"]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.Bucket","version":"0.0.0","metadata":[{"removalPolicy":"destroy","autoDeleteObjects":true}]}},"LatestNodeRuntimeMap":{"id":"LatestNodeRuntimeMap","path":"aws-cdk-scheduler-targets-firehose-put-record/LatestNodeRuntimeMap","constructInfo":{"fqn":"aws-cdk-lib.CfnMapping","version":"0.0.0"}},"Custom::S3AutoDeleteObjectsCustomResourceProvider":{"id":"Custom::S3AutoDeleteObjectsCustomResourceProvider","path":"aws-cdk-scheduler-targets-firehose-put-record/Custom::S3AutoDeleteObjectsCustomResourceProvider","children":{"Staging":{"id":"Staging","path":"aws-cdk-scheduler-targets-firehose-put-record/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"0.0.0"}},"Role":{"id":"Role","path":"aws-cdk-scheduler-targets-firehose-put-record/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"0.0.0"}},"Handler":{"id":"Handler","path":"aws-cdk-scheduler-targets-firehose-put-record/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"0.0.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"0.0.0"}},"deliveryStreamRole":{"id":"deliveryStreamRole","path":"aws-cdk-scheduler-targets-firehose-put-record/deliveryStreamRole","children":{"ImportdeliveryStreamRole":{"id":"ImportdeliveryStreamRole","path":"aws-cdk-scheduler-targets-firehose-put-record/deliveryStreamRole/ImportdeliveryStreamRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"0.0.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"aws-cdk-scheduler-targets-firehose-put-record/deliveryStreamRole/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"firehose.amazonaws.com"}}],"Version":"2012-10-17"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"0.0.0"}},"DefaultPolicy":{"id":"DefaultPolicy","path":"aws-cdk-scheduler-targets-firehose-put-record/deliveryStreamRole/DefaultPolicy","children":{"Resource":{"id":"Resource","path":"aws-cdk-scheduler-targets-firehose-put-record/deliveryStreamRole/DefaultPolicy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["s3:Abort*","s3:DeleteObject*","s3:GetBucket*","s3:GetObject*","s3:List*","s3:PutObject","s3:PutObjectLegalHold","s3:PutObjectRetention","s3:PutObjectTagging","s3:PutObjectVersionTagging"],"Effect":"Allow","Resource":[{"Fn::GetAtt":["DestinationBucket4BECDB47","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["DestinationBucket4BECDB47","Arn"]},"/*"]]}]},{"Action":["logs:CreateLogStream","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::GetAtt":["MyFirehoseStreamLogGroup5DE95CF8","Arn"]}}],"Version":"2012-10-17"},"policyName":"deliveryStreamRoleDefaultPolicyC9208632","roles":[{"Ref":"deliveryStreamRoleB4288E26"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"0.0.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"0.0.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]},{"addStatements":[{}]},{"addStatements":[{}]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"0.0.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"addToPrincipalPolicy":[{}]},{"addToPrincipalPolicy":[{}]}]}},"MyFirehoseStream":{"id":"MyFirehoseStream","path":"aws-cdk-scheduler-targets-firehose-put-record/MyFirehoseStream","children":{"LogGroup":{"id":"LogGroup","path":"aws-cdk-scheduler-targets-firehose-put-record/MyFirehoseStream/LogGroup","children":{"Resource":{"id":"Resource","path":"aws-cdk-scheduler-targets-firehose-put-record/MyFirehoseStream/LogGroup/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:props":{"retentionInDays":731}},"constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"0.0.0"}},"S3Destination":{"id":"S3Destination","path":"aws-cdk-scheduler-targets-firehose-put-record/MyFirehoseStream/LogGroup/S3Destination","children":{"Resource":{"id":"Resource","path":"aws-cdk-scheduler-targets-firehose-put-record/MyFirehoseStream/LogGroup/S3Destination/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogStream","aws:cdk:cloudformation:props":{"logGroupName":{"Ref":"MyFirehoseStreamLogGroup5DE95CF8"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogStream","version":"0.0.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogStream","version":"0.0.0","metadata":[{"logGroup":"*"}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"0.0.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"aws-cdk-scheduler-targets-firehose-put-record/MyFirehoseStream/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::KinesisFirehose::DeliveryStream","aws:cdk:cloudformation:props":{"deliveryStreamType":"DirectPut","extendedS3DestinationConfiguration":{"cloudWatchLoggingOptions":{"enabled":true,"logGroupName":{"Ref":"MyFirehoseStreamLogGroup5DE95CF8"},"logStreamName":{"Ref":"MyFirehoseStreamLogGroupS3DestinationB2F1AD1D"}},"roleArn":{"Fn::GetAtt":["deliveryStreamRoleB4288E26","Arn"]},"bufferingHints":{"intervalInSeconds":60,"sizeInMBs":5},"bucketArn":{"Fn::GetAtt":["DestinationBucket4BECDB47","Arn"]}}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream","version":"0.0.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_kinesisfirehose.DeliveryStream","version":"0.0.0","metadata":[{"destination":"*"}]}},"@aws-cdk--aws-kinesisfirehose.CidrBlocks":{"id":"@aws-cdk--aws-kinesisfirehose.CidrBlocks","path":"aws-cdk-scheduler-targets-firehose-put-record/@aws-cdk--aws-kinesisfirehose.CidrBlocks","constructInfo":{"fqn":"aws-cdk-lib.CfnMapping","version":"0.0.0"}},"Schedule":{"id":"Schedule","path":"aws-cdk-scheduler-targets-firehose-put-record/Schedule","children":{"Resource":{"id":"Resource","path":"aws-cdk-scheduler-targets-firehose-put-record/Schedule/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Scheduler::Schedule","aws:cdk:cloudformation:props":{"flexibleTimeWindow":{"mode":"OFF"},"scheduleExpression":"rate(1 minute)","scheduleExpressionTimezone":"Etc/UTC","state":"ENABLED","target":{"arn":{"Fn::GetAtt":["MyFirehoseStream2282904B","Arn"]},"roleArn":{"Fn::GetAtt":["SchedulerRoleForTarget5bddb4D77D7575","Arn"]},"input":"{\"Data\":\"record\"}","retryPolicy":{"maximumEventAgeInSeconds":86400,"maximumRetryAttempts":185}}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_scheduler.CfnSchedule","version":"0.0.0"}}},"constructInfo":{"fqn":"@aws-cdk/aws-scheduler-alpha.Schedule","version":"0.0.0","metadata":["*"]}},"SchedulerRoleForTarget-5bddb4":{"id":"SchedulerRoleForTarget-5bddb4","path":"aws-cdk-scheduler-targets-firehose-put-record/SchedulerRoleForTarget-5bddb4","children":{"ImportSchedulerRoleForTarget-5bddb4":{"id":"ImportSchedulerRoleForTarget-5bddb4","path":"aws-cdk-scheduler-targets-firehose-put-record/SchedulerRoleForTarget-5bddb4/ImportSchedulerRoleForTarget-5bddb4","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"0.0.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"aws-cdk-scheduler-targets-firehose-put-record/SchedulerRoleForTarget-5bddb4/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Condition":{"StringEquals":{"aws:SourceAccount":{"Ref":"AWS::AccountId"},"aws:SourceArn":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":scheduler:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":schedule-group/default"]]}}},"Effect":"Allow","Principal":{"Service":"scheduler.amazonaws.com"}}],"Version":"2012-10-17"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"0.0.0"}},"DefaultPolicy":{"id":"DefaultPolicy","path":"aws-cdk-scheduler-targets-firehose-put-record/SchedulerRoleForTarget-5bddb4/DefaultPolicy","children":{"Resource":{"id":"Resource","path":"aws-cdk-scheduler-targets-firehose-put-record/SchedulerRoleForTarget-5bddb4/DefaultPolicy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":"firehose:PutRecord","Effect":"Allow","Resource":{"Fn::GetAtt":["MyFirehoseStream2282904B","Arn"]}}],"Version":"2012-10-17"},"policyName":"SchedulerRoleForTarget5bddb4DefaultPolicy95F55636","roles":[{"Ref":"SchedulerRoleForTarget5bddb4D77D7575"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"0.0.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"0.0.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"0.0.0","metadata":[{"roleName":"*","assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]}},"Exports":{"id":"Exports","path":"aws-cdk-scheduler-targets-firehose-put-record/Exports","children":{"Output{\"Ref\":\"DestinationBucket4BECDB47\"}":{"id":"Output{\"Ref\":\"DestinationBucket4BECDB47\"}","path":"aws-cdk-scheduler-targets-firehose-put-record/Exports/Output{\"Ref\":\"DestinationBucket4BECDB47\"}","constructInfo":{"fqn":"aws-cdk-lib.CfnOutput","version":"0.0.0"}}},"constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"BootstrapVersion":{"id":"BootstrapVersion","path":"aws-cdk-scheduler-targets-firehose-put-record/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"0.0.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"aws-cdk-scheduler-targets-firehose-put-record/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"0.0.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"0.0.0"}},"integrationtest-firehose-put-record":{"id":"integrationtest-firehose-put-record","path":"integrationtest-firehose-put-record","children":{"DefaultTest":{"id":"DefaultTest","path":"integrationtest-firehose-put-record/DefaultTest","children":{"Default":{"id":"Default","path":"integrationtest-firehose-put-record/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert","children":{"AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5":{"id":"AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5","children":{"SdkProvider":{"id":"SdkProvider","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/SdkProvider","children":{"AssertionsProvider":{"id":"AssertionsProvider","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/SdkProvider/AssertionsProvider","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.AssertionsProvider","version":"0.0.0"}},"Default":{"id":"Default","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/Default","children":{"Default":{"id":"Default","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/Default/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"0.0.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"0.0.0","metadata":["*","*","*"]}},"WaitFor":{"id":"WaitFor","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor","children":{"IsCompleteProvider":{"id":"IsCompleteProvider","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor/IsCompleteProvider","children":{"AssertionsProvider":{"id":"AssertionsProvider","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor/IsCompleteProvider/AssertionsProvider","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"Invoke":{"id":"Invoke","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor/IsCompleteProvider/Invoke","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"0.0.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.AssertionsProvider","version":"0.0.0"}},"TimeoutProvider":{"id":"TimeoutProvider","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor/TimeoutProvider","children":{"AssertionsProvider":{"id":"AssertionsProvider","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor/TimeoutProvider/AssertionsProvider","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"Invoke":{"id":"Invoke","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor/TimeoutProvider/Invoke","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"0.0.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.AssertionsProvider","version":"0.0.0"}},"Role":{"id":"Role","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"0.0.0"}},"Resource":{"id":"Resource","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor/Resource","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"0.0.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.WaiterStateMachine","version":"0.0.0"}},"AssertionResults":{"id":"AssertionResults","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/AssertionResults","constructInfo":{"fqn":"aws-cdk-lib.CfnOutput","version":"0.0.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.AwsApiCall","version":"0.0.0"}},"SingletonFunction1488541a7b23466481b69b4408076b81":{"id":"SingletonFunction1488541a7b23466481b69b4408076b81","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction1488541a7b23466481b69b4408076b81","children":{"Staging":{"id":"Staging","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction1488541a7b23466481b69b4408076b81/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"0.0.0"}},"Role":{"id":"Role","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction1488541a7b23466481b69b4408076b81/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"0.0.0"}},"Handler":{"id":"Handler","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction1488541a7b23466481b69b4408076b81/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"0.0.0"}}},"constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"LatestNodeRuntimeMap":{"id":"LatestNodeRuntimeMap","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/LatestNodeRuntimeMap","constructInfo":{"fqn":"aws-cdk-lib.CfnMapping","version":"0.0.0"}},"SingletonFunction76b3e830a873425f8453eddd85c86925":{"id":"SingletonFunction76b3e830a873425f8453eddd85c86925","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction76b3e830a873425f8453eddd85c86925","children":{"Staging":{"id":"Staging","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction76b3e830a873425f8453eddd85c86925/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"0.0.0"}},"Role":{"id":"Role","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction76b3e830a873425f8453eddd85c86925/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"0.0.0"}},"Handler":{"id":"Handler","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction76b3e830a873425f8453eddd85c86925/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"0.0.0"}}},"constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"SingletonFunction5c1898e096fb4e3e95d5f6c67f3ce41a":{"id":"SingletonFunction5c1898e096fb4e3e95d5f6c67f3ce41a","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction5c1898e096fb4e3e95d5f6c67f3ce41a","children":{"Staging":{"id":"Staging","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction5c1898e096fb4e3e95d5f6c67f3ce41a/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"0.0.0"}},"Role":{"id":"Role","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction5c1898e096fb4e3e95d5f6c67f3ce41a/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"0.0.0"}},"Handler":{"id":"Handler","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction5c1898e096fb4e3e95d5f6c67f3ce41a/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"0.0.0"}}},"constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"BootstrapVersion":{"id":"BootstrapVersion","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"0.0.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"integrationtest-firehose-put-record/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"0.0.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"0.0.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"0.0.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"0.0.0"}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}},"constructInfo":{"fqn":"aws-cdk-lib.App","version":"0.0.0"}}} \ No newline at end of file diff --git a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.ts b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.ts similarity index 91% rename from packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.ts rename to packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.ts index 5476159d67ddb..2f80b610ed9a4 100644 --- a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.ts +++ b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.firehose-put-record.ts @@ -3,11 +3,11 @@ import { AwsApiCall, ExpectedResult, IntegTest } from '@aws-cdk/integ-tests-alph import * as cdk from 'aws-cdk-lib'; import * as firehose from 'aws-cdk-lib/aws-kinesisfirehose'; import { Bucket } from 'aws-cdk-lib/aws-s3'; -import { KinesisDataFirehosePutRecord } from '../lib'; +import { FirehosePutRecord } from '../lib'; /* * Stack verification steps: - * A record is put to the kinesis data firehose stream by the scheduler + * A record is put to the Amazon Data Firehose stream by the scheduler * The firehose deliveries the record to S3 bucket * The assertion checks there is an object in the S3 bucket */ @@ -38,7 +38,7 @@ const firehoseStream = new firehose.DeliveryStream(stack, 'MyFirehoseStream', { new scheduler.Schedule(stack, 'Schedule', { schedule: scheduler.ScheduleExpression.rate(cdk.Duration.minutes(1)), - target: new KinesisDataFirehosePutRecord(firehoseStream, { + target: new FirehosePutRecord(firehoseStream, { input: scheduler.ScheduleTargetInput.fromObject(payload), }), }); diff --git a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/tree.json b/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/tree.json deleted file mode 100644 index f02fcdd206ed3..0000000000000 --- a/packages/@aws-cdk/aws-scheduler-targets-alpha/test/integ.kinesis-data-firehose-put-record.js.snapshot/tree.json +++ /dev/null @@ -1,1062 +0,0 @@ -{ - "version": "tree-0.1", - "tree": { - "id": "App", - "path": "", - "children": { - "aws-cdk-scheduler-targets-firehose-put-record": { - "id": "aws-cdk-scheduler-targets-firehose-put-record", - "path": "aws-cdk-scheduler-targets-firehose-put-record", - "children": { - "DestinationBucket": { - "id": "DestinationBucket", - "path": "aws-cdk-scheduler-targets-firehose-put-record/DestinationBucket", - "children": { - "Resource": { - "id": "Resource", - "path": "aws-cdk-scheduler-targets-firehose-put-record/DestinationBucket/Resource", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::S3::Bucket", - "aws:cdk:cloudformation:props": { - "tags": [ - { - "key": "aws-cdk:auto-delete-objects", - "value": "true" - } - ] - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_s3.CfnBucket", - "version": "0.0.0" - } - }, - "Policy": { - "id": "Policy", - "path": "aws-cdk-scheduler-targets-firehose-put-record/DestinationBucket/Policy", - "children": { - "Resource": { - "id": "Resource", - "path": "aws-cdk-scheduler-targets-firehose-put-record/DestinationBucket/Policy/Resource", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy", - "aws:cdk:cloudformation:props": { - "bucket": { - "Ref": "DestinationBucket4BECDB47" - }, - "policyDocument": { - "Statement": [ - { - "Action": [ - "s3:DeleteObject*", - "s3:GetBucket*", - "s3:List*", - "s3:PutBucketPolicy" - ], - "Effect": "Allow", - "Principal": { - "AWS": { - "Fn::GetAtt": [ - "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092", - "Arn" - ] - } - }, - "Resource": [ - { - "Fn::GetAtt": [ - "DestinationBucket4BECDB47", - "Arn" - ] - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::GetAtt": [ - "DestinationBucket4BECDB47", - "Arn" - ] - }, - "/*" - ] - ] - } - ] - } - ], - "Version": "2012-10-17" - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_s3.BucketPolicy", - "version": "0.0.0", - "metadata": [ - { - "bucket": "*" - } - ] - } - }, - "AutoDeleteObjectsCustomResource": { - "id": "AutoDeleteObjectsCustomResource", - "path": "aws-cdk-scheduler-targets-firehose-put-record/DestinationBucket/AutoDeleteObjectsCustomResource", - "children": { - "Default": { - "id": "Default", - "path": "aws-cdk-scheduler-targets-firehose-put-record/DestinationBucket/AutoDeleteObjectsCustomResource/Default", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnResource", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.CustomResource", - "version": "0.0.0", - "metadata": [ - "*" - ] - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_s3.Bucket", - "version": "0.0.0", - "metadata": [ - { - "removalPolicy": "destroy", - "autoDeleteObjects": true - } - ] - } - }, - "LatestNodeRuntimeMap": { - "id": "LatestNodeRuntimeMap", - "path": "aws-cdk-scheduler-targets-firehose-put-record/LatestNodeRuntimeMap", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnMapping", - "version": "0.0.0" - } - }, - "Custom::S3AutoDeleteObjectsCustomResourceProvider": { - "id": "Custom::S3AutoDeleteObjectsCustomResourceProvider", - "path": "aws-cdk-scheduler-targets-firehose-put-record/Custom::S3AutoDeleteObjectsCustomResourceProvider", - "children": { - "Staging": { - "id": "Staging", - "path": "aws-cdk-scheduler-targets-firehose-put-record/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging", - "constructInfo": { - "fqn": "aws-cdk-lib.AssetStaging", - "version": "0.0.0" - } - }, - "Role": { - "id": "Role", - "path": "aws-cdk-scheduler-targets-firehose-put-record/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnResource", - "version": "0.0.0" - } - }, - "Handler": { - "id": "Handler", - "path": "aws-cdk-scheduler-targets-firehose-put-record/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnResource", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.CustomResourceProviderBase", - "version": "0.0.0" - } - }, - "deliveryStreamRole": { - "id": "deliveryStreamRole", - "path": "aws-cdk-scheduler-targets-firehose-put-record/deliveryStreamRole", - "children": { - "ImportdeliveryStreamRole": { - "id": "ImportdeliveryStreamRole", - "path": "aws-cdk-scheduler-targets-firehose-put-record/deliveryStreamRole/ImportdeliveryStreamRole", - "constructInfo": { - "fqn": "aws-cdk-lib.Resource", - "version": "0.0.0", - "metadata": [ - "*" - ] - } - }, - "Resource": { - "id": "Resource", - "path": "aws-cdk-scheduler-targets-firehose-put-record/deliveryStreamRole/Resource", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::IAM::Role", - "aws:cdk:cloudformation:props": { - "assumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "firehose.amazonaws.com" - } - } - ], - "Version": "2012-10-17" - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_iam.CfnRole", - "version": "0.0.0" - } - }, - "DefaultPolicy": { - "id": "DefaultPolicy", - "path": "aws-cdk-scheduler-targets-firehose-put-record/deliveryStreamRole/DefaultPolicy", - "children": { - "Resource": { - "id": "Resource", - "path": "aws-cdk-scheduler-targets-firehose-put-record/deliveryStreamRole/DefaultPolicy/Resource", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::IAM::Policy", - "aws:cdk:cloudformation:props": { - "policyDocument": { - "Statement": [ - { - "Action": [ - "s3:Abort*", - "s3:DeleteObject*", - "s3:GetBucket*", - "s3:GetObject*", - "s3:List*", - "s3:PutObject", - "s3:PutObjectLegalHold", - "s3:PutObjectRetention", - "s3:PutObjectTagging", - "s3:PutObjectVersionTagging" - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::GetAtt": [ - "DestinationBucket4BECDB47", - "Arn" - ] - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::GetAtt": [ - "DestinationBucket4BECDB47", - "Arn" - ] - }, - "/*" - ] - ] - } - ] - }, - { - "Action": [ - "logs:CreateLogStream", - "logs:PutLogEvents" - ], - "Effect": "Allow", - "Resource": { - "Fn::GetAtt": [ - "MyFirehoseStreamLogGroup5DE95CF8", - "Arn" - ] - } - } - ], - "Version": "2012-10-17" - }, - "policyName": "deliveryStreamRoleDefaultPolicyC9208632", - "roles": [ - { - "Ref": "deliveryStreamRoleB4288E26" - } - ] - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_iam.CfnPolicy", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_iam.Policy", - "version": "0.0.0", - "metadata": [ - "*", - { - "attachToRole": [ - "*" - ] - }, - { - "attachToRole": [ - "*" - ] - }, - { - "addStatements": [ - {} - ] - }, - { - "addStatements": [ - {} - ] - }, - { - "addStatements": [ - {} - ] - } - ] - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_iam.Role", - "version": "0.0.0", - "metadata": [ - { - "assumedBy": { - "principalAccount": "*", - "assumeRoleAction": "*" - } - }, - { - "addToPrincipalPolicy": [ - {} - ] - }, - { - "attachInlinePolicy": [ - "*" - ] - }, - { - "attachInlinePolicy": [ - "*" - ] - }, - { - "addToPrincipalPolicy": [ - {} - ] - }, - { - "addToPrincipalPolicy": [ - {} - ] - } - ] - } - }, - "MyFirehoseStream": { - "id": "MyFirehoseStream", - "path": "aws-cdk-scheduler-targets-firehose-put-record/MyFirehoseStream", - "children": { - "LogGroup": { - "id": "LogGroup", - "path": "aws-cdk-scheduler-targets-firehose-put-record/MyFirehoseStream/LogGroup", - "children": { - "Resource": { - "id": "Resource", - "path": "aws-cdk-scheduler-targets-firehose-put-record/MyFirehoseStream/LogGroup/Resource", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::Logs::LogGroup", - "aws:cdk:cloudformation:props": { - "retentionInDays": 731 - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup", - "version": "0.0.0" - } - }, - "S3Destination": { - "id": "S3Destination", - "path": "aws-cdk-scheduler-targets-firehose-put-record/MyFirehoseStream/LogGroup/S3Destination", - "children": { - "Resource": { - "id": "Resource", - "path": "aws-cdk-scheduler-targets-firehose-put-record/MyFirehoseStream/LogGroup/S3Destination/Resource", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::Logs::LogStream", - "aws:cdk:cloudformation:props": { - "logGroupName": { - "Ref": "MyFirehoseStreamLogGroup5DE95CF8" - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_logs.CfnLogStream", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_logs.LogStream", - "version": "0.0.0", - "metadata": [ - { - "logGroup": "*" - } - ] - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_logs.LogGroup", - "version": "0.0.0", - "metadata": [ - "*" - ] - } - }, - "Resource": { - "id": "Resource", - "path": "aws-cdk-scheduler-targets-firehose-put-record/MyFirehoseStream/Resource", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::KinesisFirehose::DeliveryStream", - "aws:cdk:cloudformation:props": { - "deliveryStreamType": "DirectPut", - "extendedS3DestinationConfiguration": { - "cloudWatchLoggingOptions": { - "enabled": true, - "logGroupName": { - "Ref": "MyFirehoseStreamLogGroup5DE95CF8" - }, - "logStreamName": { - "Ref": "MyFirehoseStreamLogGroupS3DestinationB2F1AD1D" - } - }, - "roleArn": { - "Fn::GetAtt": [ - "deliveryStreamRoleB4288E26", - "Arn" - ] - }, - "bufferingHints": { - "intervalInSeconds": 60, - "sizeInMBs": 5 - }, - "bucketArn": { - "Fn::GetAtt": [ - "DestinationBucket4BECDB47", - "Arn" - ] - } - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_kinesisfirehose.DeliveryStream", - "version": "0.0.0", - "metadata": [ - { - "destination": "*" - } - ] - } - }, - "@aws-cdk--aws-kinesisfirehose.CidrBlocks": { - "id": "@aws-cdk--aws-kinesisfirehose.CidrBlocks", - "path": "aws-cdk-scheduler-targets-firehose-put-record/@aws-cdk--aws-kinesisfirehose.CidrBlocks", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnMapping", - "version": "0.0.0" - } - }, - "Schedule": { - "id": "Schedule", - "path": "aws-cdk-scheduler-targets-firehose-put-record/Schedule", - "children": { - "Resource": { - "id": "Resource", - "path": "aws-cdk-scheduler-targets-firehose-put-record/Schedule/Resource", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::Scheduler::Schedule", - "aws:cdk:cloudformation:props": { - "flexibleTimeWindow": { - "mode": "OFF" - }, - "scheduleExpression": "rate(1 minute)", - "scheduleExpressionTimezone": "Etc/UTC", - "state": "ENABLED", - "target": { - "arn": { - "Fn::GetAtt": [ - "MyFirehoseStream2282904B", - "Arn" - ] - }, - "roleArn": { - "Fn::GetAtt": [ - "SchedulerRoleForTarget5bddb4D77D7575", - "Arn" - ] - }, - "input": "{\"Data\":\"record\"}", - "retryPolicy": { - "maximumEventAgeInSeconds": 86400, - "maximumRetryAttempts": 185 - } - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_scheduler.CfnSchedule", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/aws-scheduler-alpha.Schedule", - "version": "0.0.0", - "metadata": [ - "*" - ] - } - }, - "SchedulerRoleForTarget-5bddb4": { - "id": "SchedulerRoleForTarget-5bddb4", - "path": "aws-cdk-scheduler-targets-firehose-put-record/SchedulerRoleForTarget-5bddb4", - "children": { - "ImportSchedulerRoleForTarget-5bddb4": { - "id": "ImportSchedulerRoleForTarget-5bddb4", - "path": "aws-cdk-scheduler-targets-firehose-put-record/SchedulerRoleForTarget-5bddb4/ImportSchedulerRoleForTarget-5bddb4", - "constructInfo": { - "fqn": "aws-cdk-lib.Resource", - "version": "0.0.0", - "metadata": [ - "*" - ] - } - }, - "Resource": { - "id": "Resource", - "path": "aws-cdk-scheduler-targets-firehose-put-record/SchedulerRoleForTarget-5bddb4/Resource", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::IAM::Role", - "aws:cdk:cloudformation:props": { - "assumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Condition": { - "StringEquals": { - "aws:SourceAccount": { - "Ref": "AWS::AccountId" - }, - "aws:SourceArn": { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition" - }, - ":scheduler:", - { - "Ref": "AWS::Region" - }, - ":", - { - "Ref": "AWS::AccountId" - }, - ":schedule-group/default" - ] - ] - } - } - }, - "Effect": "Allow", - "Principal": { - "Service": "scheduler.amazonaws.com" - } - } - ], - "Version": "2012-10-17" - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_iam.CfnRole", - "version": "0.0.0" - } - }, - "DefaultPolicy": { - "id": "DefaultPolicy", - "path": "aws-cdk-scheduler-targets-firehose-put-record/SchedulerRoleForTarget-5bddb4/DefaultPolicy", - "children": { - "Resource": { - "id": "Resource", - "path": "aws-cdk-scheduler-targets-firehose-put-record/SchedulerRoleForTarget-5bddb4/DefaultPolicy/Resource", - "attributes": { - "aws:cdk:cloudformation:type": "AWS::IAM::Policy", - "aws:cdk:cloudformation:props": { - "policyDocument": { - "Statement": [ - { - "Action": "firehose:PutRecord", - "Effect": "Allow", - "Resource": { - "Fn::GetAtt": [ - "MyFirehoseStream2282904B", - "Arn" - ] - } - } - ], - "Version": "2012-10-17" - }, - "policyName": "SchedulerRoleForTarget5bddb4DefaultPolicy95F55636", - "roles": [ - { - "Ref": "SchedulerRoleForTarget5bddb4D77D7575" - } - ] - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_iam.CfnPolicy", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_iam.Policy", - "version": "0.0.0", - "metadata": [ - "*", - { - "attachToRole": [ - "*" - ] - }, - { - "attachToRole": [ - "*" - ] - }, - { - "addStatements": [ - {} - ] - } - ] - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.aws_iam.Role", - "version": "0.0.0", - "metadata": [ - { - "roleName": "*", - "assumedBy": { - "principalAccount": "*", - "assumeRoleAction": "*" - } - }, - { - "addToPrincipalPolicy": [ - {} - ] - }, - { - "attachInlinePolicy": [ - "*" - ] - }, - { - "attachInlinePolicy": [ - "*" - ] - } - ] - } - }, - "Exports": { - "id": "Exports", - "path": "aws-cdk-scheduler-targets-firehose-put-record/Exports", - "children": { - "Output{\"Ref\":\"DestinationBucket4BECDB47\"}": { - "id": "Output{\"Ref\":\"DestinationBucket4BECDB47\"}", - "path": "aws-cdk-scheduler-targets-firehose-put-record/Exports/Output{\"Ref\":\"DestinationBucket4BECDB47\"}", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnOutput", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "constructs.Construct", - "version": "10.4.2" - } - }, - "BootstrapVersion": { - "id": "BootstrapVersion", - "path": "aws-cdk-scheduler-targets-firehose-put-record/BootstrapVersion", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnParameter", - "version": "0.0.0" - } - }, - "CheckBootstrapVersion": { - "id": "CheckBootstrapVersion", - "path": "aws-cdk-scheduler-targets-firehose-put-record/CheckBootstrapVersion", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnRule", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.Stack", - "version": "0.0.0" - } - }, - "integrationtest-firehose-put-record": { - "id": "integrationtest-firehose-put-record", - "path": "integrationtest-firehose-put-record", - "children": { - "DefaultTest": { - "id": "DefaultTest", - "path": "integrationtest-firehose-put-record/DefaultTest", - "children": { - "Default": { - "id": "Default", - "path": "integrationtest-firehose-put-record/DefaultTest/Default", - "constructInfo": { - "fqn": "constructs.Construct", - "version": "10.4.2" - } - }, - "DeployAssert": { - "id": "DeployAssert", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert", - "children": { - "AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5": { - "id": "AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5", - "children": { - "SdkProvider": { - "id": "SdkProvider", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/SdkProvider", - "children": { - "AssertionsProvider": { - "id": "AssertionsProvider", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/SdkProvider/AssertionsProvider", - "constructInfo": { - "fqn": "constructs.Construct", - "version": "10.4.2" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/integ-tests-alpha.AssertionsProvider", - "version": "0.0.0" - } - }, - "Default": { - "id": "Default", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/Default", - "children": { - "Default": { - "id": "Default", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/Default/Default", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnResource", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.CustomResource", - "version": "0.0.0", - "metadata": [ - "*", - "*", - "*" - ] - } - }, - "WaitFor": { - "id": "WaitFor", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor", - "children": { - "IsCompleteProvider": { - "id": "IsCompleteProvider", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor/IsCompleteProvider", - "children": { - "AssertionsProvider": { - "id": "AssertionsProvider", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor/IsCompleteProvider/AssertionsProvider", - "constructInfo": { - "fqn": "constructs.Construct", - "version": "10.4.2" - } - }, - "Invoke": { - "id": "Invoke", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor/IsCompleteProvider/Invoke", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnResource", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/integ-tests-alpha.AssertionsProvider", - "version": "0.0.0" - } - }, - "TimeoutProvider": { - "id": "TimeoutProvider", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor/TimeoutProvider", - "children": { - "AssertionsProvider": { - "id": "AssertionsProvider", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor/TimeoutProvider/AssertionsProvider", - "constructInfo": { - "fqn": "constructs.Construct", - "version": "10.4.2" - } - }, - "Invoke": { - "id": "Invoke", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor/TimeoutProvider/Invoke", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnResource", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/integ-tests-alpha.AssertionsProvider", - "version": "0.0.0" - } - }, - "Role": { - "id": "Role", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor/Role", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnResource", - "version": "0.0.0" - } - }, - "Resource": { - "id": "Resource", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/WaitFor/Resource", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnResource", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/integ-tests-alpha.WaiterStateMachine", - "version": "0.0.0" - } - }, - "AssertionResults": { - "id": "AssertionResults", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/AwsApiCallS3listObjectsV282e20e13f84521e63643504ea8e737e5/AssertionResults", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnOutput", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/integ-tests-alpha.AwsApiCall", - "version": "0.0.0" - } - }, - "SingletonFunction1488541a7b23466481b69b4408076b81": { - "id": "SingletonFunction1488541a7b23466481b69b4408076b81", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction1488541a7b23466481b69b4408076b81", - "children": { - "Staging": { - "id": "Staging", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction1488541a7b23466481b69b4408076b81/Staging", - "constructInfo": { - "fqn": "aws-cdk-lib.AssetStaging", - "version": "0.0.0" - } - }, - "Role": { - "id": "Role", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction1488541a7b23466481b69b4408076b81/Role", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnResource", - "version": "0.0.0" - } - }, - "Handler": { - "id": "Handler", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction1488541a7b23466481b69b4408076b81/Handler", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnResource", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "constructs.Construct", - "version": "10.4.2" - } - }, - "LatestNodeRuntimeMap": { - "id": "LatestNodeRuntimeMap", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/LatestNodeRuntimeMap", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnMapping", - "version": "0.0.0" - } - }, - "SingletonFunction76b3e830a873425f8453eddd85c86925": { - "id": "SingletonFunction76b3e830a873425f8453eddd85c86925", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction76b3e830a873425f8453eddd85c86925", - "children": { - "Staging": { - "id": "Staging", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction76b3e830a873425f8453eddd85c86925/Staging", - "constructInfo": { - "fqn": "aws-cdk-lib.AssetStaging", - "version": "0.0.0" - } - }, - "Role": { - "id": "Role", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction76b3e830a873425f8453eddd85c86925/Role", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnResource", - "version": "0.0.0" - } - }, - "Handler": { - "id": "Handler", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction76b3e830a873425f8453eddd85c86925/Handler", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnResource", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "constructs.Construct", - "version": "10.4.2" - } - }, - "SingletonFunction5c1898e096fb4e3e95d5f6c67f3ce41a": { - "id": "SingletonFunction5c1898e096fb4e3e95d5f6c67f3ce41a", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction5c1898e096fb4e3e95d5f6c67f3ce41a", - "children": { - "Staging": { - "id": "Staging", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction5c1898e096fb4e3e95d5f6c67f3ce41a/Staging", - "constructInfo": { - "fqn": "aws-cdk-lib.AssetStaging", - "version": "0.0.0" - } - }, - "Role": { - "id": "Role", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction5c1898e096fb4e3e95d5f6c67f3ce41a/Role", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnResource", - "version": "0.0.0" - } - }, - "Handler": { - "id": "Handler", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/SingletonFunction5c1898e096fb4e3e95d5f6c67f3ce41a/Handler", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnResource", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "constructs.Construct", - "version": "10.4.2" - } - }, - "BootstrapVersion": { - "id": "BootstrapVersion", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/BootstrapVersion", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnParameter", - "version": "0.0.0" - } - }, - "CheckBootstrapVersion": { - "id": "CheckBootstrapVersion", - "path": "integrationtest-firehose-put-record/DefaultTest/DeployAssert/CheckBootstrapVersion", - "constructInfo": { - "fqn": "aws-cdk-lib.CfnRule", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.Stack", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase", - "version": "0.0.0" - } - } - }, - "constructInfo": { - "fqn": "@aws-cdk/integ-tests-alpha.IntegTest", - "version": "0.0.0" - } - }, - "Tree": { - "id": "Tree", - "path": "Tree", - "constructInfo": { - "fqn": "constructs.Construct", - "version": "10.4.2" - } - } - }, - "constructInfo": { - "fqn": "aws-cdk-lib.App", - "version": "0.0.0" - } - } -} \ No newline at end of file