-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws_kinesis : Kinesis does not include streamMode Provisioned in CFN Template #31293
Comments
I believe this was removed as part of this issue and the commit associated with it: #21829. If that's the case, isn't the documentation incorrect to state that streamMode will be set to Provisioned by default? |
@Exter-dg Good morning. Thanks for opening the issue. The documentation just indicates that the property Thanks, |
I believe this was previously a bug that got fixed in #24994 In that bug, when The fix made it implicitly set as Type: AWS::Kinesis::Stream
Properties:
Name: myStreamName
RetentionPeriodHours: 24
ShardCount: 1
StreamEncryption:
Fn::If:
- AwsCdkKinesisEncryptedStreamsUnsupportedRegions
- Ref: AWS::NoValue
- EncryptionType: KMS
KeyId: alias/aws/kinesis The Given |
@Exter-dg Please review guidance above and confirm if we are good to close the issue. Thanks, |
Thanks @ashishdhingra @pahud, This makes things clearer for me. Closing this issue. |
Comments on closed issues and PRs are hard for our team to see. |
Describe the bug
The Kinesis Stream documentation says that the default value of
streamMode
isProvisioned
. But the cloudformation template omits this field in the latest version. It was set to Provisioned explicitly in previous versions - https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kinesis.Stream.html#streammodeThis was not an issue earlier in 1.204.0 as streamMode was set to Provisioned in the CDK Code itself - https://github.com/aws/aws-cdk/blob/9752ed225c82982d8b443f7c6a47f47979458217/packages/%40aws-cdk/aws-kinesis/lib/stream.ts#L759C44-L759C67
But currently, it is set to undefined. While migrating from 1.204.0 to latest, I noticed that StreamMode was being removed from my Cloudformation template (diff). Even though the documentation states that it will be Provisioned by default.
Regression Issue
Last Known Working CDK Version
1.204.0
Expected Behavior
StreamMode should be set to Provisioned by default as mentioned in the docs
Current Behavior
StreamMode is undefined and omitted from Cloudformation Template
Reproduction Steps
Possible Solution
Set default value of streammode to provisioned in the code
Additional Information/Context
No response
CDK CLI Version
2.108.1
Framework Version
No response
Node.js Version
v22.1.0
OS
MacOs
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: