-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(kinesisfirehose): graduate to stable 🚀 (#33296)
### Issue # (if applicable) Closes #7536. ### Description of changes We are excited to graduate the `@aws-cdk/aws-kinesisfirehose-alpha` and `@aws-cdk/aws-kinesisfirehose-destinations-alpha` modules to STABLE. They now live on as `aws-cdk-lib/aws-kinesisfirehose`. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
Showing
61 changed files
with
104,479 additions
and
37 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
...ehose/test/integ.delivery-stream.js.snapshot/aws-cdk-firehose-delivery-stream.assets.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
354 changes: 354 additions & 0 deletions
354
...ose/test/integ.delivery-stream.js.snapshot/aws-cdk-firehose-delivery-stream.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,354 @@ | ||
{ | ||
"Resources": { | ||
"Bucket83908E77": { | ||
"Type": "AWS::S3::Bucket", | ||
"UpdateReplacePolicy": "Delete", | ||
"DeletionPolicy": "Delete" | ||
}, | ||
"Role1ABCC5F0": { | ||
"Type": "AWS::IAM::Role", | ||
"Properties": { | ||
"AssumeRolePolicyDocument": { | ||
"Statement": [ | ||
{ | ||
"Action": "sts:AssumeRole", | ||
"Effect": "Allow", | ||
"Principal": { | ||
"Service": "firehose.amazonaws.com" | ||
} | ||
} | ||
], | ||
"Version": "2012-10-17" | ||
} | ||
} | ||
}, | ||
"RoleDefaultPolicy5FFB7DAB": { | ||
"Type": "AWS::IAM::Policy", | ||
"Properties": { | ||
"PolicyDocument": { | ||
"Statement": [ | ||
{ | ||
"Action": [ | ||
"s3:Abort*", | ||
"s3:DeleteObject*", | ||
"s3:GetBucket*", | ||
"s3:GetObject*", | ||
"s3:List*", | ||
"s3:PutObject", | ||
"s3:PutObjectLegalHold", | ||
"s3:PutObjectRetention", | ||
"s3:PutObjectTagging", | ||
"s3:PutObjectVersionTagging" | ||
], | ||
"Effect": "Allow", | ||
"Resource": [ | ||
{ | ||
"Fn::GetAtt": [ | ||
"Bucket83908E77", | ||
"Arn" | ||
] | ||
}, | ||
{ | ||
"Fn::Join": [ | ||
"", | ||
[ | ||
{ | ||
"Fn::GetAtt": [ | ||
"Bucket83908E77", | ||
"Arn" | ||
] | ||
}, | ||
"/*" | ||
] | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"Version": "2012-10-17" | ||
}, | ||
"PolicyName": "RoleDefaultPolicy5FFB7DAB", | ||
"Roles": [ | ||
{ | ||
"Ref": "Role1ABCC5F0" | ||
} | ||
] | ||
} | ||
}, | ||
"Key961B73FD": { | ||
"Type": "AWS::KMS::Key", | ||
"Properties": { | ||
"KeyPolicy": { | ||
"Statement": [ | ||
{ | ||
"Action": "kms:*", | ||
"Effect": "Allow", | ||
"Principal": { | ||
"AWS": { | ||
"Fn::Join": [ | ||
"", | ||
[ | ||
"arn:", | ||
{ | ||
"Ref": "AWS::Partition" | ||
}, | ||
":iam::", | ||
{ | ||
"Ref": "AWS::AccountId" | ||
}, | ||
":root" | ||
] | ||
] | ||
} | ||
}, | ||
"Resource": "*" | ||
} | ||
], | ||
"Version": "2012-10-17" | ||
} | ||
}, | ||
"UpdateReplacePolicy": "Delete", | ||
"DeletionPolicy": "Delete" | ||
}, | ||
"DeliveryStreamServiceRole964EEBCC": { | ||
"Type": "AWS::IAM::Role", | ||
"Properties": { | ||
"AssumeRolePolicyDocument": { | ||
"Statement": [ | ||
{ | ||
"Action": "sts:AssumeRole", | ||
"Effect": "Allow", | ||
"Principal": { | ||
"Service": "firehose.amazonaws.com" | ||
} | ||
} | ||
], | ||
"Version": "2012-10-17" | ||
} | ||
} | ||
}, | ||
"DeliveryStreamServiceRoleDefaultPolicyB87D9ACF": { | ||
"Type": "AWS::IAM::Policy", | ||
"Properties": { | ||
"PolicyDocument": { | ||
"Statement": [ | ||
{ | ||
"Action": [ | ||
"kms:Decrypt", | ||
"kms:Encrypt", | ||
"kms:GenerateDataKey*", | ||
"kms:ReEncrypt*" | ||
], | ||
"Effect": "Allow", | ||
"Resource": { | ||
"Fn::GetAtt": [ | ||
"Key961B73FD", | ||
"Arn" | ||
] | ||
} | ||
} | ||
], | ||
"Version": "2012-10-17" | ||
}, | ||
"PolicyName": "DeliveryStreamServiceRoleDefaultPolicyB87D9ACF", | ||
"Roles": [ | ||
{ | ||
"Ref": "DeliveryStreamServiceRole964EEBCC" | ||
} | ||
] | ||
} | ||
}, | ||
"DeliveryStreamF6D5572D": { | ||
"Type": "AWS::KinesisFirehose::DeliveryStream", | ||
"Properties": { | ||
"DeliveryStreamEncryptionConfigurationInput": { | ||
"KeyARN": { | ||
"Fn::GetAtt": [ | ||
"Key961B73FD", | ||
"Arn" | ||
] | ||
}, | ||
"KeyType": "CUSTOMER_MANAGED_CMK" | ||
}, | ||
"DeliveryStreamType": "DirectPut", | ||
"ExtendedS3DestinationConfiguration": { | ||
"BucketARN": { | ||
"Fn::GetAtt": [ | ||
"Bucket83908E77", | ||
"Arn" | ||
] | ||
}, | ||
"RoleARN": { | ||
"Fn::GetAtt": [ | ||
"Role1ABCC5F0", | ||
"Arn" | ||
] | ||
} | ||
} | ||
}, | ||
"DependsOn": [ | ||
"RoleDefaultPolicy5FFB7DAB" | ||
] | ||
}, | ||
"DeliveryStreamNoSourceOrEncryptionKey0E4AAB82": { | ||
"Type": "AWS::KinesisFirehose::DeliveryStream", | ||
"Properties": { | ||
"DeliveryStreamType": "DirectPut", | ||
"ExtendedS3DestinationConfiguration": { | ||
"BucketARN": { | ||
"Fn::GetAtt": [ | ||
"Bucket83908E77", | ||
"Arn" | ||
] | ||
}, | ||
"RoleARN": { | ||
"Fn::GetAtt": [ | ||
"Role1ABCC5F0", | ||
"Arn" | ||
] | ||
} | ||
} | ||
}, | ||
"DependsOn": [ | ||
"RoleDefaultPolicy5FFB7DAB" | ||
] | ||
} | ||
}, | ||
"Mappings": { | ||
"awscdkawskinesisfirehoseCidrBlocks": { | ||
"af-south-1": { | ||
"FirehoseCidrBlock": "13.244.121.224/27" | ||
}, | ||
"ap-east-1": { | ||
"FirehoseCidrBlock": "18.162.221.32/27" | ||
}, | ||
"ap-northeast-1": { | ||
"FirehoseCidrBlock": "13.113.196.224/27" | ||
}, | ||
"ap-northeast-2": { | ||
"FirehoseCidrBlock": "13.209.1.64/27" | ||
}, | ||
"ap-northeast-3": { | ||
"FirehoseCidrBlock": "13.208.177.192/27" | ||
}, | ||
"ap-south-1": { | ||
"FirehoseCidrBlock": "13.232.67.32/27" | ||
}, | ||
"ap-south-2": { | ||
"FirehoseCidrBlock": "18.60.192.128/27" | ||
}, | ||
"ap-southeast-1": { | ||
"FirehoseCidrBlock": "13.228.64.192/27" | ||
}, | ||
"ap-southeast-2": { | ||
"FirehoseCidrBlock": "13.210.67.224/27" | ||
}, | ||
"ap-southeast-3": { | ||
"FirehoseCidrBlock": "108.136.221.64/27" | ||
}, | ||
"ap-southeast-4": { | ||
"FirehoseCidrBlock": "16.50.161.128/27" | ||
}, | ||
"ca-central-1": { | ||
"FirehoseCidrBlock": "35.183.92.128/27" | ||
}, | ||
"ca-west-1": { | ||
"FirehoseCidrBlock": "40.176.98.192/27" | ||
}, | ||
"cn-north-1": { | ||
"FirehoseCidrBlock": "52.81.151.32/27" | ||
}, | ||
"cn-northwest-1": { | ||
"FirehoseCidrBlock": "161.189.23.64/27" | ||
}, | ||
"eu-central-1": { | ||
"FirehoseCidrBlock": "35.158.127.160/27" | ||
}, | ||
"eu-central-2": { | ||
"FirehoseCidrBlock": "16.62.183.32/27" | ||
}, | ||
"eu-north-1": { | ||
"FirehoseCidrBlock": "13.53.63.224/27" | ||
}, | ||
"eu-south-1": { | ||
"FirehoseCidrBlock": "15.161.135.128/27" | ||
}, | ||
"eu-south-2": { | ||
"FirehoseCidrBlock": "18.100.71.96/27" | ||
}, | ||
"eu-west-1": { | ||
"FirehoseCidrBlock": "52.19.239.192/27" | ||
}, | ||
"eu-west-2": { | ||
"FirehoseCidrBlock": "18.130.1.96/27" | ||
}, | ||
"eu-west-3": { | ||
"FirehoseCidrBlock": "35.180.1.96/27" | ||
}, | ||
"il-central-1": { | ||
"FirehoseCidrBlock": "51.16.102.0/27" | ||
}, | ||
"me-central-1": { | ||
"FirehoseCidrBlock": "3.28.159.32/27" | ||
}, | ||
"me-south-1": { | ||
"FirehoseCidrBlock": "15.185.91.0/27" | ||
}, | ||
"sa-east-1": { | ||
"FirehoseCidrBlock": "18.228.1.128/27" | ||
}, | ||
"us-east-1": { | ||
"FirehoseCidrBlock": "52.70.63.192/27" | ||
}, | ||
"us-east-2": { | ||
"FirehoseCidrBlock": "13.58.135.96/27" | ||
}, | ||
"us-gov-east-1": { | ||
"FirehoseCidrBlock": "18.253.138.96/27" | ||
}, | ||
"us-gov-west-1": { | ||
"FirehoseCidrBlock": "52.61.204.160/27" | ||
}, | ||
"us-west-1": { | ||
"FirehoseCidrBlock": "13.57.135.192/27" | ||
}, | ||
"us-west-2": { | ||
"FirehoseCidrBlock": "52.89.255.224/27" | ||
} | ||
} | ||
}, | ||
"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." | ||
} | ||
] | ||
} | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
...g/framework-integ/test/aws-kinesisfirehose/test/integ.delivery-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.
14 changes: 14 additions & 0 deletions
14
...ramework-integ/test/aws-kinesisfirehose/test/integ.delivery-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.