Package: aws-solutions-constructs.aws-eventbridge-kinesis-firehose-s3
aws-eventbridge-kinesisfirehose-s3 module---Reference Documentation:https://docs.aws.amazon.com/solutions/latest/constructs/LanguagePackagePythonaws_solutions_constructs.aws_eventbridge_kinesisfirehose_s3Typescript@aws-solutions-constructs/aws-eventbridge-kinesisfirehose-s3Javasoftware.amazon.awsconstructs.services.eventbridgekinesisfirehoses3OverviewThis AWS Solutions Construct implements an Amazon EventBridge Rule to send data to an Amazon Kinesis Data Firehose delivery stream connected to an Amazon S3 bucket.Here is a minimal deployable pattern definition:Typescriptimport{Construct}from'constructs';import{Stack,StackProps,Duration}from'aws-cdk-lib';import{EventbridgeToKinesisFirehoseToS3,EventbridgeToKinesisFirehoseToS3Props}from'@aws-solutions-constructs/aws-eventbridge-kinesisfirehose-s3';import*aseventsfrom'aws-cdk-lib/aws-events';constEventbridgeToKinesisFirehoseToS3Props:EventbridgeToKinesisFirehoseToS3Props={eventRuleProps:{schedule:events.Schedule.rate(Duration.minutes(5))}};newEventbridgeToKinesisFirehoseToS3(this,'test-eventbridge-firehose-s3',EventbridgeToKinesisFirehoseToS3Props);Pythonfromaws_solutions_constructs.aws_eventbridge_kinesis_firehose_s3importEventbridgeToKinesisFirehoseToS3,EventbridgeToKinesisFirehoseToS3Propsfromaws_cdkimport(aws_eventsasevents,Duration,Stack)fromconstructsimportConstructEventbridgeToKinesisFirehoseToS3(self,'test-eventbridge-firehose-s3',event_rule_props=events.RuleProps(schedule=events.Schedule.rate(Duration.minutes(5))))Javaimportsoftware.constructs.Construct;importsoftware.amazon.awscdk.Stack;importsoftware.amazon.awscdk.StackProps;importsoftware.amazon.awscdk.Duration;importsoftware.amazon.awscdk.services.events.*;importsoftware.amazon.awsconstructs.services.eventbridgekinesisfirehoses3.*;newEventbridgeToKinesisFirehoseToS3(this,"test-eventbridge-firehose-s3",newEventbridgeToKinesisFirehoseToS3Props.Builder().eventRuleProps(newRuleProps.Builder().schedule(Schedule.rate(Duration.minutes(5))).build()).build());Pattern Construct PropsNameTypeDescriptionexistingEventBusInterface?events.IEventBusOptional user-provided custom EventBus for construct to use. Providing both this andeventBusPropsresults an error.eventBusProps?events.EventBusPropsOptional user-provided properties to override the default properties when creating a custom EventBus. Setting this value to{}will create a custom EventBus using all default properties. If neither this norexistingEventBusInterfaceis provided the construct will use thedefaultEventBus. Providing both this andexistingEventBusInterfaceresults an error.eventRulePropsevents.RulePropsUser provided eventRuleProps to override the defaults.kinesisFirehoseProps?kinesisfirehose.CfnDeliveryStreamPropsOptional user provided props to override the default props for Kinesis Firehose Delivery StreamexistingBucketObj?s3.IBucketExisting instance of S3 Bucket object. If this is provided, then also providing bucketProps is an error.bucketProps?s3.BucketPropsUser provided props to override the default props for the S3 Bucket.logGroupProps?logs.LogGroupPropsUser provided props to override the default props for for the CloudWatchLogs LogGroup.loggingBucketProps?s3.BucketPropsOptional user provided props to override the default props for the S3 Logging Bucket.logS3AccessLogs?booleanWhether to turn on Access Logging for the S3 bucket. Creates an S3 bucket with associated storage costs for the logs. Enabling Access Logging is a best practice. default - trueNOTE:existingLoggingBucketObjhas been deprecated - to specify an existing Log Bucket, usebucketProps.serverAccessLogsBucket.Pattern PropertiesNameTypeDescriptioneventBus?events.IEventBusReturns the instance of events.IEventBus used by the constructeventsRuleevents.RuleReturns an instance of events.Rule created by the construct.kinesisFirehosekinesisfirehose.CfnDeliveryStreamReturns an instance of kinesisfirehose.CfnDeliveryStream created by the constructs3Bucket?s3.BucketReturns an instance of s3.Bucket created by the constructs3LoggingBucket?s3.BucketReturns an instance of s3.Bucket created by the construct as the logging bucket for the primary bucket.eventsRoleiam.RoleReturns an instance of the iam.Role created by the construct for Events RulekinesisFirehoseRoleiam.RoleReturns an instance of the iam.Role created by the construct for Kinesis Data Firehose delivery streamkinesisFirehoseLogGrouplogs.LogGroupReturns an instance of the LogGroup created by the construct for Kinesis Data Firehose delivery streams3BucketInterfaces3.IBucketReturns an instance of s3.IBucket created by the constructDefault settingsOut of the box implementation of the Construct without any override will set the following defaults:Amazon EventBridge RuleConfigure least privilege access IAM role for Amazon EventBridge Rule to publish to the Kinesis Firehose Delivery Stream.Amazon Kinesis FirehoseEnable CloudWatch logging for Kinesis FirehoseConfigure least privilege access IAM role for Amazon Kinesis FirehoseAmazon S3 BucketConfigure Access logging for S3 BucketEnable server-side encryption for S3 Bucket using AWS managed KMS KeyTurn on the versioning for S3 BucketDon't allow public access for S3 BucketRetain the S3 Bucket when deleting the CloudFormation stackApplies Lifecycle rule to move noncurrent object versions to Glacier storage after 90 daysArchitecture© Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.