Skip to content

Commit

Permalink
chore(release): 1.186.0 (#23487)
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Dec 28, 2022
2 parents d65d513 + 31ba545 commit bf9c47b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

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.

## [1.186.0](https://github.com/aws/aws-cdk/compare/v1.185.0...v1.186.0) (2022-12-28)

## [1.185.0](https://github.com/aws/aws-cdk/compare/v1.184.1...v1.185.0) (2022-12-27)


Expand Down
10 changes: 5 additions & 5 deletions packages/@aws-cdk/aws-elasticsearch/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Amazon Elasticsearch Service Construct Library
# Amazon OpenSearch Service (legacy Elasticsearch) Construct Library
<!--BEGIN STABILITY BANNER-->

---
Expand Down Expand Up @@ -60,7 +60,7 @@ logging the domain logs and slow search logs.

## A note about SLR

Some cluster configurations (e.g VPC access) require the existence of the [`AWSServiceRoleForAmazonElasticsearchService`](https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/slr-es.html) Service-Linked Role.
Some cluster configurations (e.g VPC access) require the existence of the [`AWSServiceRoleForAmazonElasticsearchService`](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/slr.html) service-linked role.

When performing such operations via the AWS Console, this SLR is created automatically when needed. However, this is not the behavior when using CloudFormation. If an SLR is needed, but doesn't exist, you will encounter a failure message simlar to:

Expand Down Expand Up @@ -135,7 +135,7 @@ rest.

Elasticsearch domains can be placed inside a VPC, providing a secure communication between Amazon ES and other services within the VPC without the need for an internet gateway, NAT device, or VPN connection.

> Visit [VPC Support for Amazon Elasticsearch Service Domains](https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html) for more details.
> See [Launching your Amazon OpenSearch Service domains within a VPC](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/vpc.html) for more details.
```ts
const vpc = new ec2.Vpc(this, 'Vpc');
Expand Down Expand Up @@ -281,7 +281,7 @@ domain.addAccessPolicies(

## Audit logs

Audit logs can be enabled for a domain, but only when fine grained access control is enabled.
Audit logs can be enabled for a domain, but only when fine-grained access control is enabled.

```ts
const domain = new es.Domain(this, 'Domain', {
Expand Down Expand Up @@ -337,7 +337,7 @@ Additionally, an automatic CNAME-Record is created if a hosted zone is provided

## Advanced options

[Advanced options](https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options) can used to configure additional options.
[Advanced cluster settings](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options) can used to configure additional options.

```ts
new es.Domain(this, 'Domain', {
Expand Down
3 changes: 2 additions & 1 deletion tools/@aws-cdk/pkglint/lib/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ export class ReadmeFile extends ValidationRule {
if (!scopes) {
return;
}
if (pkg.packageName === '@aws-cdk/core') {
// elasticsearch is renamed to opensearch service, so its readme does not follow these rules
if (pkg.packageName === '@aws-cdk/core' || pkg.packageName === '@aws-cdk/aws-elasticsearch') {
return;
}
const scope: string = typeof scopes === 'string' ? scopes : scopes[0];
Expand Down
2 changes: 1 addition & 1 deletion version.v1.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "1.185.0"
"version": "1.186.0"
}

0 comments on commit bf9c47b

Please sign in to comment.