Skip to content

Commit

Permalink
Merge pull request #1135 from awslabs/bump/2.60.0
Browse files Browse the repository at this point in the history
chore(release): 2.60.0
  • Loading branch information
biffgaut committed Jun 11, 2024
2 parents f087042 + 0887df3 commit 76365a5
Show file tree
Hide file tree
Showing 243 changed files with 8,845 additions and 4,648 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [2.60.0](https://github.com/awslabs/aws-solutions-constructs/compare/v2.59.0...v2.60.0) (2024-06-11)

Built on CDK v2.145.0

### Features

* **aws-constructs-factories:** add a factory for sqs queues ([#1131](https://github.com/awslabs/aws-solutions-constructs/issues/1131)) ([b35b9b8](https://github.com/awslabs/aws-solutions-constructs/commit/b35b9b86dcbda1d90dceac1cc539be816defe288))

## [2.59.0](https://github.com/awslabs/aws-solutions-constructs/compare/v2.58.1...v2.59.0) (2024-06-08)

Built on CDK v2.143.0
Expand Down
2 changes: 1 addition & 1 deletion deployment/v2/align-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const nullVersionMarker = process.argv[2];
const targetSolutionsConstructsVersion = process.argv[3];

// these versions need to be sourced from a config file
const awsCdkLibVersion = '2.143.0';
const awsCdkLibVersion = '2.145.0';

for (const file of process.argv.splice(4)) {
const pkg = JSON.parse(fs.readFileSync(file).toString());
Expand Down
2 changes: 1 addition & 1 deletion source/lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"./patterns/@aws-solutions-constructs/*"
],
"rejectCycles": "true",
"version": "2.59.0"
"version": "2.60.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -211,24 +211,19 @@ export class ApiGatewayToSqs extends Construct {
`'deleteRequestTemplate', 'additionalDeleteRequestTemplates', 'deleteIntegrationResponses'`);
}

// Setup the dead letter queue, if applicable
this.deadLetterQueue = defaults.buildDeadLetterQueue(this, {
existingQueueObj: props.existingQueueObj,
deployDeadLetterQueue: props.deployDeadLetterQueue,
deadLetterQueueProps: props.deadLetterQueueProps,
maxReceiveCount: props.maxReceiveCount
});

// Setup the queue
const buildQueueResponse = defaults.buildQueue(this, 'queue', {
existingQueueObj: props.existingQueueObj,
queueProps: props.queueProps,
deadLetterQueue: this.deadLetterQueue,
deployDeadLetterQueue: props.deployDeadLetterQueue,
deadLetterQueueProps: props.deadLetterQueueProps,
maxReceiveCount: props.maxReceiveCount,
enableEncryptionWithCustomerManagedKey: props.enableEncryptionWithCustomerManagedKey,
encryptionKey: props.encryptionKey,
encryptionKeyProps: props.encryptionKeyProps
});
this.sqsQueue = buildQueueResponse.queue;
this.deadLetterQueue = buildQueueResponse.dlq;

// Setup the API Gateway
const globalRestApiResponse = defaults.GlobalRestApi(this, props.apiGatewayProps, props.logGroupProps);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"version": "36.0.0",
"files": {
"2a042bc52d33519c4d240ec0cf74ff8ef74c42183f6dd3eb7e4ab111f1923884": {
"237b55862d962ca52c24fc3d92e931335fcdc7468cd58135ac481ef86c66d367": {
"source": {
"path": "apisqs-additional-request-templates.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "2a042bc52d33519c4d240ec0cf74ff8ef74c42183f6dd3eb7e4ab111f1923884.json",
"objectKey": "237b55862d962ca52c24fc3d92e931335fcdc7468cd58135ac481ef86c66d367.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"Description": "Integration Test for aws-apigateway-sqs",
"Resources": {
"testapigatewaysqsdefaultdeadLetterQueue24467CAD": {
"testapigatewaysqsdefaultqueuedlqF08203A7": {
"Type": "AWS::SQS::Queue",
"Properties": {
"KmsMasterKeyId": "alias/aws/sqs"
},
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete"
},
"testapigatewaysqsdefaultdeadLetterQueuePolicyEF507332": {
"testapigatewaysqsdefaultqueuedlqPolicy3E4AECEE": {
"Type": "AWS::SQS::QueuePolicy",
"Properties": {
"PolicyDocument": {
Expand Down Expand Up @@ -45,7 +45,7 @@
},
"Resource": {
"Fn::GetAtt": [
"testapigatewaysqsdefaultdeadLetterQueue24467CAD",
"testapigatewaysqsdefaultqueuedlqF08203A7",
"Arn"
]
},
Expand All @@ -64,7 +64,7 @@
},
"Resource": {
"Fn::GetAtt": [
"testapigatewaysqsdefaultdeadLetterQueue24467CAD",
"testapigatewaysqsdefaultqueuedlqF08203A7",
"Arn"
]
},
Expand All @@ -75,7 +75,7 @@
},
"Queues": [
{
"Ref": "testapigatewaysqsdefaultdeadLetterQueue24467CAD"
"Ref": "testapigatewaysqsdefaultqueuedlqF08203A7"
}
]
}
Expand All @@ -87,7 +87,7 @@
"RedrivePolicy": {
"deadLetterTargetArn": {
"Fn::GetAtt": [
"testapigatewaysqsdefaultdeadLetterQueue24467CAD",
"testapigatewaysqsdefaultqueuedlqF08203A7",
"Arn"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"validateOnSynth": false,
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/2a042bc52d33519c4d240ec0cf74ff8ef74c42183f6dd3eb7e4ab111f1923884.json",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/237b55862d962ca52c24fc3d92e931335fcdc7468cd58135ac481ef86c66d367.json",
"requiresBootstrapStackVersion": 6,
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
"additionalDependencies": [
Expand All @@ -82,16 +82,16 @@
"apisqs-additional-request-templates.assets"
],
"metadata": {
"/apisqs-additional-request-templates/test-api-gateway-sqs-default/deadLetterQueue/Resource": [
"/apisqs-additional-request-templates/test-api-gateway-sqs-default/queue-dlq/Resource": [
{
"type": "aws:cdk:logicalId",
"data": "testapigatewaysqsdefaultdeadLetterQueue24467CAD"
"data": "testapigatewaysqsdefaultqueuedlqF08203A7"
}
],
"/apisqs-additional-request-templates/test-api-gateway-sqs-default/deadLetterQueue/Policy/Resource": [
"/apisqs-additional-request-templates/test-api-gateway-sqs-default/queue-dlq/Policy/Resource": [
{
"type": "aws:cdk:logicalId",
"data": "testapigatewaysqsdefaultdeadLetterQueuePolicyEF507332"
"data": "testapigatewaysqsdefaultqueuedlqPolicy3E4AECEE"
}
],
"/apisqs-additional-request-templates/test-api-gateway-sqs-default/queue/Resource": [
Expand Down Expand Up @@ -189,6 +189,24 @@
"type": "aws:cdk:logicalId",
"data": "CheckBootstrapVersion"
}
],
"testapigatewaysqsdefaultdeadLetterQueue24467CAD": [
{
"type": "aws:cdk:logicalId",
"data": "testapigatewaysqsdefaultdeadLetterQueue24467CAD",
"trace": [
"!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
]
}
],
"testapigatewaysqsdefaultdeadLetterQueuePolicyEF507332": [
{
"type": "aws:cdk:logicalId",
"data": "testapigatewaysqsdefaultdeadLetterQueuePolicyEF507332",
"trace": [
"!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
]
}
]
},
"displayName": "apisqs-additional-request-templates"
Expand Down
Loading

0 comments on commit 76365a5

Please sign in to comment.