Skip to content

Commit

Permalink
Merge branch 'main' into fix/apprunner-env-vars
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Mar 3, 2023
2 parents e9ebaf0 + c6f0149 commit dd23bb4
Show file tree
Hide file tree
Showing 107 changed files with 6,647 additions and 1,104 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.v2.alpha.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

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.67.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.66.1-alpha.0...v2.67.0-alpha.0) (2023-03-02)


### Features

* **msk:** add Kafka versions 3.1.1, 3.2.0, and and 3.3.1 ([#23918](https://github.com/aws/aws-cdk/issues/23918)) ([53a1d5f](https://github.com/aws/aws-cdk/commit/53a1d5fd81eabf5e9d846411754a554549f9f62c)), closes [#23899](https://github.com/aws/aws-cdk/issues/23899)


### Bug Fixes

* **servicecatalogappregistry:** applicationName can not be changed after deployment ([#24409](https://github.com/aws/aws-cdk/issues/24409)) ([6aa763f](https://github.com/aws/aws-cdk/commit/6aa763f100e5561f4554627116a458abba930480))

## [2.66.1-alpha.0](https://github.com/aws/aws-cdk/compare/v2.66.0-alpha.0...v2.66.1-alpha.0) (2023-02-23)

## [2.66.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.65.0-alpha.0...v2.66.0-alpha.0) (2023-02-21)
Expand Down
30 changes: 30 additions & 0 deletions CHANGELOG.v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,36 @@

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.67.0](https://github.com/aws/aws-cdk/compare/v2.66.1...v2.67.0) (2023-03-02)


### Features

* **apigateway:** minCompressionSize on SpecRestApi ([#24067](https://github.com/aws/aws-cdk/issues/24067)) ([2a81f0f](https://github.com/aws/aws-cdk/commit/2a81f0f7d9eb73cd0e807904357a5daf7d6e5017)), closes [#22926](https://github.com/aws/aws-cdk/issues/22926)
* **bootstrap:** prevent accidental bootstrap overwrites ([#24302](https://github.com/aws/aws-cdk/issues/24302)) ([3b251a5](https://github.com/aws/aws-cdk/commit/3b251a5e8e74332076c9e5dc810a80775fa77d61))
* **cli:** update csharp & fsharp template to net6.0 ([#23926](https://github.com/aws/aws-cdk/issues/23926)) ([3bd611d](https://github.com/aws/aws-cdk/commit/3bd611dcbdf802dbc918d0ecedaf3ac3d9d73503)), closes [#23921](https://github.com/aws/aws-cdk/issues/23921)
* **codebuild:** adds file asset support to build-spec ([#24289](https://github.com/aws/aws-cdk/issues/24289)) ([7cda567](https://github.com/aws/aws-cdk/commit/7cda5673fd3f6c5cd56ea59d71b14115f2a388f2)), closes [#1138](https://github.com/aws/aws-cdk/issues/1138)
* **ecs:** enable default capacity provider strategy ([#23955](https://github.com/aws/aws-cdk/issues/23955)) ([5a30ea6](https://github.com/aws/aws-cdk/commit/5a30ea6536df0fda0e0e7bb89d45666f57fb8890))
* **eks:** add helm flag --skip-crds ([#24213](https://github.com/aws/aws-cdk/issues/24213)) ([f68dbc2](https://github.com/aws/aws-cdk/commit/f68dbc2ce76a2df51081e959aa70e373a9bf5ac6)), closes [#24296](https://github.com/aws/aws-cdk/issues/24296)
* **sns:** Add FilterPolicyScope support ([#23108](https://github.com/aws/aws-cdk/issues/23108)) ([d986e14](https://github.com/aws/aws-cdk/commit/d986e143df3cf9b42031eba0f5a2d9a71d6d9208))
* **stepfunctions-tasks:** add revision number ([#24226](https://github.com/aws/aws-cdk/issues/24226)) ([643042b](https://github.com/aws/aws-cdk/commit/643042b8a15779b8a535567085b31424f4373515)), closes [#23491](https://github.com/aws/aws-cdk/issues/23491)


### Bug Fixes

* **cdk-assets:** Error when building Docker Image Assets with Podman ([#24003](https://github.com/aws/aws-cdk/issues/24003)) ([4b08e20](https://github.com/aws/aws-cdk/commit/4b08e20be3b829c752e425883da09188b2dcff72)), closes [/github.com/aws/aws-cdk/issues/16209#issue-978267269](https://github.com/aws//github.com/aws/aws-cdk/issues/16209/issues/issue-978267269) [#16209](https://github.com/aws/aws-cdk/issues/16209)
* **cloudwatch:** math expressions incorrectly warn about search and metrics ([#24313](https://github.com/aws/aws-cdk/issues/24313)) ([f3596eb](https://github.com/aws/aws-cdk/commit/f3596eb26f1e4ab360875bf5f79a7de991d2a9ec)), closes [#20136](https://github.com/aws/aws-cdk/issues/20136)
* **ec2:** userData in launchTemplate is created automatically when machineImege is provided ([#23593](https://github.com/aws/aws-cdk/issues/23593)) ([bb4311b](https://github.com/aws/aws-cdk/commit/bb4311bf05b64cc95a89a319743e3883fd3c5b15)), closes [#23592](https://github.com/aws/aws-cdk/issues/23592) [/github.com/aws/aws-cdk/pull/12385#discussion_r564614928](https://github.com/aws//github.com/aws/aws-cdk/pull/12385/issues/discussion_r564614928)
* **ecr-assets:** fix repeated deploys of stacks with tar assets ([#23497](https://github.com/aws/aws-cdk/issues/23497)) ([c2296a8](https://github.com/aws/aws-cdk/commit/c2296a87116c7bbaf6103a03364326c760a8f952)), closes [#18823](https://github.com/aws/aws-cdk/issues/18823) [#18822](https://github.com/aws/aws-cdk/issues/18822)
* **efs:** support tagging for access point ([#24336](https://github.com/aws/aws-cdk/issues/24336)) ([f9af47f](https://github.com/aws/aws-cdk/commit/f9af47f1fe48e66412d95f3eeef931c9322ba5b7)), closes [#20743](https://github.com/aws/aws-cdk/issues/20743)
* **eks:** changing the subnets or securityGroupIds order causes an error ([#24163](https://github.com/aws/aws-cdk/issues/24163)) ([09c2c19](https://github.com/aws/aws-cdk/commit/09c2c19f22979482020652d902a73dfcc4e593bd)), closes [#24162](https://github.com/aws/aws-cdk/issues/24162)
* **eks:** fix helm deploy login for public ECR repositories ([#24104](https://github.com/aws/aws-cdk/issues/24104)) ([71ec6b6](https://github.com/aws/aws-cdk/commit/71ec6b660cf5062c12c5205dadfc28f893251e4f)), closes [#23977](https://github.com/aws/aws-cdk/issues/23977)
* **eks:** integ tests errors ([#24276](https://github.com/aws/aws-cdk/issues/24276)) ([07f2d7b](https://github.com/aws/aws-cdk/commit/07f2d7b0b947cec31ed3132b95372b9975efa01e))
* **secretsmanager:** secret resource policy already exists in stack (under feature flag) ([#24365](https://github.com/aws/aws-cdk/issues/24365)) ([7dd8b7e](https://github.com/aws/aws-cdk/commit/7dd8b7e1ce88a13e597e52ff95353d74ab4807f1)), closes [#24383](https://github.com/aws/aws-cdk/issues/24383)
* **servicecatalog:** wrong asset path is generated in case outdir is absolute ([#24393](https://github.com/aws/aws-cdk/issues/24393)) ([0ebbf58](https://github.com/aws/aws-cdk/commit/0ebbf58bdd3307f536334beb5d1153e3ef660f18)), closes [#24392](https://github.com/aws/aws-cdk/issues/24392)
* **sns:** sns subscription filter policy condition limit should be 150 ([#24269](https://github.com/aws/aws-cdk/issues/24269)) ([1e1131c](https://github.com/aws/aws-cdk/commit/1e1131c207de2df7d5881a57cc28daa59bad975a))
* Correct SamlConsolePrincipal for non-China ([#24277](https://github.com/aws/aws-cdk/issues/24277)) ([e47646c](https://github.com/aws/aws-cdk/commit/e47646c0ff317a421b2f042158fcc0c7ae1aa2cf)), closes [#24243](https://github.com/aws/aws-cdk/issues/24243)

## [2.66.1](https://github.com/aws/aws-cdk/compare/v2.66.0...v2.66.1) (2023-02-23)


Expand Down
40 changes: 40 additions & 0 deletions packages/@aws-cdk/aws-config/lib/rule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2168,6 +2168,10 @@ export class ResourceType {
public static readonly EFS_ACCESS_POINT = new ResourceType('AWS::EFS::AccessPoint');
/** Amazon Elastic Kubernetes Service cluster */
public static readonly EKS_CLUSTER = new ResourceType('AWS::EKS::Cluster');
/** Amazon Elastic Kubernetes Service identity provider config */
public static readonly EKS_IDENTITY_PROVIDER_CONFIG = new ResourceType('AWS::EKS::IdentityProviderConfig');
/** Amazon Elastic Kubernetes Service addon */
public static readonly EKS_ADDON = new ResourceType('AWS::EKS::Addon');
/** Amazon EMR security configuration */
public static readonly EMR_SECURITY_CONFIGURATION = new ResourceType('AWS::EMR::SecurityConfiguration');
/** Amazon EventBridge EventBus */
Expand Down Expand Up @@ -2202,6 +2206,12 @@ export class ResourceType {
public static readonly GUARDDUTY_FILTER = new ResourceType('AWS::GuardDuty::Filter');
/** Amazon ElasticSearch domain */
public static readonly ELASTICSEARCH_DOMAIN = new ResourceType('AWS::Elasticsearch::Domain');
/** Amazon Interactive Video Service (IVS) channel */
public static readonly IVS_CHANNEL = new ResourceType('AWS::IVS::Channel');
/** Amazon Interactive Video Service (IVS) recording configuration */
public static readonly IVS_RECORDING_CONFIGURATION = new ResourceType('AWS::IVS::RecordingConfiguration');
/** Amazon Interactive Video Service (IVS) playback key pair */
public static readonly IVS_PLAYBACK_KEYPAIR = new ResourceType('AWS::IVS::PlaybackKeyPair');
/** Amazon OpenSearch domain */
public static readonly OPENSEARCH_DOMAIN = new ResourceType('AWS::OpenSearch::Domain');
/** Amazon QLDB ledger */
Expand All @@ -2210,6 +2220,8 @@ export class ResourceType {
public static readonly KINESIS_STREAM = new ResourceType('AWS::Kinesis::Stream');
/** Amazon Kinesis stream consumer */
public static readonly KINESIS_STREAM_CONSUMER = new ResourceType('AWS::Kinesis::StreamConsumer');
/** Amazon Kinesis Analytics V2 application */
public static readonly KINESIS_ANALYTICS_V2_APPLICATION = new ResourceType('AWS::KinesisAnalyticsV2::Application');
/** Amazon Lightsail Certificate */
public static readonly LIGHTSAIL_CERTIFICATE = new ResourceType('AWS::Lightsail::Certificate');
/** Amazon Lightsail Disk */
Expand Down Expand Up @@ -2248,6 +2260,8 @@ export class ResourceType {
public static readonly RDS_DB_CLUSTER = new ResourceType('AWS::RDS::DBCluster');
/** Amazon RDS database cluster snapshot */
public static readonly RDS_DB_CLUSTER_SNAPSHOT = new ResourceType('AWS::RDS::DBClusterSnapshot');
/** Amazon RDS global cluster */
public static readonly RDS_GLOBAL_CLUSTER = new ResourceType('AWS::RDS::GlobalCluster');
/** Amazon Route53 Hosted Zone */
public static readonly ROUTE53_HOSTED_ZONE= new ResourceType('AWS::Route53::HostedZone');
/** Amazon Route53 Health Check */
Expand All @@ -2270,6 +2284,8 @@ export class ResourceType {
public static readonly SNS_TOPIC = new ResourceType('AWS::SNS::Topic');
/** Amazon S3 bucket */
public static readonly S3_BUCKET = new ResourceType('AWS::S3::Bucket');
/** Amazon S3 Multi-Region Access Point */
public static readonly S3_MULTIREGION_ACCESS_POINT = new ResourceType('AWS::S3::MultiRegionAccessPoint');
/** Amazon SageMaker code repository */
public static readonly SAGEMAKER_CODE_REPOSITORY = new ResourceType('AWS::SageMaker::CodeRepository');
/** Amazon SageMaker model */
Expand Down Expand Up @@ -2408,6 +2424,8 @@ export class ResourceType {
public static readonly GLUE_JOB = new ResourceType('AWS::Glue::Job');
/** AWS Glue Classifier */
public static readonly GLUE_CLASSIFIER = new ResourceType('AWS::Glue::Classifier');
/** AWS Glue machine learning transform */
public static readonly GLUE_ML_TRANSFORM = new ResourceType('AWS::Glue::MLTransform');
/** AWS IAM user */
public static readonly IAM_USER = new ResourceType('AWS::IAM::User');
/** AWS IAM group */
Expand All @@ -2426,14 +2444,36 @@ export class ResourceType {
public static readonly IOT_ROLE_ALIAS = new ResourceType('AWS::IoT::RoleAlias');
/** AWS IoT dimension */
public static readonly IOT_DIMENSION = new ResourceType('AWS::IoT::Dimension');
/** AWS IoT policy */
public static readonly IOT_POLICY = new ResourceType('AWS::IoT::Policy');
/** AWS IoT mitigation action */
public static readonly IOT_MITIGATION_ACTION = new ResourceType('AWS::IoT::MitigationAction');
/** AWS IoT TwinMaker workspace */
public static readonly IOT_TWINMAKER_WORKSPACE = new ResourceType('AWS::IoTwinMaker::Workspace');
/** AWS IoT TwinMaker entity */
public static readonly IOT_TWINMAKER_ENTITY = new ResourceType('AWS::IoTTwinMaker::Entity');
/** AWS IoT Analytics datastore */
public static readonly IOT_ANALYTICS_DATASTORE = new ResourceType('AWS::IoTAnalytics::Datastore');
/** AWS IoT Analytics dataset */
public static readonly IOT_ANALYTICS_DATASET = new ResourceType('AWS::IoTAnalytics::Dataset');
/** AWS IoT Analytics pipeline */
public static readonly IOT_ANALYTICS_PIPELINE = new ResourceType('AWS::IoTAnalytics::Pipeline');
/** AWS IoT Analytics channel */
public static readonly IOT_ANALYTICS_CHANNEL = new ResourceType('AWS::IoTAnalytics::Channel');
/** AWS IoT Events Input */
public static readonly IOT_EVENTS_INPUT = new ResourceType('AWS::IoTEvents::Input');
/** AWS IoT Events Detector Model */
public static readonly IOT_EVENTS_DETECTOR_MODEL = new ResourceType('AWS::IoTEvents::DetectorModel');
/** AWS IoT Events Alarm Model */
public static readonly IOT_EVENTS_ALARM_MODEL = new ResourceType('AWS::IoTEvents::AlarmModel');
/** AWS IoT SiteWise dashboard */
public static readonly IOT_SITEWISE_DASHBOARD = new ResourceType('AWS::IoTSiteWise::Dashboard');
/** AWS IoT SiteWise project */
public static readonly IOT_SITEWISE_PROJECT = new ResourceType('AWS::IoTSiteWise::Project');
/** AWS IoT SiteWise portal */
public static readonly IOT_SITEWISE_PORTAL = new ResourceType('AWS::IoTSiteWise::Portal');
/** AWS IoT SiteWise asset model */
public static readonly IOT_SITEWISE_ASSETMODEL = new ResourceType('AWS::IoTSiteWise::AssetModel');
/** AWS KMS Key */
public static readonly KMS_KEY = new ResourceType('AWS::KMS::Key');
/** AWS Lambda function */
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-lambda-nodejs/lib/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ function extractTsConfig(tsconfigPath: string, previousCompilerOptions?: Record<
// eslint-disable-next-line @typescript-eslint/no-require-imports
const { extends: extendedConfig, compilerOptions } = require(tsconfigPath);
const updatedCompilerOptions = {
...(previousCompilerOptions ?? {}),
...compilerOptions,
...(previousCompilerOptions ?? {}),
};
if (extendedConfig) {
return extractTsConfig(
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "./testtsconfig.json",
"compilerOptions": {
"target": "ES2022"
}
}
33 changes: 33 additions & 0 deletions packages/@aws-cdk/aws-lambda-nodejs/test/util.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,37 @@ describe('getTsconfigCompilerOptions', () => {
'--target ES2020',
].join(' '));
});

test('should extract compiler options with extended config overriding', () => {
const tsconfig = path.join(__dirname, 'testtsconfig-extended.json');
const compilerOptions = getTsconfigCompilerOptions(tsconfig);
expect(compilerOptions).toEqual([
'--alwaysStrict',
'--charset utf8',
'--declaration',
'--declarationMap false',
'--experimentalDecorators',
'--incremental false',
'--inlineSourceMap',
'--inlineSources',
'--lib es2020',
'--module CommonJS',
'--newLine lf',
'--noEmitOnError',
'--noFallthroughCasesInSwitch',
'--noImplicitAny',
'--noImplicitReturns',
'--noImplicitThis',
'--noUnusedLocals',
'--noUnusedParameters',
'--outDir ./',
'--resolveJsonModule',
'--rootDir ./',
'--strict',
'--strictNullChecks',
'--strictPropertyInitialization',
'--stripInternal false',
'--target ES2022',
].join(' '));
});
});
2 changes: 2 additions & 0 deletions packages/@aws-cdk/aws-rds/lib/cluster-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,8 @@ export class AuroraMysqlEngineVersion {
public static readonly VER_3_02_1 = AuroraMysqlEngineVersion.builtIn_8_0('3.02.1');
/** Version "8.0.mysql_aurora.3.02.2". */
public static readonly VER_3_02_2 = AuroraMysqlEngineVersion.builtIn_8_0('3.02.2');
/** Version "8.0.mysql_aurora.3.03.0". */
public static readonly VER_3_03_0 = AuroraMysqlEngineVersion.builtIn_8_0('3.03.0');

/**
* Create a new AuroraMysqlEngineVersion with an arbitrary version.
Expand Down
13 changes: 12 additions & 1 deletion packages/@aws-cdk/aws-rds/lib/instance-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ export class MariaDbEngineVersion {
public static readonly VER_10_3_36 = MariaDbEngineVersion.of('10.3.36', '10.3');
/** Version "10.3.37". */
public static readonly VER_10_3_37 = MariaDbEngineVersion.of('10.3.37', '10.3');
/** Version "10.3.38". */
public static readonly VER_10_3_38 = MariaDbEngineVersion.of('10.3.38', '10.3');

/** Version "10.4" (only a major version, without a specific minor version). */
public static readonly VER_10_4 = MariaDbEngineVersion.of('10.4', '10.4');
Expand All @@ -334,6 +336,8 @@ export class MariaDbEngineVersion {
public static readonly VER_10_4_26 = MariaDbEngineVersion.of('10.4.26', '10.4');
/** Version "10.4.27". */
public static readonly VER_10_4_27 = MariaDbEngineVersion.of('10.4.27', '10.4')
/** Version "10.4.28". */
public static readonly VER_10_4_28 = MariaDbEngineVersion.of('10.4.28', '10.4')

/** Version "10.5" (only a major version, without a specific minor version). */
public static readonly VER_10_5 = MariaDbEngineVersion.of('10.5', '10.5');
Expand All @@ -353,6 +357,8 @@ export class MariaDbEngineVersion {
public static readonly VER_10_5_17 = MariaDbEngineVersion.of('10.5.17', '10.5');
/** Version "10.5.18". */
public static readonly VER_10_5_18 = MariaDbEngineVersion.of('10.5.18', '10.5');
/** Version "10.5.19". */
public static readonly VER_10_5_19 = MariaDbEngineVersion.of('10.5.19', '10.5');

/** Version "10.6" (only a major version, without a specific minor version). */
public static readonly VER_10_6 = MariaDbEngineVersion.of('10.6', '10.6');
Expand All @@ -366,6 +372,9 @@ export class MariaDbEngineVersion {
public static readonly VER_10_6_10 = MariaDbEngineVersion.of('10.6.10', '10.6');
/** Version "10.6.11". */
public static readonly VER_10_6_11 = MariaDbEngineVersion.of('10.6.11', '10.6');
/** Version "10.6.12". */
public static readonly VER_10_6_12 = MariaDbEngineVersion.of('10.6.12', '10.6');


/**
* Create a new MariaDbEngineVersion with an arbitrary version.
Expand Down Expand Up @@ -1038,6 +1047,9 @@ export class PostgresEngineVersion {
/** Version "14.6". */
public static readonly VER_14_6 = PostgresEngineVersion.of('14.6', '14', { s3Import: true, s3Export: true });

/** Version "15" (only a major version, without a specific minor version). */
public static readonly VER_15 = PostgresEngineVersion.of('15', '15', { s3Import: true, s3Export: true });

/**
* Create a new PostgresEngineVersion with an arbitrary version.
*
Expand Down Expand Up @@ -1335,7 +1347,6 @@ export class OracleEngineVersion {
/** Version "19.0.0.0.ru-2023-01.rur-2023-01.r1". */
public static readonly VER_19_0_0_0_2023_01_R1 = OracleEngineVersion.of('19.0.0.0.ru-2023-01.rur-2023-01.r1', '19');


/** Version "21" (only a major version, without a specific minor version). */
public static readonly VER_21 = OracleEngineVersion.of('21', '21');
/** Version "21.0.0.0.ru-2022-01.rur-2022-01.r1". */
Expand Down
15 changes: 15 additions & 0 deletions packages/@aws-cdk/aws-redshift/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,21 @@ new Table(this, 'Table', {
});
```

Table columns can also contain an `id` attribute, which can allow table columns to be renamed.

**NOTE** To use the `id` attribute, you must also enable the `@aws-cdk/aws-redshift:columnId` feature flag.

```ts fixture=cluster
new Table(this, 'Table', {
tableColumns: [
{ id: 'col1', name: 'col1', dataType: 'varchar(4)' },
{ id: 'col2', name: 'col2', dataType: 'float' }
],
cluster: cluster,
databaseName: 'databaseName',
});
```

### Granting Privileges

You can give a user privileges to perform certain actions on a table by using the
Expand Down
Loading

0 comments on commit dd23bb4

Please sign in to comment.