Skip to content

Commit

Permalink
Merge branch 'main' into huijbers/too-large-msk
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Nov 27, 2023
2 parents b4e942f + 030782a commit 6b2585a
Show file tree
Hide file tree
Showing 30 changed files with 85 additions and 66 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/request-cli-integ-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
persist-credentials: false
- name: Find changed cli files
id: changed-cli-files
uses: tj-actions/changed-files@25ef3926d147cd02fc7e931c1ef50772bbb0d25d
uses: tj-actions/changed-files@da093c1609db0edd0a037ce9664e135f74bf30d9
with:
base_sha: ${{ github.event.pull_request.base.sha }}
files_yaml: |
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.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"EncryptionAtRestOptions": {
"Enabled": false
},
"EngineVersion": "OpenSearch_2.9",
"EngineVersion": "OpenSearch_2.11",
"LogPublishingOptions": {},
"NodeToNodeEncryptionOptions": {
"Enabled": false
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
Expand Up @@ -9,7 +9,7 @@ class TestStack extends Stack {

// deploy the latest opensearch domain with minimal configuration
const domainProps: opensearch.DomainProps = {
version: opensearch.EngineVersion.OPENSEARCH_2_9,
version: opensearch.EngineVersion.OPENSEARCH_2_11,
removalPolicy: RemovalPolicy.DESTROY,
capacity: {
multiAzWithStandbyEnabled: false,
Expand Down
4 changes: 2 additions & 2 deletions packages/@aws-cdk/cloudformation-diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
},
"license": "Apache-2.0",
"dependencies": {
"@aws-cdk/aws-service-spec": "^0.0.30",
"@aws-cdk/service-spec-types": "^0.0.30",
"@aws-cdk/aws-service-spec": "^0.0.32",
"@aws-cdk/service-spec-types": "^0.0.32",
"chalk": "^4",
"diff": "^5.1.0",
"fast-deep-equal": "^3.1.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/integ-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"@aws-cdk/cloud-assembly-schema": "0.0.0",
"@aws-cdk/cloudformation-diff": "0.0.0",
"@aws-cdk/cx-api": "0.0.0",
"@aws-cdk/aws-service-spec": "^0.0.30",
"@aws-cdk/aws-service-spec": "^0.0.32",
"cdk-assets": "0.0.0",
"@aws-cdk/cdk-cli-wrapper": "0.0.0",
"aws-cdk": "0.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-backupgateway/.jsiirc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"targets": {
"java": {
"package": "services.backupgateway"
"package": "software.amazon.awscdk.services.backupgateway"
},
"dotnet": {
"package": "Amazon.CDK.AWS.BackupGateway"
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-cleanrooms/.jsiirc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"targets": {
"java": {
"package": "services.cleanrooms"
"package": "software.amazon.awscdk.services.cleanrooms"
},
"dotnet": {
"package": "Amazon.CDK.AWS.CleanRooms"
Expand Down
2 changes: 2 additions & 0 deletions packages/aws-cdk-lib/aws-ec2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1945,6 +1945,8 @@ const launchTemplate = new ec2.LaunchTemplate(this, 'LaunchTemplate', {
});
```

Please note this feature does not support Launch Configurations.

## Detailed Monitoring

The following demonstrates how to enable [Detailed Monitoring](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch-new.html) for an EC2 instance. Keep in mind that Detailed Monitoring results in [additional charges](http://aws.amazon.com/cloudwatch/pricing/).
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-entityresolution/.jsiirc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"targets": {
"java": {
"package": "services.entityresolution"
"package": "software.amazon.awscdk.services.entityresolution"
},
"dotnet": {
"package": "Amazon.CDK.AWS.EntityResolution"
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-healthimaging/.jsiirc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"targets": {
"java": {
"package": "services.healthimaging"
"package": "software.amazon.awscdk.services.healthimaging"
},
"dotnet": {
"package": "Amazon.CDK.AWS.HealthImaging"
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-mediapackagev2/.jsiirc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"targets": {
"java": {
"package": "services.mediapackagev2"
"package": "software.amazon.awscdk.services.mediapackagev2"
},
"dotnet": {
"package": "Amazon.CDK.AWS.MediaPackageV2"
Expand Down
6 changes: 6 additions & 0 deletions packages/aws-cdk-lib/aws-opensearchservice/lib/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ export class EngineVersion {
/** AWS OpenSearch 2.9 */
public static readonly OPENSEARCH_2_9 = EngineVersion.openSearch('2.9');

/** AWS OpenSearch 2.10 */
public static readonly OPENSEARCH_2_10 = EngineVersion.openSearch('2.10');

/** AWS OpenSearch 2.11 */
public static readonly OPENSEARCH_2_11 = EngineVersion.openSearch('2.11');

/**
* Custom ElasticSearch version
* @param version custom version number
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ const testedOpenSearchVersions = [
EngineVersion.OPENSEARCH_2_5,
EngineVersion.OPENSEARCH_2_7,
EngineVersion.OPENSEARCH_2_9,
EngineVersion.OPENSEARCH_2_10,
EngineVersion.OPENSEARCH_2_11,
];

each(testedOpenSearchVersions).test('connections throws if domain is not placed inside a vpc', (engineVersion) => {
Expand Down Expand Up @@ -203,6 +205,8 @@ each([
[EngineVersion.OPENSEARCH_2_5, 'OpenSearch_2.5'],
[EngineVersion.OPENSEARCH_2_7, 'OpenSearch_2.7'],
[EngineVersion.OPENSEARCH_2_9, 'OpenSearch_2.9'],
[EngineVersion.OPENSEARCH_2_10, 'OpenSearch_2.10'],
[EngineVersion.OPENSEARCH_2_11, 'OpenSearch_2.11'],
]).test('minimal example renders correctly', (engineVersion, expectedCfVersion) => {
new Domain(stack, 'Domain', { version: engineVersion });

Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-osis/.jsiirc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"targets": {
"java": {
"package": "services.osis"
"package": "software.amazon.awscdk.services.osis"
},
"dotnet": {
"package": "Amazon.CDK.AWS.OSIS"
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-pcaconnectorad/.jsiirc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"targets": {
"java": {
"package": "services.pcaconnectorad"
"package": "software.amazon.awscdk.services.pcaconnectorad"
},
"dotnet": {
"package": "Amazon.CDK.AWS.PCAConnectorAD"
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-proton/.jsiirc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"targets": {
"java": {
"package": "services.proton"
"package": "software.amazon.awscdk.services.proton"
},
"dotnet": {
"package": "Amazon.CDK.AWS.Proton"
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-shield/.jsiirc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"targets": {
"java": {
"package": "services.shield"
"package": "software.amazon.awscdk.services.shield"
},
"dotnet": {
"package": "Amazon.CDK.AWS.Shield"
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-verifiedpermissions/.jsiirc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"targets": {
"java": {
"package": "services.verifiedpermissions"
"package": "software.amazon.awscdk.services.verifiedpermissions"
},
"dotnet": {
"package": "Amazon.CDK.AWS.VerifiedPermissions"
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-workspacesweb/.jsiirc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"targets": {
"java": {
"package": "services.workspacesweb"
"package": "software.amazon.awscdk.services.workspacesweb"
},
"dotnet": {
"package": "Amazon.CDK.AWS.WorkSpacesWeb"
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"yaml": "1.10.2"
},
"devDependencies": {
"@aws-cdk/aws-service-spec": "^0.0.30",
"@aws-cdk/aws-service-spec": "^0.0.32",
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/custom-resource-handlers": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk/lib/import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export class ResourceImporter {
for (const idProp of idProps) {
// If we have a value from the template, use it as default. This will only be a partial
// identifier if present, otherwise we would have done the import already above.
const defaultValue = typeof resourceProps[idProp] ?? '';
const defaultValue = resourceProps[idProp] ?? '';

const prompt = [
promptPattern.replace(/%/g, chalk.blue(idProp)),
Expand Down
2 changes: 1 addition & 1 deletion tools/@aws-cdk/spec2cdk/lib/cfn2ts/pkglint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function createModuleDefinitionFromCfnNamespace(namespace: string) {
const javaGroupId = 'software.amazon.awscdk';
const javaPackage =
moduleFamily === 'AWS'
? `services.${lowcaseModuleName}`
? `software.amazon.awscdk.services.${lowcaseModuleName}`
: `${moduleFamily.toLocaleLowerCase()}.${lowcaseModuleName}`;
const javaArtifactId =
moduleFamily === 'AWS' ? lowcaseModuleName : `${moduleFamily.toLocaleLowerCase()}-${lowcaseModuleName}`;
Expand Down
6 changes: 3 additions & 3 deletions tools/@aws-cdk/spec2cdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
},
"license": "Apache-2.0",
"dependencies": {
"@aws-cdk/aws-service-spec": "^0.0.30",
"@aws-cdk/service-spec-importers": "^0.0.7",
"@aws-cdk/service-spec-types": "^0.0.30",
"@aws-cdk/aws-service-spec": "^0.0.32",
"@aws-cdk/service-spec-importers": "^0.0.8",
"@aws-cdk/service-spec-types": "^0.0.32",
"@cdklabs/tskb": "^0.0.3",
"@cdklabs/typewriter": "^0.0.3",
"camelcase": "^6",
Expand Down
Loading

0 comments on commit 6b2585a

Please sign in to comment.