konokenj.cdk-api-mcp-server 0.48.0__py3-none-any.whl → 0.57.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cdk_api_mcp_server/__about__.py +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-amplify-alpha/README.md +12 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-bedrock-agentcore-alpha/README.md +1979 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-bedrock-alpha/README.md +2 -2
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-eks-v2-alpha/README.md +156 -69
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-imagebuilder-alpha/README.md +656 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-lambda-go-alpha/README.md +102 -4
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-msk-alpha/README.md +38 -8
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-sagemaker-alpha/README.md +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/mixins-preview/README.md +182 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/README.md/README.md +2 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/README.md +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.api-with-authorizer-and-proxy.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.lambda-api.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.lambda-permission-consolidation.ts +55 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.spec-restapi.ts +1 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2/README.md +93 -81
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2/integ.stage.ts +20 -4
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-authorizers/integ.iam.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-authorizers/integ.lambda.ts +2 -2
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-authorizers/integ.user-pool.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/README.md +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.add-subroute-integration.ts +7 -4
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.http-proxy.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.lambda-connect-disconnect-trigger.ts +2 -2
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.lambda-permission-consolidation.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.lambda-proxy.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.lambda.ts +4 -4
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.graphql-lambda-permission.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.js-resolver.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-batch/README.md +15 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-batch/integ.managed-compute-environment-default-instance-class.ts +20 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudformation/integ.core-custom-resources-node-18.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudformation/integ.core-custom-resources-service-timeout.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/README.md +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.function-url-origin-ip-address-type.ts +84 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.origin-response-completion-timeout.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudtrail/integ.cloudtrail-data-events-only.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/README.md +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/integ.anomaly-detection-alarm.ts +44 -2
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/README.md +0 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-elastic-beanstalk-deploy.ts +4 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/README.md +2 -2
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/README.md +125 -2
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/TABLE_V1_API.md +45 -2
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb.add-to-resource-policy.ts +97 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb.compound.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb.policy.ts +21 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.table-v2.compound.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/README.md +16 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.client-vpn-endpoint-disconnect-on-session-timeout.ts +65 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-flow-logs.ts +4 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecr/README.md +41 -2
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecr/integ.tag-mutability-exclusion.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/README.md +47 -4
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.managedinstances-capacity-provider.ts +5 -3
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.managedinstances-no-default-capacity-provider.ts +107 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.placement-strategies.ts +32 -8
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.alb-fargate-service-public-private-switch.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/README.md +103 -83
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-al2023-nodegroup.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-cluster-removal-policy.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.fargate-cluster.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/README.md +34 -4
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb-lambda-multi-value-headers.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb.oidc.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.nlb.security-group.ts +70 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2-actions/integ.cognito.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/README.md +22 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.firehose-delivery-stream.ts +51 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.managed-policy.ts +9 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.policy.ts +9 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kinesis/README.md +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kinesis/integ.stream-shard-level-monitoring.ts +47 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kinesisfirehose/README.md +156 -3
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kinesisfirehose/integ.cloudwatch-logs-processors.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kinesisfirehose/integ.record-format-conversion-schema.ts +154 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kinesisfirehose/integ.record-format-conversion.ts +178 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/README.md +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.binary-payload.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.logging-config.ts +8 -8
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.multi-tenancy.ts +24 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.params-and-secrets.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.runtime-management.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.runtime.fromasset.ts +19 -4
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.runtime.inlinecode.ts +11 -4
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-nodejs/integ.dependencies-pnpm.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-nodejs/integ.function-exclude-smithy-models.ts +2 -2
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-nodejs/integ.nodejs.build.images.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/README.md +4 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/integ.metricfilter-apply-on-transformed-logs.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/integ.subscriptionfilter.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.ebs.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.min.ts +1 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/README.md +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-cloudwatch-logs-exports.ts +56 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-data-api-to-imported-cluster.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-data-api.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53/README.md +44 -31
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53/integ.private-hosted-zone-from-attributes.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53/integ.zone-delegation-iam-stack.ts +66 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/README.md +65 -4
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-big-response.ts +17 -6
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-cloudfront.ts +20 -18
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-cross-nested-stack-source.ts +7 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-cross-stack-source.ts +6 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-cross-stack-ssm-source.ts +7 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-data.ts +99 -59
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-deployed-bucket.ts +10 -4
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-large-file.ts +23 -12
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-loggroup.ts +7 -2
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-security-groups-efs.ts +77 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-security-groups-empty.ts +69 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-security-groups-multiple.ts +89 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-security-groups-single.ts +77 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-signcontent.ts +11 -7
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-substitution-with-destination-key.ts +15 -8
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-substitution-with-role.ts +29 -14
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-substitution.ts +16 -8
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-vpc-basic.ts +65 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-vpc-config.ts +66 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-vpc-custom-subnets.ts +66 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-vpc-efs.ts +66 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-vpc-security-groups.ts +72 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-vpc-subnet-selection.ts +70 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment.ts +47 -69
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-secretsmanager/integ.secret.dynamic-reference-key.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.sm-jsonpath-with-distributed-map-jsonata.ts +105 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/README.md +15 -4
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.call-aws-service-cross-region-lambda.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.evaluate-expression-arm64.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.evaluate-expression-default.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.evaluate-expression-mixed-arch.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.evaluate-expression-x86.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.invoke-json-path.ts +102 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-synthetics/README.md +17 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-synthetics/integ.canary-runtime-validation.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-synthetics/integ.canary.ts +2 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/README.md +56 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.aws-custom-resource.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.custom-resource-config-lambda-node-runtime.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.external-id.ts +80 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.invoke-function-payload.ts +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/cx-api/FEATURE_FLAGS.md +71 -10
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/cx-api/README.md +32 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/interfaces/README.md +33 -0
- {konokenj_cdk_api_mcp_server-0.48.0.dist-info → konokenj_cdk_api_mcp_server-0.57.0.dist-info}/METADATA +2 -2
- {konokenj_cdk_api_mcp_server-0.48.0.dist-info → konokenj_cdk_api_mcp_server-0.57.0.dist-info}/RECORD +151 -106
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.kinesis-firehose-stream.ts +0 -33
- {konokenj_cdk_api_mcp_server-0.48.0.dist-info → konokenj_cdk_api_mcp_server-0.57.0.dist-info}/WHEEL +0 -0
- {konokenj_cdk_api_mcp_server-0.48.0.dist-info → konokenj_cdk_api_mcp_server-0.57.0.dist-info}/entry_points.txt +0 -0
- {konokenj_cdk_api_mcp_server-0.48.0.dist-info → konokenj_cdk_api_mcp_server-0.57.0.dist-info}/licenses/LICENSE.txt +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as path from 'node:path';
|
|
2
|
+
import { App, Duration, Size, Stack, StackProps } from 'aws-cdk-lib/core';
|
|
3
|
+
import { IntegTest } from '@aws-cdk/integ-tests-alpha';
|
|
4
|
+
import { Construct } from 'constructs';
|
|
5
|
+
import * as synthetics from 'aws-cdk-lib/aws-synthetics';
|
|
6
|
+
|
|
7
|
+
class TestStack extends Stack {
|
|
8
|
+
public puppeteer11RootCanary: synthetics.Canary;
|
|
9
|
+
public puppeteer11NodeModulesCanary: synthetics.Canary;
|
|
10
|
+
|
|
11
|
+
constructor(scope: Construct, id: string, props?: StackProps) {
|
|
12
|
+
super(scope, id, props);
|
|
13
|
+
|
|
14
|
+
// Test puppeteer 11.0+ with root-level files only
|
|
15
|
+
this.puppeteer11RootCanary = new synthetics.Canary(this, 'Puppeteer11RootCanary', {
|
|
16
|
+
runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_11_0,
|
|
17
|
+
test: synthetics.Test.custom({
|
|
18
|
+
handler: 'canary.handler',
|
|
19
|
+
code: synthetics.Code.fromAsset(path.join(__dirname, 'canaries-runtime-validation', 'root-only')),
|
|
20
|
+
}),
|
|
21
|
+
memory: Size.mebibytes(1024),
|
|
22
|
+
timeout: Duration.minutes(2),
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
// Test puppeteer 11.0+ also supports nodejs/node_modules structure
|
|
26
|
+
this.puppeteer11NodeModulesCanary = new synthetics.Canary(this, 'Puppeteer11NodeModulesCanary', {
|
|
27
|
+
runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_11_0,
|
|
28
|
+
test: synthetics.Test.custom({
|
|
29
|
+
handler: 'canary.handler',
|
|
30
|
+
code: synthetics.Code.fromAsset(path.join(__dirname, 'canaries')),
|
|
31
|
+
}),
|
|
32
|
+
memory: Size.mebibytes(1024),
|
|
33
|
+
timeout: Duration.minutes(2),
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
const app = new App();
|
|
39
|
+
const testStack = new TestStack(app, 'SyntheticsCanaryRuntimeValidationStack');
|
|
40
|
+
|
|
41
|
+
new IntegTest(app, 'SyntheticsCanaryRuntimeValidation', {
|
|
42
|
+
testCases: [testStack],
|
|
43
|
+
});
|
|
@@ -114,6 +114,7 @@ const selenium41 = createCanaryByRuntimes(Runtime.SYNTHETICS_PYTHON_SELENIUM_4_1
|
|
|
114
114
|
const selenium50 = createCanaryByRuntimes(Runtime.SYNTHETICS_PYTHON_SELENIUM_5_0);
|
|
115
115
|
const selenium51 = createCanaryByRuntimes(Runtime.SYNTHETICS_PYTHON_SELENIUM_5_1);
|
|
116
116
|
const selenium60 = createCanaryByRuntimes(Runtime.SYNTHETICS_PYTHON_SELENIUM_6_0);
|
|
117
|
+
const selenium70 = createCanaryByRuntimes(Runtime.SYNTHETICS_PYTHON_SELENIUM_7_0);
|
|
117
118
|
|
|
118
119
|
const test = new IntegTest(app, 'IntegCanaryTest', {
|
|
119
120
|
testCases: [stack],
|
|
@@ -142,6 +143,7 @@ const test = new IntegTest(app, 'IntegCanaryTest', {
|
|
|
142
143
|
selenium50,
|
|
143
144
|
selenium51,
|
|
144
145
|
selenium60,
|
|
146
|
+
selenium70,
|
|
145
147
|
].forEach((canary) => test.assertions
|
|
146
148
|
.awsApiCall('Synthetics', 'getCanaryRuns', {
|
|
147
149
|
Name: canary.canaryName,
|
|
@@ -831,6 +831,62 @@ new cr.AwsCustomResource(this, 'CrossAccount', {
|
|
|
831
831
|
});
|
|
832
832
|
```
|
|
833
833
|
|
|
834
|
+
#### Using External IDs for Enhanced Security
|
|
835
|
+
|
|
836
|
+
When assuming cross-account roles, you can specify an external ID to prevent the "confused deputy" problem. The external ID is a unique identifier provided by the third-party service that helps ensure the service is acting on behalf of the correct customer:
|
|
837
|
+
|
|
838
|
+
```ts
|
|
839
|
+
const crossAccountRoleArn = 'arn:aws:iam::OTHERACCOUNT:role/CrossAccountRoleName';
|
|
840
|
+
const serviceExternalId = 'unique-secret-value-12345'; // External ID provided by the third party service. This value should be unique among the third-party service's customers.
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
new cr.AwsCustomResource(this, 'SecureCrossAccount', {
|
|
844
|
+
onCreate: {
|
|
845
|
+
assumedRoleArn: crossAccountRoleArn,
|
|
846
|
+
externalId: serviceExternalId, // Prevents confused deputy attacks
|
|
847
|
+
service: 'sts',
|
|
848
|
+
action: 'GetCallerIdentity',
|
|
849
|
+
physicalResourceId: cr.PhysicalResourceId.of('id'),
|
|
850
|
+
},
|
|
851
|
+
policy: cr.AwsCustomResourcePolicy.fromStatements([iam.PolicyStatement.fromJson({
|
|
852
|
+
Effect: "Allow",
|
|
853
|
+
Action: "sts:AssumeRole",
|
|
854
|
+
Resource: crossAccountRoleArn,
|
|
855
|
+
})]),
|
|
856
|
+
});
|
|
857
|
+
```
|
|
858
|
+
|
|
859
|
+
The external ID can also be different for each lifecycle operation:
|
|
860
|
+
|
|
861
|
+
```ts
|
|
862
|
+
declare const createRoleArn: string;
|
|
863
|
+
declare const updateRoleArn: string;
|
|
864
|
+
|
|
865
|
+
new cr.AwsCustomResource(this, 'MultiRoleSecure', {
|
|
866
|
+
onCreate: {
|
|
867
|
+
assumedRoleArn: createRoleArn,
|
|
868
|
+
externalId: 'create-secret-123',
|
|
869
|
+
service: 'ec2',
|
|
870
|
+
action: 'DescribeInstances',
|
|
871
|
+
physicalResourceId: cr.PhysicalResourceId.of('id'),
|
|
872
|
+
},
|
|
873
|
+
onUpdate: {
|
|
874
|
+
assumedRoleArn: updateRoleArn,
|
|
875
|
+
externalId: 'update-secret-456',
|
|
876
|
+
service: 'ec2',
|
|
877
|
+
action: 'DescribeInstances',
|
|
878
|
+
},
|
|
879
|
+
policy: cr.AwsCustomResourcePolicy.fromStatements([
|
|
880
|
+
new iam.PolicyStatement({
|
|
881
|
+
actions: ['sts:AssumeRole'],
|
|
882
|
+
resources: [createRoleArn, updateRoleArn],
|
|
883
|
+
}),
|
|
884
|
+
]),
|
|
885
|
+
});
|
|
886
|
+
```
|
|
887
|
+
|
|
888
|
+
For more information on external IDs and preventing confused deputy attacks, see the [AWS IAM User Guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_common-scenarios_third-party.html).
|
|
889
|
+
|
|
834
890
|
#### Custom Resource Config
|
|
835
891
|
|
|
836
892
|
**This feature is currently experimental**
|
|
@@ -121,7 +121,7 @@ const app = new cdk.App({
|
|
|
121
121
|
},
|
|
122
122
|
});
|
|
123
123
|
const testStack = new AwsCdkSdkJsStack(app, 'aws-cdk-sdk-js-v3', {
|
|
124
|
-
runtime: lambda.Runtime.
|
|
124
|
+
runtime: lambda.Runtime.NODEJS_20_X,
|
|
125
125
|
});
|
|
126
126
|
const integTest = new integ.IntegTest(app, 'AwsCustomResourceTest', {
|
|
127
127
|
testCases: [testStack],
|
|
@@ -29,7 +29,7 @@ new lambda.Function(stack, 'nonCrLambda', {
|
|
|
29
29
|
runtime: lambda.Runtime.NODEJS_20_X,
|
|
30
30
|
});
|
|
31
31
|
|
|
32
|
-
CustomResourceConfig.of(app).addLambdaRuntime(lambda.Runtime.
|
|
32
|
+
CustomResourceConfig.of(app).addLambdaRuntime(lambda.Runtime.NODEJS_20_X);
|
|
33
33
|
|
|
34
34
|
new integ.IntegTest(app, 'integ-test-custom-resource-config-lambda-node-runtime', {
|
|
35
35
|
testCases: [stack],
|
cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.external-id.ts
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import * as iam from 'aws-cdk-lib/aws-iam';
|
|
3
|
+
import * as cdk from 'aws-cdk-lib';
|
|
4
|
+
import { IntegTest } from '@aws-cdk/integ-tests-alpha';
|
|
5
|
+
import { AwsCustomResource, AwsCustomResourcePolicy, PhysicalResourceId } from 'aws-cdk-lib/custom-resources';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Integration test for AwsCustomResource External ID support.
|
|
9
|
+
*
|
|
10
|
+
* This test demonstrates the use of external IDs when assuming roles
|
|
11
|
+
* in cross-account scenarios to prevent "confused deputy" attacks.
|
|
12
|
+
*
|
|
13
|
+
* Note: This test may introduce destructive changes to CDK metadata
|
|
14
|
+
* and Lambda function assets due to CDK version updates. These changes
|
|
15
|
+
* are expected and safe for integration testing purposes.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
const app = new cdk.App({
|
|
19
|
+
postCliContext: {
|
|
20
|
+
// Disable CDK managed log groups to prevent Lambda changes
|
|
21
|
+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
|
|
22
|
+
// Disable version reporting to prevent CDK metadata changes
|
|
23
|
+
'@aws-cdk/core:disableVersionReporting': true,
|
|
24
|
+
// Disable new style synthesis to maintain compatibility
|
|
25
|
+
'@aws-cdk/core:newStyleStackSynthesis': false,
|
|
26
|
+
// Use legacy asset bundling to prevent asset hash changes
|
|
27
|
+
'@aws-cdk/core:enableLegacyV2AssetKeys': true,
|
|
28
|
+
// Disable stack name validation to prevent naming conflicts
|
|
29
|
+
'@aws-cdk/core:stackRelativeExports': false,
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
const stack = new cdk.Stack(app, 'aws-custom-resource-external-id-test');
|
|
34
|
+
|
|
35
|
+
// Create a role that requires an external ID
|
|
36
|
+
const externalId = 'test-external-id-12345';
|
|
37
|
+
const roleWithExternalId = new iam.Role(stack, 'RoleWithExternalId', {
|
|
38
|
+
// Use a principal that can be used in integration tests
|
|
39
|
+
assumedBy: new iam.AccountPrincipal(cdk.Stack.of(stack).account),
|
|
40
|
+
externalIds: [externalId],
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
// Add the necessary permissions as managed policies to reduce template variability
|
|
44
|
+
roleWithExternalId.addToPolicy(
|
|
45
|
+
new iam.PolicyStatement({
|
|
46
|
+
actions: ['sts:GetCallerIdentity'],
|
|
47
|
+
resources: ['*'],
|
|
48
|
+
}),
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
// Test basic external ID usage
|
|
52
|
+
new AwsCustomResource(stack, 'ExternalIdTest', {
|
|
53
|
+
installLatestAwsSdk: false,
|
|
54
|
+
onCreate: {
|
|
55
|
+
assumedRoleArn: roleWithExternalId.roleArn,
|
|
56
|
+
externalId: externalId,
|
|
57
|
+
service: 'STS',
|
|
58
|
+
action: 'GetCallerIdentity',
|
|
59
|
+
physicalResourceId: PhysicalResourceId.of('external-id-test'),
|
|
60
|
+
},
|
|
61
|
+
policy: AwsCustomResourcePolicy.fromSdkCalls({ resources: [] }),
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
new IntegTest(app, 'AwsCustomResourceTest', {
|
|
65
|
+
testCases: [stack],
|
|
66
|
+
diffAssets: true,
|
|
67
|
+
allowDestroy: ['AWS::CDK::Metadata'],
|
|
68
|
+
cdkCommandOptions: {
|
|
69
|
+
deploy: {
|
|
70
|
+
args: {
|
|
71
|
+
rollback: false,
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
destroy: {
|
|
75
|
+
args: {
|
|
76
|
+
force: true,
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
});
|
|
@@ -15,7 +15,7 @@ const stack = new cdk.Stack(app, 'AwsCustomResourceInvokePayloadStack');
|
|
|
15
15
|
const fn = new lambda.Function(stack, 'Function', {
|
|
16
16
|
code: lambda.Code.fromInline("exports.handler = async () => { return { statusCode: 200, body: 'Hello World' }; };"),
|
|
17
17
|
handler: 'index.handler',
|
|
18
|
-
runtime: lambda.Runtime.
|
|
18
|
+
runtime: lambda.Runtime.NODEJS_20_X,
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
const testCr = new cr.AwsCustomResource(stack, 'ListLambdaFunctions', {
|
|
@@ -38,7 +38,7 @@ Flags come in three types:
|
|
|
38
38
|
| [@aws-cdk/core:enablePartitionLiterals](#aws-cdkcoreenablepartitionliterals) | Make ARNs concrete if AWS partition is known | 2.38.0 | fix |
|
|
39
39
|
| [@aws-cdk/aws-ecs:disableExplicitDeploymentControllerForCircuitBreaker](#aws-cdkaws-ecsdisableexplicitdeploymentcontrollerforcircuitbreaker) | Avoid setting the "ECS" deployment controller when adding a circuit breaker | 2.51.0 | fix |
|
|
40
40
|
| [@aws-cdk/aws-events:eventsTargetQueueSameAccount](#aws-cdkaws-eventseventstargetqueuesameaccount) | Event Rules may only push to encrypted SQS queues in the same account | 2.51.0 | fix |
|
|
41
|
-
| [@aws-cdk/aws-iam:importedRoleStackSafeDefaultPolicyName](#aws-cdkaws-iamimportedrolestacksafedefaultpolicyname) | Enable this feature to
|
|
41
|
+
| [@aws-cdk/aws-iam:importedRoleStackSafeDefaultPolicyName](#aws-cdkaws-iamimportedrolestacksafedefaultpolicyname) | Enable this feature to create default policy names for imported roles that depend on the stack the role is in. | 2.60.0 | fix |
|
|
42
42
|
| [@aws-cdk/aws-s3:serverAccessLogsUseBucketPolicy](#aws-cdkaws-s3serveraccesslogsusebucketpolicy) | Use S3 Bucket Policy instead of ACLs for Server Access Logging | 2.60.0 | fix |
|
|
43
43
|
| [@aws-cdk/customresources:installLatestAwsSdkDefault](#aws-cdkcustomresourcesinstalllatestawssdkdefault) | Whether to install the latest SDK by default in AwsCustomResource | 2.60.0 | new default |
|
|
44
44
|
| [@aws-cdk/aws-route53-patters:useCertificate](#aws-cdkaws-route53-pattersusecertificate) | Use the official `Certificate` resource instead of `DnsValidatedCertificate` | 2.61.0 | new default |
|
|
@@ -107,6 +107,9 @@ Flags come in three types:
|
|
|
107
107
|
| [@aws-cdk/core:explicitStackTags](#aws-cdkcoreexplicitstacktags) | When enabled, stack tags need to be assigned explicitly on a Stack. | 2.205.0 | new default |
|
|
108
108
|
| [@aws-cdk/aws-signer:signingProfileNamePassedToCfn](#aws-cdkaws-signersigningprofilenamepassedtocfn) | Pass signingProfileName to CfnSigningProfile | 2.212.0 | fix |
|
|
109
109
|
| [@aws-cdk/aws-ecs-patterns:secGroupsDisablesImplicitOpenListener](#aws-cdkaws-ecs-patternssecgroupsdisablesimplicitopenlistener) | Disable implicit openListener when custom security groups are provided | 2.214.0 | new default |
|
|
110
|
+
| [@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId](#aws-cdkaws-ecs-patternsuniquetargetgroupid) | When enabled, ECS patterns will generate unique target group IDs to prevent conflicts during load balancer replacement | 2.221.0 | fix |
|
|
111
|
+
| [@aws-cdk/aws-stepfunctions-tasks:httpInvokeDynamicJsonPathEndpoint](#aws-cdkaws-stepfunctions-taskshttpinvokedynamicjsonpathendpoint) | When enabled, allows using a dynamic apiEndpoint with JSONPath format in HttpInvoke tasks. | 2.221.0 | fix |
|
|
112
|
+
| [@aws-cdk/aws-elasticloadbalancingv2:networkLoadBalancerWithSecurityGroupByDefault](#aws-cdkaws-elasticloadbalancingv2networkloadbalancerwithsecuritygroupbydefault) | When enabled, Network Load Balancer will be created with a security group by default. | 2.222.0 | new default |
|
|
110
113
|
|
|
111
114
|
<!-- END table -->
|
|
112
115
|
|
|
@@ -197,7 +200,9 @@ The following json shows the current recommended set of flags, as `cdk init` wou
|
|
|
197
200
|
"@aws-cdk/s3-notifications:addS3TrustKeyPolicyForSnsSubscriptions": true,
|
|
198
201
|
"@aws-cdk/aws-ec2:requirePrivateSubnetsForEgressOnlyInternetGateway": true,
|
|
199
202
|
"@aws-cdk/aws-s3:publicAccessBlockedByDefault": true,
|
|
200
|
-
"@aws-cdk/aws-lambda:useCdkManagedLogGroup": true
|
|
203
|
+
"@aws-cdk/aws-lambda:useCdkManagedLogGroup": true,
|
|
204
|
+
"@aws-cdk/aws-elasticloadbalancingv2:networkLoadBalancerWithSecurityGroupByDefault": true,
|
|
205
|
+
"@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId": true
|
|
201
206
|
}
|
|
202
207
|
}
|
|
203
208
|
```
|
|
@@ -245,6 +250,7 @@ are migrating a v1 CDK project to v2, explicitly set any of these flags which do
|
|
|
245
250
|
| [@aws-cdk/core:aspectStabilization](#aws-cdkcoreaspectstabilization) | When enabled, a stabilization loop will be run when invoking Aspects during synthesis. | config | | `false` | `true` |
|
|
246
251
|
| [@aws-cdk/pipelines:reduceStageRoleTrustScope](#aws-cdkpipelinesreducestageroletrustscope) | Remove the root account principal from Stage addActions trust policy | new default | | `false` | `true` |
|
|
247
252
|
| [@aws-cdk/pipelines:reduceCrossAccountActionRoleTrustScope](#aws-cdkpipelinesreducecrossaccountactionroletrustscope) | When enabled, scopes down the trust policy for the cross-account action role | new default | | `false` | `true` |
|
|
253
|
+
| [@aws-cdk/aws-stepfunctions-tasks:httpInvokeDynamicJsonPathEndpoint](#aws-cdkaws-stepfunctions-taskshttpinvokedynamicjsonpathendpoint) | When enabled, allows using a dynamic apiEndpoint with JSONPath format in HttpInvoke tasks. | fix | | `false` | `true` |
|
|
248
254
|
|
|
249
255
|
<!-- END diff -->
|
|
250
256
|
|
|
@@ -873,7 +879,7 @@ always apply, regardless of the value of this flag.
|
|
|
873
879
|
|
|
874
880
|
### @aws-cdk/aws-iam:importedRoleStackSafeDefaultPolicyName
|
|
875
881
|
|
|
876
|
-
*Enable this feature to
|
|
882
|
+
*Enable this feature to create default policy names for imported roles that depend on the stack the role is in.*
|
|
877
883
|
|
|
878
884
|
Flag type: Backwards incompatible bugfix
|
|
879
885
|
|
|
@@ -896,7 +902,7 @@ This new implementation creates default policy names based on the constructs nod
|
|
|
896
902
|
|
|
897
903
|
Flag type: Backwards incompatible bugfix
|
|
898
904
|
|
|
899
|
-
Enable this feature flag to use S3 Bucket Policy for granting permission
|
|
905
|
+
Enable this feature flag to use S3 Bucket Policy for granting permission for Server Access Logging
|
|
900
906
|
rather than using the canned `LogDeliveryWrite` ACL. ACLs do not work when Object Ownership is
|
|
901
907
|
enabled on the bucket.
|
|
902
908
|
|
|
@@ -1276,7 +1282,7 @@ Set this flag to false for existing mount targets.
|
|
|
1276
1282
|
Flag type: New default behavior
|
|
1277
1283
|
|
|
1278
1284
|
If this is set, and a `runtime` prop is not passed to, Lambda NodeJs
|
|
1279
|
-
functions will
|
|
1285
|
+
functions will use the latest version of the runtime provided by the Lambda
|
|
1280
1286
|
service. Do not use this if you your lambda function is reliant on dependencies
|
|
1281
1287
|
shipped as part of the runtime environment.
|
|
1282
1288
|
|
|
@@ -1498,7 +1504,7 @@ When this feature flag is disabled, it will keep the root account principal in t
|
|
|
1498
1504
|
|
|
1499
1505
|
Flag type: New default behavior
|
|
1500
1506
|
|
|
1501
|
-
When this
|
|
1507
|
+
When this feature flag is enabled, remove the default deployment alarm settings when creating a AWS ECS service.
|
|
1502
1508
|
|
|
1503
1509
|
|
|
1504
1510
|
| Since | Unset behaves like | Recommended value |
|
|
@@ -1749,8 +1755,8 @@ the latest Amazon Linux 2023 version will be used instead of Amazon Linux 2.
|
|
|
1749
1755
|
|
|
1750
1756
|
Flag type: Configuration option
|
|
1751
1757
|
|
|
1752
|
-
|
|
1753
|
-
This
|
|
1758
|
+
Previously, Aspects were invoked in a single pass of the construct tree.
|
|
1759
|
+
This meant that Aspects which created other Aspects were not run, and Aspects that created new nodes in the tree sometimes did not inherit their parent Aspects.
|
|
1754
1760
|
|
|
1755
1761
|
When this feature flag is enabled, a stabilization loop is run to recurse the construct tree multiple times when invoking Aspects.
|
|
1756
1762
|
|
|
@@ -1989,7 +1995,7 @@ When enabled, table replica will be default to the removal policy of source tabl
|
|
|
1989
1995
|
|
|
1990
1996
|
Flag type: New default behavior
|
|
1991
1997
|
|
|
1992
|
-
When this feature flag is enabled, the SDK API call response to
|
|
1998
|
+
When this feature flag is enabled, the SDK API call response to describe user pool client values will be logged in the custom
|
|
1993
1999
|
resource lambda function logs.
|
|
1994
2000
|
|
|
1995
2001
|
When this feature flag is disabled, the SDK API call response to describe user pool client values will not be logged in the custom
|
|
@@ -2168,7 +2174,7 @@ When this feature flag is disabled, a loggroup is created by Lambda service on f
|
|
|
2168
2174
|
of the function (existing behavior).
|
|
2169
2175
|
LogGroups created in this way do not support Tag propagation, Property Injectors, Aspects.
|
|
2170
2176
|
|
|
2171
|
-
DO NOT ENABLE: If you have
|
|
2177
|
+
DO NOT ENABLE: If you have an existing app defining a lambda function and
|
|
2172
2178
|
have not supplied a logGroup or logRetention prop and your lambda function has
|
|
2173
2179
|
executed at least once, the logGroup has been already created with the same name
|
|
2174
2180
|
so your deployment will start failing.
|
|
@@ -2277,4 +2283,59 @@ override this behavior.
|
|
|
2277
2283
|
**Compatibility with old behavior:** You can pass `openListener: true` explicitly to maintain the old behavior.
|
|
2278
2284
|
|
|
2279
2285
|
|
|
2286
|
+
### @aws-cdk/aws-ecs-patterns:uniqueTargetGroupId
|
|
2287
|
+
|
|
2288
|
+
*When enabled, ECS patterns will generate unique target group IDs to prevent conflicts during load balancer replacement*
|
|
2289
|
+
|
|
2290
|
+
Flag type: Backwards incompatible bugfix
|
|
2291
|
+
|
|
2292
|
+
When this feature flag is enabled, ECS patterns will generate unique target group IDs that include
|
|
2293
|
+
both the load balancer type (public/private) and load balancer name. This prevents CloudFormation
|
|
2294
|
+
conflicts when switching between public and private load balancers or when changing load balancer names.
|
|
2295
|
+
|
|
2296
|
+
Without this flag, target groups use generic IDs like 'ECS' which can cause conflicts when the
|
|
2297
|
+
underlying load balancer is replaced due to changes in internetFacing or loadBalancerName properties.
|
|
2298
|
+
|
|
2299
|
+
This is a breaking change as it will cause target group replacement when the flag is enabled.
|
|
2300
|
+
|
|
2301
|
+
|
|
2302
|
+
| Since | Unset behaves like | Recommended value |
|
|
2303
|
+
| ----- | ----- | ----- |
|
|
2304
|
+
| (not in v1) | | |
|
|
2305
|
+
| 2.221.0 | `false` | `true` |
|
|
2306
|
+
|
|
2307
|
+
|
|
2308
|
+
### @aws-cdk/aws-stepfunctions-tasks:httpInvokeDynamicJsonPathEndpoint
|
|
2309
|
+
|
|
2310
|
+
*When enabled, allows using a dynamic apiEndpoint with JSONPath format in HttpInvoke tasks.*
|
|
2311
|
+
|
|
2312
|
+
Flag type: Backwards incompatible bugfix
|
|
2313
|
+
|
|
2314
|
+
When this feature flag is enabled, the JSONPath apiEndpoint value will be resolved dynamically at runtime, while slightly increasing the size of the state machine definition.
|
|
2315
|
+
When disabled, the JSONPath apiEndpoint property will only support a static string value.
|
|
2316
|
+
|
|
2317
|
+
|
|
2318
|
+
| Since | Unset behaves like | Recommended value |
|
|
2319
|
+
| ----- | ----- | ----- |
|
|
2320
|
+
| (not in v1) | | |
|
|
2321
|
+
| 2.221.0 | `true` | `true` |
|
|
2322
|
+
|
|
2323
|
+
|
|
2324
|
+
### @aws-cdk/aws-elasticloadbalancingv2:networkLoadBalancerWithSecurityGroupByDefault
|
|
2325
|
+
|
|
2326
|
+
*When enabled, Network Load Balancer will be created with a security group by default.*
|
|
2327
|
+
|
|
2328
|
+
Flag type: New default behavior
|
|
2329
|
+
|
|
2330
|
+
When this feature flag is enabled, Network Load Balancer will be created with a security group by default.
|
|
2331
|
+
|
|
2332
|
+
|
|
2333
|
+
| Since | Unset behaves like | Recommended value |
|
|
2334
|
+
| ----- | ----- | ----- |
|
|
2335
|
+
| (not in v1) | | |
|
|
2336
|
+
| 2.222.0 | `false` | `true` |
|
|
2337
|
+
|
|
2338
|
+
**Compatibility with old behavior:** Disable the feature flag to create Network Load Balancer without a security group by default.
|
|
2339
|
+
|
|
2340
|
+
|
|
2280
2341
|
<!-- END details -->
|
|
@@ -763,6 +763,21 @@ _cdk.json_
|
|
|
763
763
|
}
|
|
764
764
|
```
|
|
765
765
|
|
|
766
|
+
* `@aws-cdk/aws-stepfunctions-tasks:httpInvokeDynamicJsonPathEndpoint`
|
|
767
|
+
|
|
768
|
+
When this feature flag is enabled, the JSONPath apiEndpoint value will be resolved dynamically at runtime, while slightly increasing the size of the state machine definition.
|
|
769
|
+
When disabled, the JSONPath apiEndpoint property will only support a static string value.
|
|
770
|
+
|
|
771
|
+
_cdk.json
|
|
772
|
+
|
|
773
|
+
```json
|
|
774
|
+
{
|
|
775
|
+
"context": {
|
|
776
|
+
"@aws-cdk/aws-stepfunctions-tasks:httpInvokeDynamicJsonPathEndpoint": true
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
```
|
|
780
|
+
|
|
766
781
|
* `@aws-cdk/aws-signer:signingProfileNamePassedToCfn`
|
|
767
782
|
|
|
768
783
|
When this feature flag is enabled, the `signingProfileName` property is passed to the L1 `CfnSigningProfile` construct,
|
|
@@ -783,4 +798,20 @@ _cdk.json_
|
|
|
783
798
|
"@aws-cdk/aws-signer:signingProfileNamePassedToCfn": true
|
|
784
799
|
}
|
|
785
800
|
}
|
|
786
|
-
```
|
|
801
|
+
```
|
|
802
|
+
|
|
803
|
+
* `@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId`
|
|
804
|
+
|
|
805
|
+
When enabled, ECS patterns will generate unique target group IDs that include the load balancer name and type (public/private). This prevents CloudFormation conflicts when switching between public and private load balancers.
|
|
806
|
+
|
|
807
|
+
Without this flag, switching an ApplicationLoadBalancedFargateService from public to private (or vice versa) fails with "target group cannot be associated with more than one load balancer" error.
|
|
808
|
+
|
|
809
|
+
_cdk.json_
|
|
810
|
+
|
|
811
|
+
```json
|
|
812
|
+
{
|
|
813
|
+
"context": {
|
|
814
|
+
"@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId": true
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
```
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
CDK Resource Interfaces
|
|
2
|
+
=======================
|
|
3
|
+
|
|
4
|
+
This module contains resource interfaces for all AWS service resources.
|
|
5
|
+
|
|
6
|
+
These are interfaces that look like this:
|
|
7
|
+
|
|
8
|
+
```
|
|
9
|
+
/**
|
|
10
|
+
* Indicates that this resource can be referenced as a Bucket.
|
|
11
|
+
*/
|
|
12
|
+
interface IBucketRef {
|
|
13
|
+
/**
|
|
14
|
+
* A reference to a Bucket resource.
|
|
15
|
+
*/
|
|
16
|
+
readonly bucketRef: BucketReference;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
interface BucketReference {
|
|
20
|
+
/**
|
|
21
|
+
* The BucketName of the Bucket resource.
|
|
22
|
+
*/
|
|
23
|
+
readonly bucketName: string;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* The ARN of the Bucket resource.
|
|
27
|
+
*/
|
|
28
|
+
readonly bucketArn: string;
|
|
29
|
+
}
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
These are in a separate submodule so that they can be referenced from all other
|
|
33
|
+
service submodules without introducing cyclic dependencies between them.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: konokenj.cdk-api-mcp-server
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.57.0
|
|
4
4
|
Summary: An MCP server provides AWS CDK API Reference
|
|
5
5
|
Project-URL: Documentation, https://github.com/konokenj/cdk-api-mcp-server#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/konokenj/cdk-api-mcp-server/issues
|
|
@@ -26,7 +26,7 @@ Description-Content-Type: text/markdown
|
|
|
26
26
|
[](https://pypi.org/project/konokenj.cdk-api-mcp-server)
|
|
27
27
|
|
|
28
28
|
<!-- DEP-VERSIONS-START -->
|
|
29
|
-
[](https://github.com/konokenj/cdk-api-mcp-server/blob/main/current-versions/aws-cdk.txt)
|
|
30
30
|
<!-- DEP-VERSIONS-END -->
|
|
31
31
|
|
|
32
32
|
---
|