diff --git a/packages/@aws-cdk/cloudformation-diff/package.json b/packages/@aws-cdk/cloudformation-diff/package.json index 4b765de33bc21..4cf0b1e424c81 100644 --- a/packages/@aws-cdk/cloudformation-diff/package.json +++ b/packages/@aws-cdk/cloudformation-diff/package.json @@ -23,8 +23,8 @@ }, "license": "Apache-2.0", "dependencies": { - "@aws-cdk/aws-service-spec": "^0.0.60", - "@aws-cdk/service-spec-types": "^0.0.60", + "@aws-cdk/aws-service-spec": "^0.0.61", + "@aws-cdk/service-spec-types": "^0.0.61", "aws-sdk": "2.1586.0", "chalk": "^4", "diff": "^5.2.0", diff --git a/packages/@aws-cdk/integ-runner/package.json b/packages/@aws-cdk/integ-runner/package.json index 1d9dfef1d6324..d23f1d45a18a6 100644 --- a/packages/@aws-cdk/integ-runner/package.json +++ b/packages/@aws-cdk/integ-runner/package.json @@ -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.60", + "@aws-cdk/aws-service-spec": "^0.0.61", "cdk-assets": "0.0.0", "@aws-cdk/cdk-cli-wrapper": "0.0.0", "aws-cdk": "0.0.0", diff --git a/packages/aws-cdk-lib/aws-securitylake/.jsiirc.json b/packages/aws-cdk-lib/aws-securitylake/.jsiirc.json new file mode 100644 index 0000000000000..91d4cfcec7050 --- /dev/null +++ b/packages/aws-cdk-lib/aws-securitylake/.jsiirc.json @@ -0,0 +1,13 @@ +{ + "targets": { + "java": { + "package": "software.amazon.awscdk.services.securitylake" + }, + "dotnet": { + "package": "Amazon.CDK.AWS.SecurityLake" + }, + "python": { + "module": "aws_cdk.aws_securitylake" + } + } +} diff --git a/packages/aws-cdk-lib/aws-securitylake/README.md b/packages/aws-cdk-lib/aws-securitylake/README.md new file mode 100644 index 0000000000000..555b8e4895b3c --- /dev/null +++ b/packages/aws-cdk-lib/aws-securitylake/README.md @@ -0,0 +1,39 @@ +# AWS::SecurityLake 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 securitylake from 'aws-cdk-lib/aws-securitylake'; +``` + + + +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 SecurityLake construct libraries](https://constructs.dev/search?q=securitylake) +- 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::SecurityLake resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_SecurityLake.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::SecurityLake](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_SecurityLake.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-securitylake/index.ts b/packages/aws-cdk-lib/aws-securitylake/index.ts new file mode 100644 index 0000000000000..f41a696fd204d --- /dev/null +++ b/packages/aws-cdk-lib/aws-securitylake/index.ts @@ -0,0 +1 @@ +export * from './lib'; diff --git a/packages/aws-cdk-lib/aws-securitylake/lib/index.ts b/packages/aws-cdk-lib/aws-securitylake/lib/index.ts new file mode 100644 index 0000000000000..09d7caf8aa9b9 --- /dev/null +++ b/packages/aws-cdk-lib/aws-securitylake/lib/index.ts @@ -0,0 +1,2 @@ +// AWS::SecurityLake Cloudformation Resources +export * from './securitylake.generated'; diff --git a/packages/aws-cdk-lib/index.ts b/packages/aws-cdk-lib/index.ts index 7604bc8237e65..6e4eb5084e560 100644 --- a/packages/aws-cdk-lib/index.ts +++ b/packages/aws-cdk-lib/index.ts @@ -226,6 +226,7 @@ export * as aws_scheduler from './aws-scheduler'; export * as aws_sdb from './aws-sdb'; export * as aws_secretsmanager from './aws-secretsmanager'; export * as aws_securityhub from './aws-securityhub'; +export * as aws_securitylake from './aws-securitylake'; export * as aws_servicecatalog from './aws-servicecatalog'; export * as aws_servicecatalogappregistry from './aws-servicecatalogappregistry'; export * as aws_servicediscovery from './aws-servicediscovery'; diff --git a/packages/aws-cdk-lib/package.json b/packages/aws-cdk-lib/package.json index a495bdf8b32a8..850f9e40f9966 100644 --- a/packages/aws-cdk-lib/package.json +++ b/packages/aws-cdk-lib/package.json @@ -135,7 +135,7 @@ "mime-types": "^2.1.35" }, "devDependencies": { - "@aws-cdk/aws-service-spec": "^0.0.60", + "@aws-cdk/aws-service-spec": "^0.0.61", "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/custom-resource-handlers": "0.0.0", "@aws-cdk/pkglint": "0.0.0", @@ -442,6 +442,7 @@ "./aws-sdb": "./aws-sdb/index.js", "./aws-secretsmanager": "./aws-secretsmanager/index.js", "./aws-securityhub": "./aws-securityhub/index.js", + "./aws-securitylake": "./aws-securitylake/index.js", "./aws-servicecatalog": "./aws-servicecatalog/index.js", "./aws-servicecatalogappregistry": "./aws-servicecatalogappregistry/index.js", "./aws-servicediscovery": "./aws-servicediscovery/index.js", diff --git a/packages/aws-cdk-lib/scripts/scope-map.json b/packages/aws-cdk-lib/scripts/scope-map.json index bc2a94855f5e6..6a394c5f6a3d2 100644 --- a/packages/aws-cdk-lib/scripts/scope-map.json +++ b/packages/aws-cdk-lib/scripts/scope-map.json @@ -609,6 +609,9 @@ "aws-securityhub": [ "AWS::SecurityHub" ], + "aws-securitylake": [ + "AWS::SecurityLake" + ], "aws-servicecatalog": [ "AWS::ServiceCatalog" ], diff --git a/tools/@aws-cdk/spec2cdk/package.json b/tools/@aws-cdk/spec2cdk/package.json index 0d79af43106ee..4b644f1e66142 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.0.60", - "@aws-cdk/service-spec-importers": "^0.0.27", - "@aws-cdk/service-spec-types": "^0.0.60", + "@aws-cdk/aws-service-spec": "^0.0.61", + "@aws-cdk/service-spec-importers": "^0.0.28", + "@aws-cdk/service-spec-types": "^0.0.61", "@cdklabs/tskb": "^0.0.3", "@cdklabs/typewriter": "^0.0.3", "camelcase": "^6", diff --git a/yarn.lock b/yarn.lock index b8ce91d4a4b80..b51c53c485948 100644 --- a/yarn.lock +++ b/yarn.lock @@ -56,12 +56,12 @@ resolved "https://registry.npmjs.org/@aws-cdk/asset-node-proxy-agent-v6/-/asset-node-proxy-agent-v6-2.0.1.tgz#6dc9b7cdb22ff622a7176141197962360c33e9ac" integrity sha512-DDt4SLdLOwWCjGtltH4VCST7hpOI5DzieuhGZsBpZ+AgJdSI2GCjklCXm0GCTwJG/SolkL5dtQXyUKgg9luBDg== -"@aws-cdk/aws-service-spec@^0.0.60": - version "0.0.60" - resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.0.60.tgz#6ed18a6f9cd8bce649a49f26ecf5e3c7a1360cf0" - integrity sha512-HyIQGKkPz3olFP5JKXxxVomTZFcpwRvDQ5e+deJ2srTS4EpUTFs8jB/Etw4gNvv0ka0y6Vv3dZ4Tvz6EhZ9t3A== +"@aws-cdk/aws-service-spec@^0.0.61": + version "0.0.61" + resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.0.61.tgz#afb49a8fb0a8907e08337a7d3d07d16847da7d84" + integrity sha512-otxvSzkPCuZuGddWFHXFdEsjasTpQciGRjfPWmtt+iwu48rJe40zQtpyXZm72SJ25JBXFDHNnrYcALT4NzIQMQ== dependencies: - "@aws-cdk/service-spec-types" "^0.0.60" + "@aws-cdk/service-spec-types" "^0.0.61" "@cdklabs/tskb" "^0.0.3" "@aws-cdk/lambda-layer-kubectl-v24@^2.0.242": @@ -74,12 +74,12 @@ resolved "https://registry.npmjs.org/@aws-cdk/lambda-layer-kubectl-v29/-/lambda-layer-kubectl-v29-2.0.0.tgz#1c078fffa2c701c691aeb3e599e91cd3c1017e74" integrity sha512-X6RKZPcPGkYSp9/AhiNtEL7Vz2I77qCdbr5XGtqFeIyw/620Qo2ZIRFr2AjWfGEj81gvcwUbVW5lZ6+EqqyqlA== -"@aws-cdk/service-spec-importers@^0.0.27": - version "0.0.27" - resolved "https://registry.npmjs.org/@aws-cdk/service-spec-importers/-/service-spec-importers-0.0.27.tgz#a8ce7bb76eebf5027671bcecf03fa8739d01385e" - integrity sha512-YR5Fo/SJwJyG1i271GnJEvaq3mWw4Eg9PuKQkSIyACn1Jb/k4vVMxAz6Y3j50Wp9H3nq7Ux+cbezHcJTFVd7nw== +"@aws-cdk/service-spec-importers@^0.0.28": + version "0.0.28" + resolved "https://registry.npmjs.org/@aws-cdk/service-spec-importers/-/service-spec-importers-0.0.28.tgz#97ad3077ac3f2b6e31ca54e2da6f8aa4c1f0765b" + integrity sha512-x6WDd5xsgBJHRxVMmeO6ivSovGdDG5CtEPAf2rAPp+dd56NCe6N3/A4x2SzmejvUTOWBQrxcXqHsKaW8YRGvAg== dependencies: - "@aws-cdk/service-spec-types" "^0.0.57" + "@aws-cdk/service-spec-types" "^0.0.61" "@cdklabs/tskb" "^0.0.3" ajv "^6" canonicalize "^2.0.0" @@ -90,17 +90,10 @@ glob "^8" sort-json "^2.0.1" -"@aws-cdk/service-spec-types@^0.0.57": - version "0.0.57" - resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.57.tgz#b3d3e498a93957c57aa48b6edcd3d122e2145ad2" - integrity sha512-IPB4sgE+05DQXt6UqWSutEyeBCFPm6mSxBiw7/neXHSBLu/FcxXDy+C80nyTcuSW1WJbkNomjV4b3hkp47VPAg== - dependencies: - "@cdklabs/tskb" "^0.0.3" - -"@aws-cdk/service-spec-types@^0.0.60": - version "0.0.60" - resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.60.tgz#497a45d223f9a5e8dcfc90c614271c54a92588a9" - integrity sha512-yXjN5vP1DmB7XJ4SmAvbvSusEklM9xe8e7QcETbokn3ghr0HHXjUkkzdVWaySr5EBBg92ANBG5dP/WZV2vHo/Q== +"@aws-cdk/service-spec-types@^0.0.61": + version "0.0.61" + resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.61.tgz#6ff36bf633483567c738b5a873dff01cea4fe3c7" + integrity sha512-ZeVY22xFHHJQBJsawF+eg9BrlQSgYa9CYw1qusV1jfeduoCbHqWoFVQsnrAGJ1Y50AX4QfMR7GinxlvPCR2Iqw== dependencies: "@cdklabs/tskb" "^0.0.3"