Aws cloud formation template: how to provide retention period for Kinesis resource?

kinesis cloudformation example
aws kinesis
kinesis firehose cloudformation example
aws::kinesis::streamconsumer
cloudformation kinesis enhanced monitoring
aws kinesis firehose
aws::lambda::eventsourcemapping
alias/aws/kinesis

Aws cloud formation template: how to provide retention period for Kinesis resource?

Hi, I want to specify retention period for Kinesis , I didn't find any property in documentation. Is there a way to achieve this?

It’s not possible to do it through CF. Kinesis stream is being created by CreateStream API call while changing retention period requires separate call, two of them actually: IncreaseStreamRetentionPeriod and DecreaseStreamRetentionPeriod. They can be called only after stream is created.

Aws cloud formation template: how to provide retention period for , It's not possible to do it through CF. Kinesis stream is being created by CreateStream API call while changing retention period requires separate� Aws cloud formation template: how to provide retention period for Kinesis resource? 2 Why API Gateway custom domain creation does not supported in cloud formation templates

MongoCDCStream:
Type: AWS::Kinesis::Stream
Properties:
  Name: !Ref CFNStreamName
  RetentionPeriodHours: !Ref CFNRetensionHours
  ShardCount: !Ref CFNShardCount
  StreamEncryption:
      EncryptionType: KMS
      KeyId: alias/aws/kinesis

Amazon Kinesis Data Streams: Auto-Scaling Data Retention Period , Downstream consumers “get” data from streams (it is not pushed to applications by KDS). KDS Data Retention Period setting in AWS Console than necessary, they will be paying for resources they aren't using. The CloudWatch alarms and SNS topic were created in a CloudFormation template. Currently, AWS CloudFormation doesn’t support point-in-time recovery, so there is an AWS CloudFormation custom resource as a workaround. Custom resources enable you to write custom provisioning logic in templates that AWS CloudFormation runs anytime you create, update (if you changed the custom resource), or delete stacks.

If you are talking about data records that are stored in shards to remain accessible. then below is the property.

RetentionPeriodHours The number of hours for the data records that are stored in shards to remain accessible. The default value is 24. For more information about the stream retention period, see Changing the Data Retention Period in the Amazon Kinesis Developer Guide.

Required: No

Type: Integer

Update requires: No interruption

MyStream:
  Type: AWS::Kinesis::Stream
  Properties:
    Name: MyKinesisStream
    RetentionPeriodHours: 168
    ShardCount: 3
    StreamEncryption:
        EncryptionType: KMS
        KeyId: !Ref myKey
    Tags:
      -
        Key: Environment
        Value: Production

Reference URL: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-stream.html

kinesis_stream | Resources | hashicorp/aws, Provides a Kinesis Stream resource. Amazon Kinesis is a managed service that scales elastically for real-time processing of streaming big data. For more details, � Amazon KinesisMakes it easy to collect, process, and analyze real-time, streaming data. Kinesis can ingest real-time data such as video, audio, application logs, website clickstreams, and IoT telemetry data for machine learning, analytics, and other applications.Kinesis Video StreamsA fully managed AWS service that you

[PDF] CloudFormation Command Line Interface, Using the CloudFormation CLI to Create Resource Providers . AWS Command Line Interface for access to aws cloudformation Increased resource stabilization time, from 12 hours to 36 hours, If you have functions defined in your SAM template, it will provide an AWS::Kinesis::Stream resource. Another important tool to to mention CloudFormer which allow you to create a new template based on your existing cloud resource. The template configuration is stored in S3 and using CloudFormer you can create a template of a stack of an application that is already running, allowing you to replicate it in the same AWS region or even across regions.

aws-samples/reactive-refarch-cloudformation: Reactive , This reference architecture provides a set of YAML templates for deploying a Two AWS Lambda-functions to consume data from Amazon Kinesis Streams to With CloudFormation, you can see exactly which AWS resources make up a stack. You can also adjust the log retention period from the default 365 days by � Define automated backups with a backup retention period of 30 days for the Amazon RDS database and perform point -in -time recovery of the database after the AWS CloudFormation stack is deleted. ( as the environment is required for limited time the automated backup will not serve the purpose )

CloudFormation, AWS CloudFormation uses the service role's policy to make calls instead of the Create a single CloudFormation template to create all the resources since it Define automated backups with a backup retention period of 30 days for the Amazon Kinesis (4), Kinesis Data Firehose (2), Kinesis Data Streams (2), KMS (1)� AWS CloudFormation simplifies provisioning and management on AWS. You can create templates for the service or application architectures you want and have AWS CloudFormation use those templates for quick and reliable provisioning of the services or applications (called “stacks”). You can also easily update or replicate the stacks as needed.

Comments