diff --git a/packages/aws-cdk-lib/aws-mpa/.jsiirc.json b/packages/aws-cdk-lib/aws-mpa/.jsiirc.json new file mode 100644 index 0000000000000..0a740552ba960 --- /dev/null +++ b/packages/aws-cdk-lib/aws-mpa/.jsiirc.json @@ -0,0 +1,13 @@ +{ + "targets": { + "java": { + "package": "software.amazon.awscdk.services.mpa" + }, + "dotnet": { + "package": "Amazon.CDK.AWS.MPA" + }, + "python": { + "module": "aws_cdk.aws_mpa" + } + } +} diff --git a/packages/aws-cdk-lib/aws-mpa/README.md b/packages/aws-cdk-lib/aws-mpa/README.md new file mode 100644 index 0000000000000..38df248e6f9a2 --- /dev/null +++ b/packages/aws-cdk-lib/aws-mpa/README.md @@ -0,0 +1,39 @@ +# AWS::MPA Construct Library + + +--- + +![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge) + +> All classes with the `Cfn` prefix in this module ([CFN Resources]) are always stable and safe to use. +> +> [CFN Resources]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib + +--- + + + +This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project. + +```ts nofixture +import * as mpa from 'aws-cdk-lib/aws-mpa'; +``` + + + +There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed: + +- Search [Construct Hub for MPA construct libraries](https://constructs.dev/search?q=mpa) +- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::MPA resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_MPA.html) directly. + + + + +There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. +However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly. + +For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::MPA](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_MPA.html). + +(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.) + + diff --git a/packages/aws-cdk-lib/aws-mpa/index.ts b/packages/aws-cdk-lib/aws-mpa/index.ts new file mode 100644 index 0000000000000..f41a696fd204d --- /dev/null +++ b/packages/aws-cdk-lib/aws-mpa/index.ts @@ -0,0 +1 @@ +export * from './lib'; diff --git a/packages/aws-cdk-lib/aws-mpa/lib/index.ts b/packages/aws-cdk-lib/aws-mpa/lib/index.ts new file mode 100644 index 0000000000000..9ad9874ec1d37 --- /dev/null +++ b/packages/aws-cdk-lib/aws-mpa/lib/index.ts @@ -0,0 +1,2 @@ +// AWS::MPA Cloudformation Resources +export * from './mpa.generated'; diff --git a/packages/aws-cdk-lib/index.ts b/packages/aws-cdk-lib/index.ts index 5f599a2e40a87..702d7b21ebe99 100644 --- a/packages/aws-cdk-lib/index.ts +++ b/packages/aws-cdk-lib/index.ts @@ -183,6 +183,7 @@ export * as aws_mediapackagev2 from './aws-mediapackagev2'; export * as aws_mediastore from './aws-mediastore'; export * as aws_mediatailor from './aws-mediatailor'; export * as aws_memorydb from './aws-memorydb'; +export * as aws_mpa from './aws-mpa'; export * as aws_msk from './aws-msk'; export * as aws_mwaa from './aws-mwaa'; export * as aws_neptune from './aws-neptune'; diff --git a/packages/aws-cdk-lib/package.json b/packages/aws-cdk-lib/package.json index 34b314d93fcf3..5913e7aa6824d 100644 --- a/packages/aws-cdk-lib/package.json +++ b/packages/aws-cdk-lib/package.json @@ -136,7 +136,7 @@ }, "devDependencies": { "@aws-cdk/lambda-layer-kubectl-v31": "^2.1.0", - "@aws-cdk/aws-service-spec": "^0.1.82", + "@aws-cdk/aws-service-spec": "^0.1.83", "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/custom-resource-handlers": "0.0.0", "@aws-cdk/pkglint": "0.0.0", @@ -399,6 +399,7 @@ "./aws-mediastore": "./aws-mediastore/index.js", "./aws-mediatailor": "./aws-mediatailor/index.js", "./aws-memorydb": "./aws-memorydb/index.js", + "./aws-mpa": "./aws-mpa/index.js", "./aws-msk": "./aws-msk/index.js", "./aws-mwaa": "./aws-mwaa/index.js", "./aws-neptune": "./aws-neptune/index.js", diff --git a/packages/aws-cdk-lib/scripts/scope-map.json b/packages/aws-cdk-lib/scripts/scope-map.json index 1764098d98567..e64bbda7c504f 100644 --- a/packages/aws-cdk-lib/scripts/scope-map.json +++ b/packages/aws-cdk-lib/scripts/scope-map.json @@ -495,6 +495,9 @@ "aws-memorydb": [ "AWS::MemoryDB" ], + "aws-mpa": [ + "AWS::MPA" + ], "aws-msk": [ "AWS::MSK" ], diff --git a/tools/@aws-cdk/spec2cdk/package.json b/tools/@aws-cdk/spec2cdk/package.json index a2d8568ab4e93..5b02d11e631b0 100644 --- a/tools/@aws-cdk/spec2cdk/package.json +++ b/tools/@aws-cdk/spec2cdk/package.json @@ -32,9 +32,9 @@ }, "license": "Apache-2.0", "dependencies": { - "@aws-cdk/aws-service-spec": "^0.1.82", + "@aws-cdk/aws-service-spec": "^0.1.83", "@aws-cdk/service-spec-importers": "^0.0.82", - "@aws-cdk/service-spec-types": "^0.0.148", + "@aws-cdk/service-spec-types": "^0.0.149", "@cdklabs/tskb": "^0.0.3", "@cdklabs/typewriter": "^0.0.5", "camelcase": "^6", diff --git a/yarn.lock b/yarn.lock index 73ea5b8a889b6..610fa893b7854 100644 --- a/yarn.lock +++ b/yarn.lock @@ -66,12 +66,12 @@ "@aws-cdk/service-spec-types" "^0.0.145" "@cdklabs/tskb" "^0.0.3" -"@aws-cdk/aws-service-spec@^0.1.82": - version "0.1.82" - resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.1.82.tgz#d9d0b9e918daea01912de11e670e29e669b0f718" - integrity sha512-Vn0qMU00ozjmzxMgAluhS8V8H+/tk0Zk8VwKKf4kDJ3i1uFp15mfQM5vch8JwNs5Tn/xAOCX7jIavh1PiKfKYg== +"@aws-cdk/aws-service-spec@^0.1.83": + version "0.1.83" + resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.1.83.tgz#fba5aa14fd4ca476db91fdfb0521ce05207a879b" + integrity sha512-N3Em28zPdSg5GPORsK8QAD+J6P1qs9E/QwiSU0lnOGXw4lXWo/kbmyx0J50gJlIOSSKu5yHrCtozqJox51F2oA== dependencies: - "@aws-cdk/service-spec-types" "^0.0.148" + "@aws-cdk/service-spec-types" "^0.0.149" "@cdklabs/tskb" "^0.0.3" "@aws-cdk/cloud-assembly-schema@^44.2.0": @@ -152,10 +152,10 @@ dependencies: "@cdklabs/tskb" "^0.0.3" -"@aws-cdk/service-spec-types@^0.0.148": - version "0.0.148" - resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.148.tgz#8ec4fa34d4bbb7e9542bce09da0641a20795f771" - integrity sha512-efHu3o1r/OWpwtz0415EEyXOLtxq7Wd4m7vb+bSg/QybNK9wwwlmYqDQaA8bDzygGJr4Kyq6losvGZhiBuYkiA== +"@aws-cdk/service-spec-types@^0.0.149": + version "0.0.149" + resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.149.tgz#30d0ed92cc1f94a5daea25354c61b77cd2365469" + integrity sha512-floRx9TBqiPa37EtZTW5uMhRmJDYdq+HJpCswQz9CsOIPIimkZXUeb6+/1g3+zsJVsb3pIj0kzCE+9civSUwKA== dependencies: "@cdklabs/tskb" "^0.0.3"