Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): 1.149.0 #19433

Merged
merged 41 commits into from
Mar 17, 2022
Merged

chore(release): 1.149.0 #19433

merged 41 commits into from
Mar 17, 2022

Conversation

aws-cdk-automation
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation commented Mar 17, 2022

See CHANGELOG

peterwoodworth and others added 30 commits March 9, 2022 22:16
Adds triggers package to automation @otaviomacedo 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Fixes #19184.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…17788)

## Summary

This PR adds support for passing in any additional esbuild args that are not already exposed in the `NodejsFunction` API.

With this change a user should be able to add an esbuild option such as [`--log-limit`](https://esbuild.github.io/api/#log-limit):

```ts
new NodejsFunction(scope, id, {
  ...
  bundling: {
    esbuildArgs: {
      "--log-limit": "0"
    }
  }
})
```

Resolves: #17768

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Fix typos in CONTRIBUTING.md

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
fixes #19285 
I can successfully deploy a stack by overriding the batch size to 10000 - need to contact cloudformation team to update their docs

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
For some reason, we are falling back to reading JSON when loading YAML fails.

Since YAML is a superset of JSON, the only reason errors would occur because the YAML is not valid, in which case we shouldn't do this catch at all.

Fixes #19335.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This PR implememts `SetVariable` actions.
This action allow to set variable to detector instanse.

If use this action as following and deploy it:
```ts
actions: [
  new actions.IoteventsSetVariableAction(
    'MyVariable',
    iotevents.Expression.inputAttribute(input, 'payload.temperature'),
  ),
],
```

And send message via cli as following:
```
aws iotevents-data batch-put-message --messages=messageId=(date | md5),inputName=test_input,payload=(echo '{"payload":{"deviceId":"000","temperature":18.5}}' | base64)
```

You can see the created detector instanse on web console:
![image](https://user-images.githubusercontent.com/11013683/157444640-c93e4229-ba75-46dd-8d35-cd171fed6145.png)


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Co-authored-by: AWS CDK Team <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
#19343)

Older `esbuild` versions do not support passing `--arg=true`, only
`--arg` is accepted.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Blogpost: https://aws.amazon.com/blogs/aws/new-amazon-ec2-x2idn-and-x2iedn-instances-for-memory-intensive-workloads-with-higher-network-bandwidth/

CloudFormation docs are catching up... awsdocs/aws-cloudformation-user-guide#1182

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
The `find-latest-release` script occasionally times out on PR builds.

Add sleeps and retries. The retries are pretty hefty because the API
limits are quite low. We can't just toss a GitHub Token in there, as
anyone who submits a PR would have access to it. This is the cheapest
fix for now.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…19298)

fixes #18993 + update integ tests

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
#18264 got reverted in #18772 because of the BucketPolicy, re-submitting the **_non-BucketPolicy half of that PR_**


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Deprecate `ElasticsearchDataSource` and introduce `OpenSearchDataSource` as a replacement.

closes #16528

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This is an automatic backport of pull request #19362 done by [Mergify](https://mergify.com).


---


<details>
<summary>Mergify commands and options</summary>

<br />

More conditions and actions can be found in the [documentation](https://docs.mergify.com/).

You can also trigger Mergify actions by commenting on this pull request:

- `@Mergifyio refresh` will re-evaluate the rules
- `@Mergifyio rebase` will rebase this PR on its base branch
- `@Mergifyio update` will merge the base branch into this PR
- `@Mergifyio backport <destination>` will backport this PR on `<destination>` branch

Additionally, on Mergify [dashboard](https://dashboard.mergify.com/) you can:

- look at your merge queues
- generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com
</details>
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date.
…k/lambda-layer-awscli (#19384)

Bumps [awscli](https://github.com/aws/aws-cli) from 1.22.68 to 1.22.73.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/aws/aws-cli/blob/develop/CHANGELOG.rst">awscli's changelog</a>.</em></p>
<blockquote>
<h1>1.22.73</h1>
<ul>
<li>api-change:<code>secretsmanager</code>: Documentation updates for Secrets Manager.</li>
<li>api-change:<code>outposts</code>: This release adds address filters for listSites</li>
<li>api-change:<code>connect</code>: This release adds support for enabling Rich Messaging when starting a new chat session via the StartChatContact API. Rich Messaging enables the following formatting options: bold, italics, hyperlinks, bulleted lists, and numbered lists.</li>
<li>api-change:<code>chime</code>: Chime VoiceConnector Logging APIs will now support MediaMetricLogs. Also CreateMeetingDialOut now returns AccessDeniedException.</li>
<li>api-change:<code>lambda</code>: Adds PrincipalOrgID support to AddPermission API. Customers can use it to manage permissions to lambda functions at AWS Organizations level.</li>
</ul>
<h1>1.22.72</h1>
<ul>
<li>api-change:<code>lexv2-models</code>: Update lexv2-models command to latest version</li>
<li>api-change:<code>transcribe</code>: Documentation fix for API <code>StartMedicalTranscriptionJobRequest</code>, now showing min sample rate as 16khz</li>
<li>api-change:<code>transfer</code>: Adding more descriptive error types for managed workflows</li>
</ul>
<h1>1.22.71</h1>
<ul>
<li>api-change:<code>comprehend</code>: Amazon Comprehend now supports extracting the sentiment associated with entities such as brands, products and services from text documents.</li>
</ul>
<h1>1.22.70</h1>
<ul>
<li>api-change:<code>eks</code>: Introducing a new enum for NodeGroup error code: Ec2SubnetMissingIpv6Assignment</li>
<li>api-change:<code>keyspaces</code>: Adding link to CloudTrail section in Amazon Keyspaces Developer Guide</li>
<li>api-change:<code>mediaconvert</code>: AWS Elemental MediaConvert SDK has added support for reading timecode from AVCHD sources and now provides the ability to segment WebVTT at the same interval as the video and audio in HLS packages.</li>
</ul>
<h1>1.22.69</h1>
<ul>
<li>api-change:<code>ecs</code>: Amazon ECS UpdateService API now supports additional parameters: loadBalancers, propagateTags, enableECSManagedTags, and serviceRegistries</li>
<li>api-change:<code>chime-sdk-meetings</code>: Adds support for Transcribe language identification feature to the StartMeetingTranscription API.</li>
<li>api-change:<code>migration-hub-refactor-spaces</code>: AWS Migration Hub Refactor Spaces documentation update.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/aws/aws-cli/commit/1e8a329c2658c9bad24f227776891e5c9731d90f"><code>1e8a329</code></a> Merge branch 'release-1.22.73'</li>
<li><a href="https://github.com/aws/aws-cli/commit/2e378db798caf3e7e10dc7ae78ad5de1824be194"><code>2e378db</code></a> Bumping version to 1.22.73</li>
<li><a href="https://github.com/aws/aws-cli/commit/077a36ae74fb897cfab164bc5bb443925ca3485e"><code>077a36a</code></a> Update changelog based on model updates</li>
<li><a href="https://github.com/aws/aws-cli/commit/b434169db343b631470e935ab05ca67b96869c47"><code>b434169</code></a> Merge branch 'release-1.22.72'</li>
<li><a href="https://github.com/aws/aws-cli/commit/da3ddae0422534c64eefecd051b45c22c96d046a"><code>da3ddae</code></a> Merge branch 'release-1.22.72' into develop</li>
<li><a href="https://github.com/aws/aws-cli/commit/ef83adf1794878a29b5aaf57c660eaa76ce33267"><code>ef83adf</code></a> Bumping version to 1.22.72</li>
<li><a href="https://github.com/aws/aws-cli/commit/8d62e130a4bf37198ca28e881bd6822cf758f55e"><code>8d62e13</code></a> Update changelog based on model updates</li>
<li><a href="https://github.com/aws/aws-cli/commit/ad8546c318540f02368da91cfaada152b3bb5292"><code>ad8546c</code></a> Remove nose from requirements-dev.txt (<a href="https://github-redirect.dependabot.com/aws/aws-cli/issues/6775">#6775</a>)</li>
<li><a href="https://github.com/aws/aws-cli/commit/7beb63d07b9dbfe08e95c28f9a9300083f6d47d2"><code>7beb63d</code></a> Merge branch 'release-1.22.71'</li>
<li><a href="https://github.com/aws/aws-cli/commit/27798f85e28bd7499b5ec3a1e2fb9457787b987d"><code>27798f8</code></a> Merge branch 'release-1.22.71' into develop</li>
<li>Additional commits viewable in <a href="https://github.com/aws/aws-cli/compare/1.22.68...1.22.73">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=awscli&package-manager=pip&previous-version=1.22.68&new-version=1.22.73)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>
…19376)

# Summary

Fix the incorrect property name for the **MfaSecondFactor** interface on the UserPool Class doc-strings.

>Fixes the below issue
#19375 
----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Per issue #17881, the default value for CRON schedule configuration parameters are  which runs every minute/hour/day.

This change adds a warning to be emitted upon synthesis and deployment, if minute is empty, that the CRON job will run every minute.

Closes #17881.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Adds parallel asset publishing. In a 60-asset/60-Lambda test project, this change decreases the total hot-swap time from 57 seconds to 18 seconds.

Fixes #19193

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…Function (#19358)

Resolves #19309 

Please suggest revisions if more clarification is needed or the language isn't clear/correct. Definitely resolves my confusion as stated in the linked issue!


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
kaizencc and others added 11 commits March 14, 2022 19:30
----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
The new secret uses our aws-cdk-automation user.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This PR adds `hasNoError`, `hasNoWarning`, and `hasNoInfo` methods to the Annotations assertions toolkit. 

Fixes #18874

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
The `test.concurrent` feature of `jest` immediately executes the test
code in order to obtain a `Promise` that is checked as part of the test
run.

This means that the test handler code runs whether the test is included
or not in the assessment, as controlled by the `-t` flag of jest.

In order to allow integration tests to selectively run only a subset of
the tests, we must hence not use `test.concurrent`, or else all test
handlers run fully, leading to unwanted side effects.

This is needed in order to be able to complete cdklabs/cdk-ops#1922.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
#19296)

Closes #16530.

Depends on #16529. 

This PR deprecates all APIs in `elasticsearch` in favor of the `opensearchservice` module. However, it does not deprecate `elasticsearch` as a module, since there are rules in place that disallow stable modules (like `cloudformation-include`) from depending on deprecated modules. See #19392. 

> `ElasticsearchVersion` was not deprecated due to a quirk in how the module is imported. It looks like, on import, the static properties `public static readonly V7_10 = ElasticsearchVersion.of('7.10');` actually tries to make the api call `of()`, which is deprecated. So imports fail with a message about using the deprecated api `ElasticsearchVersion.of()`.
----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This PR adds vpc support to synthetics and is a continuation of #11865.

See [Running a canary on a vpc](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html).

Fixes #9954

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@aws-cdk-automation aws-cdk-automation added the pr/no-squash This PR should be merged instead of squash-merging it label Mar 17, 2022
@gitpod-io
Copy link

gitpod-io bot commented Mar 17, 2022

@aws-cdk-automation
Copy link
Collaborator Author

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 0230f26
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Mar 17, 2022

Thank you for contributing! Your pull request will be automatically updated and merged without squashing (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 2bb9d2f into release Mar 17, 2022
@mergify mergify bot deleted the bump/1.149.0 branch March 17, 2022 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/no-squash This PR should be merged instead of squash-merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.