diff --git a/source/patterns/@aws-solutions-constructs/aws-kinesisfirehose-s3/lib/index.ts b/source/patterns/@aws-solutions-constructs/aws-kinesisfirehose-s3/lib/index.ts index 9f01075f4..27103b099 100644 --- a/source/patterns/@aws-solutions-constructs/aws-kinesisfirehose-s3/lib/index.ts +++ b/source/patterns/@aws-solutions-constructs/aws-kinesisfirehose-s3/lib/index.ts @@ -49,7 +49,17 @@ export interface KinesisFirehoseToS3Props { * * @default - Default props are used */ - readonly kinesisFirehoseProps?: kinesisfirehose.CfnDeliveryStreamProps | any; + readonly kinesisFirehoseProps?: Omit< + kinesisfirehose.CfnDeliveryStreamProps, + "extendedS3DestinationConfiguration" + > & { + extendedS3DestinationConfiguration: + | Omit< + kinesisfirehose.CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty, + "bucketArn" | "roleArn" + > + | cdk.IResolvable; + }; /** * Optional user provided props to override the default props for the CloudWatchLogs LogGroup. *