aws / aws-cdk

The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
https://aws.amazon.com/cdk
Apache License 2.0
11.68k stars 3.93k forks source link

CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty: file_extension parameter does not exist #32154

Open ayankowsky opened 4 hours ago

ayankowsky commented 4 hours ago

Describe the issue

Using the file_extension parameter results in an error.

TypeError: CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.__init__() got an unexpected keyword argument 'file_extension'

Links

https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_kinesisfirehose/CfnDeliveryStream.html#aws_cdk.aws_kinesisfirehose.CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty

khushail commented 3 hours ago

Hi @ayankowsky , thanks for reaching out. The cloudformation docs specify FileExtension as property under ExtendedS3Configuration -https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-extendeds3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-extendeds3destinationconfiguration-fileextension.

Could you please share a minimum code snippet which can repro the error. Thanks