Skip to content

Commit

Permalink
Merge branch 'main' into raphaelmanke/rfc-473-eventbridge-pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jan 30, 2024
2 parents 27d92cd + f9fbbb4 commit 2684de3
Show file tree
Hide file tree
Showing 90 changed files with 1,919 additions and 522 deletions.
2 changes: 1 addition & 1 deletion packages/@aws-cdk-testing/framework-integ/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "cdk-lint",
"pkglint": "pkglint -f",
"test": "cdk-test",
"integ": "integ-runner",
"integ": "integ-runner --language javascript",
"package": "cdk-package",
"build+test": "yarn build && yarn test",
"build+extract": "yarn build",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
{
"Resources": {
"MessageSQSQueueF7E656B7": {
"Type": "AWS::SQS::Queue",
"Properties": {
"FifoQueue": true,
"QueueName": "MessageSQSQueue.fifo"
},
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete"
},
"webSocketApi5AB89700": {
"Type": "AWS::ApiGatewayV2::Api",
"Properties": {
"Description": "Send websocket data to SQS which is then processed by a Lambda 2",
"Name": "webSocketApi",
"ProtocolType": "WEBSOCKET",
"RouteSelectionExpression": "$request.body.action"
}
},
"webSocketApidefaultRouteSQSSendMessageFC4F9133": {
"Type": "AWS::ApiGatewayV2::Integration",
"Properties": {
"ApiId": {
"Ref": "webSocketApi5AB89700"
},
"CredentialsArn": {
"Fn::GetAtt": [
"webSocketApiRoleE85311F3",
"Arn"
]
},
"IntegrationMethod": "POST",
"IntegrationType": "AWS",
"IntegrationUri": {
"Fn::Join": [
"",
[
"arn:aws:apigateway:",
{
"Ref": "AWS::Region"
},
":sqs:path/",
{
"Ref": "AWS::AccountId"
},
"/",
{
"Fn::GetAtt": [
"MessageSQSQueueF7E656B7",
"QueueName"
]
}
]
]
},
"PassthroughBehavior": "NEVER",
"RequestParameters": {
"integration.request.header.Content-Type": "'application/x-www-form-urlencoded'"
},
"RequestTemplates": {
"$default": "Action=SendMessage&MessageGroupId=$input.path('$.MessageGroupId')&MessageDeduplicationId=$context.requestId&MessageAttribute.1.Name=connectionId&MessageAttribute.1.Value.StringValue=$context.connectionId&MessageAttribute.1.Value.DataType=String&MessageAttribute.2.Name=requestId&MessageAttribute.2.Value.StringValue=$context.requestId&MessageAttribute.2.Value.DataType=String&MessageBody=$input.json('$')"
},
"TemplateSelectionExpression": "\\$default"
}
},
"webSocketApidefaultRoute749519EC": {
"Type": "AWS::ApiGatewayV2::Route",
"Properties": {
"ApiId": {
"Ref": "webSocketApi5AB89700"
},
"AuthorizationType": "NONE",
"RouteKey": "$default",
"Target": {
"Fn::Join": [
"",
[
"integrations/",
{
"Ref": "webSocketApidefaultRouteSQSSendMessageFC4F9133"
}
]
]
}
}
},
"DevStage520A913F": {
"Type": "AWS::ApiGatewayV2::Stage",
"Properties": {
"ApiId": {
"Ref": "webSocketApi5AB89700"
},
"AutoDeploy": true,
"StageName": "dev"
}
},
"webSocketApiRoleE85311F3": {
"Type": "AWS::IAM::Role",
"Properties": {
"AssumeRolePolicyDocument": {
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": "apigateway.amazonaws.com"
}
}
],
"Version": "2012-10-17"
}
}
},
"webSocketApiRoleDefaultPolicyF067C420": {
"Type": "AWS::IAM::Policy",
"Properties": {
"PolicyDocument": {
"Statement": [
{
"Action": "sqs:SendMessage",
"Effect": "Allow",
"Resource": {
"Fn::GetAtt": [
"MessageSQSQueueF7E656B7",
"Arn"
]
}
}
],
"Version": "2012-10-17"
},
"PolicyName": "webSocketApiRoleDefaultPolicyF067C420",
"Roles": [
{
"Ref": "webSocketApiRoleE85311F3"
}
]
}
}
},
"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."
}
]
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2684de3

Please sign in to comment.