-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding KinesisStreamInput interface to take optional timestmap
- Loading branch information
Lee Hannigan
committed
Oct 19, 2024
1 parent
ae47336
commit fb7e41b
Showing
11 changed files
with
859 additions
and
28 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...amework-integ/test/aws-dynamodb/test/integ.dynamodb-v2.kinesis-stream.js.snapshot/cdk.out
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
...integ.dynamodb-v2.kinesis-stream.js.snapshot/global-table-kinesis-stream-test.assets.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
200 changes: 200 additions & 0 deletions
200
...teg.dynamodb-v2.kinesis-stream.js.snapshot/global-table-kinesis-stream-test.template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,200 @@ | ||
{ | ||
"Resources": { | ||
"Stream790BDEE4": { | ||
"Type": "AWS::Kinesis::Stream", | ||
"Properties": { | ||
"RetentionPeriodHours": 24, | ||
"ShardCount": 1, | ||
"StreamEncryption": { | ||
"Fn::If": [ | ||
"AwsCdkKinesisEncryptedStreamsUnsupportedRegions", | ||
{ | ||
"Ref": "AWS::NoValue" | ||
}, | ||
{ | ||
"EncryptionType": "KMS", | ||
"KeyId": "alias/aws/kinesis" | ||
} | ||
] | ||
} | ||
}, | ||
"UpdateReplacePolicy": "Retain", | ||
"DeletionPolicy": "Retain" | ||
}, | ||
"KinesisStream1AE0A3437": { | ||
"Type": "AWS::Kinesis::Stream", | ||
"Properties": { | ||
"RetentionPeriodHours": 24, | ||
"ShardCount": 1, | ||
"StreamEncryption": { | ||
"Fn::If": [ | ||
"AwsCdkKinesisEncryptedStreamsUnsupportedRegions", | ||
{ | ||
"Ref": "AWS::NoValue" | ||
}, | ||
{ | ||
"EncryptionType": "KMS", | ||
"KeyId": "alias/aws/kinesis" | ||
} | ||
] | ||
} | ||
}, | ||
"UpdateReplacePolicy": "Retain", | ||
"DeletionPolicy": "Retain" | ||
}, | ||
"TableCD117FA1": { | ||
"Type": "AWS::DynamoDB::GlobalTable", | ||
"Properties": { | ||
"AttributeDefinitions": [ | ||
{ | ||
"AttributeName": "hashKey", | ||
"AttributeType": "S" | ||
} | ||
], | ||
"BillingMode": "PAY_PER_REQUEST", | ||
"KeySchema": [ | ||
{ | ||
"AttributeName": "hashKey", | ||
"KeyType": "HASH" | ||
} | ||
], | ||
"Replicas": [ | ||
{ | ||
"KinesisStreamSpecification": { | ||
"StreamArn": { | ||
"Fn::GetAtt": [ | ||
"Stream790BDEE4", | ||
"Arn" | ||
] | ||
} | ||
}, | ||
"Region": "eu-west-1" | ||
} | ||
] | ||
}, | ||
"UpdateReplacePolicy": "Delete", | ||
"DeletionPolicy": "Delete" | ||
}, | ||
"Table2DBDCD1F7": { | ||
"Type": "AWS::DynamoDB::GlobalTable", | ||
"Properties": { | ||
"AttributeDefinitions": [ | ||
{ | ||
"AttributeName": "hashKey", | ||
"AttributeType": "S" | ||
} | ||
], | ||
"BillingMode": "PAY_PER_REQUEST", | ||
"KeySchema": [ | ||
{ | ||
"AttributeName": "hashKey", | ||
"KeyType": "HASH" | ||
} | ||
], | ||
"Replicas": [ | ||
{ | ||
"Region": "us-east-1" | ||
}, | ||
{ | ||
"KinesisStreamSpecification": { | ||
"ApproximateCreationDateTimePrecision": "MILLISECOND", | ||
"StreamArn": { | ||
"Fn::GetAtt": [ | ||
"KinesisStream1AE0A3437", | ||
"Arn" | ||
] | ||
} | ||
}, | ||
"Region": "eu-west-1" | ||
} | ||
], | ||
"StreamSpecification": { | ||
"StreamViewType": "NEW_AND_OLD_IMAGES" | ||
} | ||
}, | ||
"UpdateReplacePolicy": "Delete", | ||
"DeletionPolicy": "Delete" | ||
}, | ||
"Table3D174A7C6": { | ||
"Type": "AWS::DynamoDB::GlobalTable", | ||
"Properties": { | ||
"AttributeDefinitions": [ | ||
{ | ||
"AttributeName": "hashKey", | ||
"AttributeType": "S" | ||
} | ||
], | ||
"BillingMode": "PAY_PER_REQUEST", | ||
"KeySchema": [ | ||
{ | ||
"AttributeName": "hashKey", | ||
"KeyType": "HASH" | ||
} | ||
], | ||
"Replicas": [ | ||
{ | ||
"Region": "eu-west-1" | ||
} | ||
] | ||
}, | ||
"UpdateReplacePolicy": "Delete", | ||
"DeletionPolicy": "Delete" | ||
} | ||
}, | ||
"Conditions": { | ||
"AwsCdkKinesisEncryptedStreamsUnsupportedRegions": { | ||
"Fn::Or": [ | ||
{ | ||
"Fn::Equals": [ | ||
{ | ||
"Ref": "AWS::Region" | ||
}, | ||
"cn-north-1" | ||
] | ||
}, | ||
{ | ||
"Fn::Equals": [ | ||
{ | ||
"Ref": "AWS::Region" | ||
}, | ||
"cn-northwest-1" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"Parameters": { | ||
"BootstrapVersion": { | ||
"Type": "AWS::SSM::Parameter::Value<String>", | ||
"Default": "/cdk-bootstrap/hnb659fds/version", | ||
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]" | ||
} | ||
}, | ||
"Rules": { | ||
"CheckBootstrapVersion": { | ||
"Assertions": [ | ||
{ | ||
"Assert": { | ||
"Fn::Not": [ | ||
{ | ||
"Fn::Contains": [ | ||
[ | ||
"1", | ||
"2", | ||
"3", | ||
"4", | ||
"5" | ||
], | ||
{ | ||
"Ref": "BootstrapVersion" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI." | ||
} | ||
] | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...is-stream.js.snapshot/globaltablekinesisstreamDefaultTestDeployAssert1282D084.assets.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
...-stream.js.snapshot/globaltablekinesisstreamDefaultTestDeployAssert1282D084.template.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
...work-integ/test/aws-dynamodb/test/integ.dynamodb-v2.kinesis-stream.js.snapshot/integ.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.