konokenj.cdk-api-mcp-server 0.1.0__py3-none-any.whl → 0.2.1__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.
Potentially problematic release.
This version of konokenj.cdk-api-mcp-server might be problematic. Click here for more details.
- cdk_api_mcp_server/__about__.py +1 -1
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/app-staging-synthesizer-alpha/README.md +405 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/app-staging-synthesizer-alpha/resource-names.md +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-amplify-alpha/README.md +295 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-applicationsignals-alpha/README.md +289 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-apprunner-alpha/README.md +354 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-cloud9-alpha/README.md +190 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-codestar-alpha/README.md +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-custom-resource-sdk-adapter/README.md +94 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-ec2-alpha/README.md +909 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-eks-v2-alpha/MANUAL_TEST.md +58 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-eks-v2-alpha/README.md +1168 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-gamelift-alpha/README.md +718 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-glue-alpha/README.md +877 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-iot-actions-alpha/README.md +394 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-iot-alpha/README.md +194 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-iotevents-actions-alpha/README.md +146 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-iotevents-alpha/README.md +101 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-ivs-alpha/README.md +224 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-kinesisanalytics-flink-alpha/README.md +86 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-lambda-go-alpha/README.md +300 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-lambda-python-alpha/README.md +335 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-location-alpha/README.md +215 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-msk-alpha/README.md +254 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-neptune-alpha/README.md +238 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-pipes-alpha/README.md +463 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-pipes-enrichments-alpha/README.md +110 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-pipes-sources-alpha/README.md +104 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-pipes-targets-alpha/README.md +461 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-redshift-alpha/README.md +736 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-route53resolver-alpha/README.md +116 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-s3objectlambda-alpha/README.md +107 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-s3tables-alpha/README.md +114 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-sagemaker-alpha/README.md +282 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/aws-servicecatalogappregistry-alpha/README.md +355 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/cfnspec/README.md +2 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/custom-resource-handlers/README.md +83 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/example-construct-library/README.md +92 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/@aws-cdk/integ-tests-alpha/README.md +577 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/README.md/README.md +1630 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/assertions/MIGRATING.md +123 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/assertions/README.md +681 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/assets/README.md +4 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-acmpca/README.md +59 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/README.md +1707 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.api-definition.asset.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.api-definition.inline.ts +70 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.api-with-authorizer-and-method.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.api-with-authorizer-and-proxy.ts +64 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.api-with-overriding-default-authorizer.ts +70 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.base-path-mapping.ts +46 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.cloudwatch-disabled.ts +20 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.cognito-authorizer.ts +48 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.cors-allow-multiple-origins.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.cors.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.domain-name.ts +210 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.lambda-api-nonproxy.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.lambda-api.latebound-deploymentstage.ts +40 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.lambda-api.ts +49 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.method-grant-execute.ts +18 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.request-authorizer.lit.ts +65 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.restapi-cloudwatch-removal-policy.ts +20 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.restapi-default-apikey.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.restapi-import.lit.ts +130 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.restapi-ip-address-type.ts +62 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.restapi-metrics.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.restapi.access-log-firehose.ts +65 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.restapi.access-log.ts +47 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.restapi.books.ts +75 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.restapi.defaults.ts +16 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.restapi.multistack.ts +54 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.restapi.multiuse.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.restapi.ts +107 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.restapi.vpc-endpoint.ts +163 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.spec-restapi-endpointconfiguration.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.spec-restapi.import-deploymentstage.ts +74 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.spec-restapi.ts +100 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.stepfunctions-api-without-default-method-responses.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.stepfunctions-api.ts +58 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.stepfunctions-startexecution-without-default-method-responses.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.stepfunctions-startexecution.ts +51 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.token-authorizer-iam-role.ts +58 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.token-authorizer.ts +132 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.usage-plan.multikey.ts +20 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigateway/integ.usage-plan.sharing.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2/README.md +591 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2/integ.api-apikey.ts +13 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2/integ.api-domain-name.ts +51 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2/integ.api-dualstack.ts +17 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2/integ.api-grant-invoke.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2/integ.api.ts +16 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2/integ.stage.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-authorizers/README.md +355 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-authorizers/integ.iam.ts +69 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-authorizers/integ.lambda.ts +75 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-authorizers/integ.user-pool.ts +59 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/README.md +453 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.add-subroute-integration.ts +117 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.alb.ts +48 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.aws.ts +74 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.http-proxy.ts +40 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.lambda-connect-disconnect-trigger.ts +85 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.lambda-proxy.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.lambda.ts +63 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.mock.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.nlb.ts +40 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.route-response.ts +18 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.service-discovery.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.sqs.ts +85 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-apigatewayv2-integrations/integ.stepfunctions.ts +56 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appconfig/README.md +703 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appconfig/integ.application.ts +24 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appconfig/integ.configuration-kms.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appconfig/integ.configuration.ts +294 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appconfig/integ.deployment-strategy.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appconfig/integ.environment-grant.ts +24 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appconfig/integ.environment.ts +87 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appconfig/integ.extension.ts +130 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appconfig/integ.multi-config-env.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-applicationautoscaling/README.md +266 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appmesh/README.md +944 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appmesh/integ.mesh-port-match.ts +121 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appmesh/integ.mesh.ts +431 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/README.md +1423 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.api-import.ts +90 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-channel-namespace.ts +103 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-disable-introspection.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-event-api.ts +307 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-eventapi-api-key-auth.ts +91 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-eventapi-cognito-auth.ts +116 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-eventapi-dynamodb.ts +124 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-eventapi-eventbridge.ts +89 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-eventapi-grants.ts +176 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-eventapi-http.ts +101 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-eventapi-iam-auth.ts +93 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-eventapi-lambda-auth.ts +122 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-eventapi-lambda-direct-async.ts +84 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-eventapi-lambda-direct.ts +90 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-eventapi-lambda.ts +84 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-eventapi-opensearch.ts +132 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-eventapi-rds.ts +167 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-eventbridge.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-function-max-batch-size.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-global-api.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-lambda.ts +87 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-limit-configs.ts +24 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-logmetrics.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-merged-api-arn-flag-enabled.ts +52 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-merged-api.ts +52 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-none.ts +22 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-owner-contact.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-private-api.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.appsync-source-api-association.ts +75 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.auth-apikey.ts +63 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.environment-variables.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.graphql-elasticsearch.ts +66 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.graphql-field-level-log.ts +19 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.graphql-grant-imported-api.ts +90 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.graphql-iam.ts +115 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.graphql-lambda-permission.ts +61 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.graphql-opensearch.ts +82 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.graphql-rds-serverlessv2.ts +133 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.graphql.ts +312 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.js-resolver.ts +117 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.lambda-auth.ts +66 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-appsync/integ.log-retention.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/README.md +836 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.amazonlinux2.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.asg-capacity-distribution-strategy.ts +26 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.asg-capacity-rebalance.ts +26 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.asg-instance-maintenance-policy.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.asg-instance-termination-policy.ts +62 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.asg-keypair.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.asg-lc.ts +102 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.asg-lt.ts +132 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.asg-step-scaling.ts +49 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.asg-update-policy.ts +26 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.asg-w-classic-loadbalancer.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.asg-w-elbv2.ts +99 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.capacity.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.custom-scaling.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.external-role.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.health-checks.ts +56 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.role-target-hook.ts +79 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.spot-instances.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.step-scaling-with-cooldown.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling/integ.warm-pool.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling-common/README.md +8 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling-hooktargets/README.md +18 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-autoscaling-hooktargets/integ.queue-hook.ts +80 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-backup/README.md +258 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-backup/integ.backup-selection.ts +64 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-backup/integ.backup.ts +69 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-batch/README.md +716 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-batch/integ.batch-unique-name.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-batch/integ.ecs-job-definition.ts +111 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-batch/integ.eks-job-definition.ts +60 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-batch/integ.grants.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-batch/integ.job-queue-job-state-time-limit-actions.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-batch/integ.job-queue.ts +47 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-batch/integ.managed-compute-environment.ts +119 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-batch/integ.multinode-job-definition.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-batch/integ.unmanaged-compute-environment.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-bedrock/README.md +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-certificatemanager/README.md +214 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-certificatemanager/integ.certificate-key-algorithm.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-certificatemanager/integ.certificate-name.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-certificatemanager/integ.dns-validated-certificate.ts +54 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-chatbot/README.md +66 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-chatbot/integ.chatbot-guardrails.ts +24 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-chatbot/integ.chatbot-logretention.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-chatbot/integ.chatbot-user-role-required.ts +16 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-chatbot/integ.chatbot.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudformation/README.md +4 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudformation/integ.core-cross-region-references.ts +101 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudformation/integ.core-custom-resources-node-18.ts +60 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudformation/integ.core-custom-resources-service-timeout.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudformation/integ.core-custom-resources.ts +56 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudformation/integ.core-deps.ts +79 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudformation/integ.nested-stack.ts +73 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudformation/integ.nested-stacks-assets.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudformation/integ.nested-stacks-multi-refs.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudformation/integ.nested-stacks-multi.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudformation/integ.nested-stacks-nested-export-to-sibling.ts +19 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudformation/integ.nested-stacks-refs1.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudformation/integ.nested-stacks-refs2.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudformation/integ.nested-stacks-refs3.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/README.md +1253 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.cloudfront-bucket-logging.ts +55 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.cloudfront-cross-region-cert.ts +55 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.cloudfront-custom-s3.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.cloudfront-custom.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.cloudfront-empty-root.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.cloudfront-failover.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.cloudfront-geo-restrictions.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.cloudfront-ipv6-disabled.ts +26 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.cloudfront-key-group.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.cloudfront-lambda-association.ts +46 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.cloudfront-s3.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.cloudfront-security-policy.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.cloudfront-vpc-origin.ts +75 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.cloudfront-with-webacl.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.cloudfront.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.distribution-additional-metrics.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.distribution-basic.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.distribution-default-metrics.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.distribution-extensive.ts +26 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.distribution-function-autopublish.ts +17 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.distribution-function-runtime.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.distribution-function.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.distribution-grpc.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.distribution-http-version.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.distribution-key-group.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.distribution-lambda-cross-region.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.distribution-lambda.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.distribution-logbucket.ts +26 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.distribution-origin-id.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.distribution-origin-shield.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.distribution-policies.ts +76 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.function-key-value-store-association.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.key-value-store-frominline.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.key-value-store.ts +18 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront/integ.realtime-log-config.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/README.md +846 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.function-url-origin-oac-alias.ts +102 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.function-url-origin-oac-custom.ts +106 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.function-url-origin-oac.ts +98 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.function-url-origin.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.http-origin.ts +13 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.load-balancer-origin.ts +17 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.origin-group-selection-criteria.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.origin-group.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.rest-api-origin-custom-origin-path.ts +20 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.rest-api-origin.ts +20 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.s3-bucket-origin-default.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.s3-bucket-origin-oai.ts +53 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.s3-encrypted-bucket-origin-oac.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.s3-origin-oac-list-access.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.s3-origin-oac-read-versioned.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.s3-origin-oac.ts +56 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.s3-origin-oai.ts +18 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.s3-origin.ts +15 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.s3-static-website-origin.ts +46 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.spec-rest-api-origin-custom-origin.ts +69 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudfront-origins/integ.vpc-origin.ts +151 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudtrail/README.md +203 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudtrail/SAMPLE-EVENTS.md +68 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudtrail/integ.cloudtrail-data-events-only.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudtrail/integ.cloudtrail-defaults.ts +14 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudtrail/integ.cloudtrail-insight.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudtrail/integ.cloudtrail-supplied-bucket.lit.ts +55 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudtrail/integ.cloudtrail.lit.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/README.md +961 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/integ.alarm-and-dashboard.ts +113 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/integ.alarm-with-label.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/integ.anomaly-detection-alarm.ts +124 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/integ.composite-alarm.ts +83 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/integ.dashboard-and-widget-with-start-and-end.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/integ.dashboard-variables.ts +64 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/integ.dashboard-with-graphwidget-with-annotations.ts +79 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/integ.dashboard-with-graphwidget-with-statistic.ts +52 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/integ.dashboard.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/integ.gauge-alarm.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/integ.gauge-widget.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/integ.math-alarm-and-dashboard.ts +77 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/integ.metric-with-dimensions.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/integ.period-singlevaluewidget-and-dashboard.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/integ.sparkline-singlevaluewidget-and-dashboard.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch/integ.table-widget.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch-actions/README.md +69 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch-actions/integ.lambda-alarm-action.ts +98 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch-actions/integ.lambda-alarm-multiple-stepscalingpolicy.ts +91 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cloudwatch-actions/integ.ssm-incident-alarm-action.ts +64 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/README.md +1018 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.asset-build-spec.ts +55 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.aws-deep-learning-container-build-image.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.breakpoint.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.caching.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.defaults.lit.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.docker-asset.lit.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.docker-registry-arm.lit.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.docker-registry.lit.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.ecr.lit.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.github-org-webhook.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.github-webhook-batch.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.github.ts +24 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-amazonlinux-image.lit.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-auto-retry-limit.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-bucket.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-buildspec-artifacts.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-file-system-location.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-fleet-attribute-based-compute.ts +77 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-fleet.ts +61 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-linux-arm-lambda-image.lit.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-linux-arm.ts +48 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-linux-lambda-image.lit.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-logging.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-macos-fleet.ts +62 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-notification.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-secondary-sources-artifacts.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-standard-image.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-visibility.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-vpc.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-windows-2019-fleet.ts +62 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-windows-2022-fleet.ts +62 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.project-windows-image.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.report-group-delete-reports.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codebuild/integ.report-group.ts +49 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codecommit/README.md +104 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codecommit/integ.codecommit-code-asset-zip.ts +13 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codecommit/integ.codecommit-code-asset.ts +13 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codecommit/integ.codecommit-events.ts +24 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codecommit/integ.repository-encryption.ts +19 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codecommit/integ.repository-notification.ts +19 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codecommit/test.md +1 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codedeploy/README.md +784 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codedeploy/integ.deployment-config.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codedeploy/integ.deployment-group-multiple-load-balancers.ts +54 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codedeploy/integ.deployment-group-zonal-config.ts +62 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codedeploy/integ.deployment-group.ts +62 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codeguruprofiler/README.md +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codeguruprofiler/integ.profiler-group-import-functions.ts +73 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codeguruprofiler/integ.profiler-group.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline/README.md +925 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/README.md +1509 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.cfn-template-from-repo.lit.ts +68 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.codepipeline-with-nested-stack.ts +100 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.cross-account-pipeline-cfn-action.ts +159 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.cross-account-pipeline-sfn-action.ts +172 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.lambda-deployed-through-codepipeline.lit.ts +141 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.lambda-pipeline.ts +55 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-alexa-deploy.ts +53 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-cfn-cross-region.ts +55 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-cfn-with-action-role.ts +61 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-cfn.ts +74 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-code-build-batch.ts +60 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-code-build-multiple-inputs-outputs.ts +89 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-code-commit-build.ts +70 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-code-commit-custom-event.ts +120 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-code-commit-main.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-code-commit.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-code-deploy-ecs.ts +56 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-code-deploy.ts +56 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-commands.ts +129 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-ecr-build-and-publish-private.ts +108 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-ecr-build-and-publish-public.ts +113 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-ecr-image-scan-action.ts +110 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-ecr-source.ts +70 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-ecs-deploy.ts +119 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-ecs-separate-source.lit.ts +222 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-elastic-beanstalk-deploy.ts +155 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-events.ts +72 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-invoke-action.ts +104 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-jenkins.ts +69 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-manual-approval.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-s3-deploy.ts +130 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-source-code-scan-action.ts +112 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-stepfunctions.ts +49 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-type-v2-by-default.ts +64 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-type-v2.ts +63 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-use-pipeline-role-for-actions.ts +62 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-with-codestarnotifications.ts +70 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-with-pipeline-triggers.ts +217 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-with-pipeline-variables.ts +98 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-with-replication.ts +68 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.pipeline-with-stage-conditions.ts +135 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.source-bucket-events-cross-stack-same-env.ts +53 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codepipeline-actions/integ.stacksets.ts +89 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-codestarnotifications/README.md +72 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/README.md +1271 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-client-analytics.ts +95 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-client-default-redirect-uri.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-client-enable-propagate-additional-data.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-client-explicit-props.ts +70 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-client-secret.ts +62 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-custom-sender.ts +52 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-domain-cfdist.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-domain-managed-login.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-domain-signinurl.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-explicit-props.ts +107 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-feature-plans.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-group.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-idp.amazon.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-idp.apple.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-idp.google.ts +58 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-idp.oidc.ts +46 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-idp.saml.ts +58 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-link-custom-placeholder.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-mfa-email.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-password-history-size.ts +16 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-passwordless.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-pre-token-generation-v2.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-pre-token-generation.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-resource-server.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-ses-email.ts +24 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-signup-code.ts +51 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-signup-link.ts +57 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool-threat-protection.ts +20 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito/integ.user-pool.ts +15 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito-identitypool/README.md +368 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-cognito-identitypool/integ.identitypool.ts +109 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-config/README.md +298 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-config/integ.custompolicy.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-config/integ.rule-evaluation-mode.ts +59 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-config/integ.rule.ts +53 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-config/integ.scoped-rule.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-docdb/README.md +280 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-docdb/integ.cluster-copy-tags-to-snapshot.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-docdb/integ.cluster-instance-ca-certificate.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-docdb/integ.cluster-removal-policy-snapshot.ts +58 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-docdb/integ.cluster-rotation.lit.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-docdb/integ.cluster-storage-type.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-docdb/integ.cluster.ts +55 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/README.md +968 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/TABLE_V1_API.md +316 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/index.md +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.autoscaling.lit.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb-v2.max-request-units.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb-v2.ondemand.ts +60 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb-v2.pitr.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb-v2.policy-ff.ts +46 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb-v2.policy.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb-v2.warm-throughput.ts +48 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb.alarm-metrics.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb.contirubtor-insights-for-gsi.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb.deletion-protection.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb.kinesis-stream.ts +17 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb.mixed-key-gsi.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb.ondemand.ts +137 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb.pitr.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb.policy.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb.sse.ts +144 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb.ts +152 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.dynamodb.warm-throughput.ts +40 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.global-replicas-provisioned.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.global.ts +48 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.import-source.ts +126 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.table-skip-replica-deletion.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.table-v2-global.ts +82 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.table-v2-replica.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-dynamodb/integ.table-with-customized-role.ts +70 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/README.md +2621 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.bastion-host-arm-support.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.bastion-host-disable-al2023-feature-flag.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.bastion-host-userdatacausesreplacement.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.bastion-host.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.client-vpn-endpoint.ts +83 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.core-cross-stack-string-list-references.ts +75 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.enable-sum-timeout-instance-init.ts +76 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.graviton3.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.import-default-vpc.lit.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.instance-credit.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.instance-disable-api-termination.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.instance-ebs-optimized.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.instance-iam-profile.ts +40 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.instance-init-multiple.ts +75 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.instance-init.ts +76 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.instance-ipv6-address-count.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.instance-multipart-userdata.ts +70 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.instance-nitro-enclaves-hibernation.ts +49 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.instance-placement-group.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.instance-public-and-privateip.ts +52 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.instance-public.ts +57 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.instance.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.key-pair.ts +24 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.launch-template.ts +60 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.machine-image.ts +66 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.nat-gateway-provider.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.nat-instance-credit.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.nat-instances-v2-arm.ts +54 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.nat-instances-v2-custom.ts +89 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.nat-instances-v2.ts +54 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.nat-instances-with-public-ip.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.nat-instances.lit.ts +40 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.placement-group.d.ts +1 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.placement-group.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.ports.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.prefix-list-lookup.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.prefix-list.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.reserved-private-subnet.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.reserved-public-subnet.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.share-vpcs.lit.ts +66 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.userdata.ts +20 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.volume.ts +22 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-azs.ts +13 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-dual-stack-ec2.ts +84 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-dual-stack.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-egress-only-igw-feature-flag.ts +60 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-endpoint-service.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-endpoint.lit.ts +62 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-filter-subnets.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-flow-logs-customformat.ts +92 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-flow-logs-from-transit-gateway.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-flow-logs-interval.ts +80 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-flow-logs-kinesis.ts +61 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-flow-logs.ts +145 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-gateway.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-global-endpoint.ts +63 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-ipam.ts +84 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-ipv6.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-lookup.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-networkacl.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-no-default-igw.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-reserved-azs.ts +17 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc-restrict-default-sg.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpc.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpn-pre-shared-key-token.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpn-two-tunnels.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ec2/integ.vpn.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecr/README.md +250 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecr/integ.basic.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecr/integ.grant.ts +26 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecr/integ.imagescan.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecr/integ.repository-auto-delete-images.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecr/integ.repository-lookup.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecr-assets/README.md +221 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecr-assets/integ.assets-docker.ts +68 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecr-assets/integ.assets-tarball.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecr-assets/integ.nested-stacks-docker.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/CONTRIBUTING.md +51 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/README.md +2075 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.add-docker-label.ts +46 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.add-environment-variable.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.app-mesh-proxy-config.ts +56 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.availability-zone-rebalancing.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.awslogs-driver.ts +51 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.bottlerocket.ts +24 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.capacity-provider-managed-draining.ts +66 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.capacity-provider.ts +55 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.capacity-providers.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.clb-host-nw.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.cloudmap-container-port.ts +78 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.cluster-amazonlinux2-neuron-ami.ts +40 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.cluster-bottlerocket-nvidia-ami.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.cluster-encrypt-ephemeral-storage.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.cluster-encrypt-storage.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.cluster-enhanced-container-insights.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.cluster-grant-task-protection.ts +20 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.cluster-imported.ts +46 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.cluster-windows-server-ami.ts +64 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.cluster.amazonlinux2023-ami.ts +66 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.container-port-range.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.custom-task-revision.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.daemon-service.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.default-capacity-provider.ts +57 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.deployment-alarms.ts +70 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.disable-circuit-breaker.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.ebs-taskattach.ts +81 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.enable-execute-command.ts +70 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.environment-file.ts +86 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.exec-command.ts +61 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.external-deploy-controller.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.fargate-with-efs.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.firelens-cloudwatch.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.firelens-s3-config.ts +78 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.fluentd-driver.ts +71 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.graviton-bottlerocket.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.graviton.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.lb-awsvpc-nw.ts +54 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.lb-bridge-nw.ts +54 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.nlb-awsvpc-nw.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.placement-constraint-default-empty.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.placement-strategies.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.pseudo-terminal.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.runtime.ts +55 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.sd-awsvpc-nw.ts +53 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.sd-bridge-nw.ts +52 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.secret-json-field.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.secret.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.service-connect.ts +115 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.spot-drain.ts +51 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.swap-parameters.ts +54 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.task-definition-add-interactive-container.ts +22 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.task-definition-container-credentialspecs.ts +51 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.task-definition-container-restart-policy.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.task-definition-container-ulimits.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.task-definition-container-version-consistency.ts +17 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.task-definition-enable-fault-injection.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.task-definition-placement-constraints.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs/integ.task-definition-without-container-level-memory.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/CONTRIBUTING.md +1 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/README.md +1293 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.alb-ecs-service-command-entry-point.ts +69 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.alb-fargate-service-command-entry-point.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.alb-fargate-service-custom-storage.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.alb-fargate-service-health-check.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.alb-fargate-service-https.ts +40 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.alb-fargate-service-idle-timeout.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.alb-fargate-service-ipv6.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.application-load-balanced-ecs-service.ts +73 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.asset-image.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.circuit-breaker-load-balanced-fargate-service.ts +26 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.circuit-breaker-no-deployment-controller-fargate-service.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.circuit-breaker-queue-processing-fargate-service.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.container-cpu-memory.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.executionrole.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.healthchecks-multiple-application-load-balanced-ecs-service.ts +94 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.healthchecks-multiple-application-load-balanced-fargate-service.ts +71 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.healthchecks-multiple-network-load-balanced-ecs-service.ts +76 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.healthchecks-multiple-network-load-balanced-fargate-service.ts +55 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.l3-autocreate.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.l3-capacity-provider-strategies.ts +63 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.l3-vpconly.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.l3.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.multiple-application-load-balanced-ecs-service-idle-timeout.ts +94 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.multiple-application-load-balanced-ecs-service.ts +55 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.multiple-network-load-balanced-fargate-service.ts +53 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.network-load-balanced-ecs-service.ts +72 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.network-load-balanced-fargate-service-custom-health.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.nlb-ipv6.ts +52 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.nlb-sg.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.queue-processing-fargate-service-custom-cpu-scaling.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.queue-processing-fargate-service-grace-period.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.queue-processing-fargate-service-health-check.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.queue-processing-fargate-service-isolated.ts +60 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.queue-processing-fargate-service-no-cpu-scaling.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.queue-processing-fargate-service-task-definition-with-cooldown.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.queue-processing-fargate-service-task-definition.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.queue-processing-fargate-service.ts +26 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.runtime-platform-application-load-balanced-fargate-service.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.scheduled-ecs-task.ts +79 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.scheduled-fargate-task.ts +67 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.special-listener.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.tls-network-load-balanced-ecs-service.ts +47 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ecs-patterns/integ.tls-network-load-balanced-fargate-service.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-efs/README.md +301 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-efs/integ.efs-filesystem-one-zone.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-efs/integ.efs-filesystem-policy.ts +54 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-efs/integ.efs-filesystem-protection.ts +22 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-efs/integ.efs-filesystem-replication.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-efs/integ.efs-from-imported-subnet.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-efs/integ.efs-transition.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-efs/integ.efs.permission.ts +97 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-efs/integ.efs.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/MANUAL_TEST.md +58 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/README.md +2058 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.alb-controller-authapi.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.alb-controller.ts +87 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-addon.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-al2023-nodegroup.ts +68 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-bottlerocket-ng.ts +56 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-cluster-handlers-vpc.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-cluster-imported.ts +230 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-cluster-ipv6.ts +395 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-cluster-private-endpoint.ts +58 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-cluster-tags.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-cluster.ts +387 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-helm-asset.ts +137 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-hybrid-nodes.ts +57 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-inference-nodegroup.ts +54 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-inference.ts +56 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-oidc-provider.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-pod-identities.ts +80 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-service-account-sdk-call.ts +91 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-standard-access-entry.ts +61 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-subnet-updates.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.eks-windows-ng.ts +64 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.fargate-cluster.ts +54 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-eks/integ.nodegroup-repair-config.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancing/README.md +61 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancing/integ.elb.ts +26 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancing/integ.instanceTarget.elb.ts +54 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/README.md +1145 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb-lambda-multi-value-headers.ts +91 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb-mtls.ts +167 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb-target-group-cross-zone.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb-target-group-ip-address-type.ts +40 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb.attributes.ts +52 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb.dualstack-without-public-ipv4.ts +126 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb.dualstack.ts +121 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb.extended.log.ts +63 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb.log.imported-bucket.ts +49 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb.log.ts +47 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb.minimum-capacity-unit.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb.oidc.ts +226 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb.ts +54 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb.two-target-groups.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb.weighte-random-algorithm.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.alb2.ts +58 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.connection-termination.nlb.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.crosszone.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.nlb-enable-prefix-for-ipv6-nat.ts +73 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.nlb-listener-tcp-idle-timeout.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.nlb-lookup.ts +121 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.nlb-subnet-mapping.ts +113 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.nlb-target-group-cross-zone.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.nlb-target-group-ip-address-type.ts +40 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.nlb.attributes.ts +24 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.nlb.dualstack.internal.ts +70 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.nlb.dualstack.internet-facing.ts +99 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.nlb.enforce-sg-inbound-rules.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.nlb.minimum-capacity-unit.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.nlb.ts +74 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2/integ.vpc-endpoint-service.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2-actions/README.md +73 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2-actions/integ.cognito.ts +246 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2-targets/README.md +4 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2-targets/integ.alb-listner-target.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2-targets/integ.alb-target.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticloadbalancingv2-targets/integ.lambda-target.ts +61 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticsearch/README.md +441 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticsearch/integ.elasticsearch-vpc.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticsearch/integ.elasticsearch.advancedsecurity.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticsearch/integ.elasticsearch.custom-kms-key.ts +57 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticsearch/integ.elasticsearch.ts +54 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticsearch/integ.elasticsearch.ultrawarm.ts +22 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-elasticsearch/integ.elasticsearch.unsignedbasicauth.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events/README.md +337 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events/integ.archive.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events/integ.connection.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events/integ.cross-account-rule.ts +97 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events/integ.eventbus-cross-account-grants.ts +123 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events/integ.eventbus-customer-managed-key.ts +17 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events/integ.eventbus-grants.ts +180 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events/integ.eventbus.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events/integ.rule.ts +94 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/README.md +662 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.api-destination.ts +83 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.api-gateway.ts +79 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.api-gatewayv2.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.appsync-events.ts +48 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.aws-api.ts +140 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.ecs-imported-task-def.ts +54 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.event-bus.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.event-ec2-task.ts +70 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.event-fargate-task.ts +91 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.events.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.job-definition-events.d.ts +1 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.job-definition-events.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.kinesis-firehose-stream.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.kinesis-stream-customer-key.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.kinesis-stream-dead-letter-queue.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.kinesis-stream.ts +22 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.log-group-from-object-v2.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.log-group.ts +92 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.pipeline-event-target.ts +85 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.project-events.ts +57 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.redshift-query.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.sns-event-rule-target-custom-role.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.sns-event-rule-target-role-enabled.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.sns-event-rule-target.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-events-targets/integ.sqs-event-rule-target.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-fsx/README.md +281 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-fsx/integ.lustre-file-system-automatic-backup.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-fsx/integ.lustre-file-system-file-system-type-version.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-fsx/integ.lustre-file-system-maintenance-time.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-fsx/integ.lustre-file-system-storage-type.ts +73 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-fsx/integ.lustre-file-system-with-s3.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-fsx/integ.lustre-file-system.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-globalaccelerator/README.md +195 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-globalaccelerator/integ.globalaccelerator-endpoints.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-globalaccelerator/integ.globalaccelerator-ip-address-type.ts +18 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-globalaccelerator/integ.globalaccelerator-unique-name.ts +16 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-globalaccelerator-endpoints/README.md +10 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-globalaccelerator-endpoints/integ.globalaccelerator.ts +68 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/README.md +963 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.access-key.ts +17 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.composite-principal.ts +24 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.condition-with-ref.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.customize-role.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.customize-roles-restapi.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.emr-service-principal-cn-partition.ts +106 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.group.ts +17 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.imported-role.ts +82 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.instance-profile.ts +79 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.managed-policy.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.oidc-provider-native.ts +94 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.oidc-provider-reject-unauthorized-connection.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.oidc-provider.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.permissions-boundary.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.policy.ts +26 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.principal-with-conditions-and-tags.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.principal-with-conditions.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.role-from-lookup.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.role.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.saml-provider.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.user-import.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.user.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-iam/integ.users-and-groups.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kinesis/README.md +304 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kinesis/integ.cross-account-stream-consumption.ts +52 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kinesis/integ.resource-policy.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kinesis/integ.stream-consumer.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kinesis/integ.stream-dashboard.ts +57 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kinesis/integ.stream.ts +14 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kinesisfirehose/README.md +524 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kinesisfirehose/integ.delivery-stream.source-stream.ts +75 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kinesisfirehose/integ.delivery-stream.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kinesisfirehose/integ.kinesis-stream-events-target.ts +65 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kinesisfirehose/integ.s3-bucket.lit.ts +112 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kms/README.md +270 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kms/integ.key-alias.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kms/integ.key-from-lookup-dummy.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kms/integ.key-grants.ts +22 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kms/integ.key-hmac.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kms/integ.key-key-agreement.ts +19 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kms/integ.key-multi-region.ts +19 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kms/integ.key-rotation.ts +20 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kms/integ.key-sharing.lit.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-kms/integ.key.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/README.md +1527 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.assets.file.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.assets.lit.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.autoscaling.lit.ts +70 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.binary-payload.ts +61 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.bundling.docker-opts.ts +60 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.bundling.ts +58 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.current-version.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.function-url.ts +83 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.lambda-adot.ts +103 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.lambda-allow-all-ipv6-outbound.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.lambda-circular-test.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.lambda-customize-roles.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.lambda-insights-mapping.ts +62 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.lambda-profiling.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.lambda-recursive-loop.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.lambda-snapstart.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.lambda-sourceKMSKeyArn.ts +115 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.lambda-version-arn.ts +57 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.lambda.docker-arm64.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.lambda.docker.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.lambda.filesystem.ts +168 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.lambda.loggroup-tag-inherit.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.lambda.prov.concurrent.ts +75 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.lambda.ts +61 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.lambda_with_dualStack_vpc.ts +46 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.layer-version.lit.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.log-retention.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.logging-config.ts +82 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.params-and-secrets.ts +72 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.permissions.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.ruby.file.ts +75 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.runtime-management.ts +24 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.runtime.fromasset.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.runtime.inlinecode.ts +81 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.runtimes.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda/integ.vpc-lambda.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-destinations/README.md +150 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-destinations/integ.destinations.ts +112 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-destinations/integ.lambda-chain.ts +87 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/README.md +453 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.dynamodb-with-boolean-filter.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.dynamodb-with-filter-criteria.ts +74 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.dynamodb-with-metrics-config.ts +48 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.dynamodb.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.kafka-selfmanaged.ts +144 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.kinesis-at-timestamp.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.kinesis-stream-consumer.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.kinesis-with-metrics-config.ts +40 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.kinesis.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.kinesiswithdlq.ts +52 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.s3-onfailuire-destination.ts +138 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.s3.imported-bucket.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.s3.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.sns.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.sqs-max-concurrency.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.sqs-null-filter.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.sqs-with-filter-criteria.ts +55 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.sqs-with-metrics-config.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-event-sources/integ.sqs.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-nodejs/README.md +454 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-nodejs/integ.bundling-user.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-nodejs/integ.compilations.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-nodejs/integ.dependencies-bun.ts +48 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-nodejs/integ.dependencies-pnpm.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-nodejs/integ.dependencies.ts +88 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-nodejs/integ.esbuildArgs.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-nodejs/integ.esm.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-nodejs/integ.function-exclude-smithy-models.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-nodejs/integ.function.ts +115 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-nodejs/integ.latest.ts +46 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-nodejs/integ.modules.ts +66 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-nodejs/integ.nodejs.build.images.ts +55 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-lambda-nodejs/integ.specifycode.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/README.md +487 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/integ.expose-metric.ts +47 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/integ.log-group-metrics.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/integ.log-group.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/integ.log-resource-policy-any-principal.ts +22 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/integ.log-retention-retries.ts +40 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/integ.log-retention.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/integ.loggroup-grantread.ts +15 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/integ.loggroupclass.ts +64 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/integ.metricfilter-dimensions.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/integ.metricfilter-unit.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/integ.metricfilter.lit.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/integ.save-logs-insights-query-definition.ts +55 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/integ.subscriptionfilter-distribution.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs/integ.subscriptionfilter.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs-destinations/README.md +7 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs-destinations/integ.firehose.ts +40 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs-destinations/integ.kinesis.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-logs-destinations/integ.lambda.ts +96 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/README.md +561 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.advancedsecurity-with-saml.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.advancedsecurity.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.cognitodashboardsauth.ts +56 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.coldstorage.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.custom-kms-key.ts +77 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.disable-logging.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.ebs.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.gp3.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.ip-address-type.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.min.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.multiaz-with-standby.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.nodeoptions.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.ts +69 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.ultrawarm.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.unsignedbasicauth.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.vpc.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-opensearchservice/integ.opensearch.without-logs-resource-policy.ts +59 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/README.md +1601 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/aurora-serverless-v2.md +241 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-applyimmediately.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-availability-zone.ts +46 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-data-api-to-imported-cluster.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-data-api.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-database-insights.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-dual.ts +57 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-enable-local-write-forwarding.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-engine-lifecycle-support.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-enhanced-monitoring.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-instance-ca-certificate.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-instance-id.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-io.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-kerberos.ts +46 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-limitless.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-performance-insights.ts +40 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-public-subnets.ts +52 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-replication.ts +48 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-rotation.lit.ts +66 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-s3.mysql-8.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-s3.mysql-engine-version.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-s3.postgres.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-s3.ts +48 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-serverless-v2-acu-0.ts +26 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-serverless-v2-acu.ts +26 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-serverless-v2.ts +72 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster-snapshot.ts +136 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.cluster.ts +103 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.instance-applyimmediately.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.instance-ca-certificate.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.instance-create-grant.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.instance-dual.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.instance-from-generated-password.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.instance-gp3.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.instance-io2.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.instance-kerberos-without-domainRole.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.instance-kerberos.ts +46 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.instance-s3-postgres.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.instance-s3.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.instance-with-metric.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.instance-with-parameter-group.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.instance.lit.ts +120 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.proxy-mariadb.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.proxy-sql-server.ts +52 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.proxy.ts +89 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.read-replica-with-allocated-storage.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.read-replica.ts +86 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.rolling-instance-updates.ts +47 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.serverless-cluster-no-vpc.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.serverless-cluster-scaling.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.serverless-cluster-secret-rotation-custom-names.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.serverless-cluster-secret-rotation.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-rds/integ.serverless-cluster.ts +46 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53/README.md +599 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53/integ.cidr-routing-config.ts +60 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53/integ.cross-account-zone-delegation.ts +135 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53/integ.delete-existing-record-set.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53/integ.dnssec.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53/integ.health-check.ts +305 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53/integ.import-existing-record-as-target.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53/integ.latency-based-routing.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53/integ.multi-value-answer-routing.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53/integ.record-weight-from-cfnparameter.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53/integ.rename-cross-account-zone-delegation.ts +102 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53/integ.route53.ts +98 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53/integ.vpc-endpoint-service-domain-name.ts +68 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53/integ.weighted-record.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53-patterns/README.md +74 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53-patterns/integ.hosted-redirect-same-region.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53-patterns/integ.hosted-redirect.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53-targets/README.md +266 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53-targets/integ.alb-alias-target.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53-targets/integ.api-gateway-domain-name.ts +73 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53-targets/integ.appsync-target.ts +60 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53-targets/integ.bucket-website-target.ts +47 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53-targets/integ.classic-load-balancer-target.ts +60 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53-targets/integ.cloudfront-alias-target.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53-targets/integ.elastic-beanstalk-environment-target.ts +147 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53-targets/integ.elastic-beanstalk-hostedzoneid.ts +95 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53-targets/integ.elastic-beanstalk-token-endpoint.ts +96 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53-targets/integ.globalaccelerator-alias-target.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53-targets/integ.interface-vpc-endpoint-target.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53-targets/integ.route53-record.ts +30 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-route53-targets/integ.userpool-domain-alias-target.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/README.md +1058 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-acls.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-auto-delete-objects.ts +70 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-block-access.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-cross-account-replication.ts +125 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-encryption.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-grant-write.ts +24 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-grantdelete-kms.ts +24 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-import-server-access-logs.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-intelligent-tiering.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-inventory.ts +40 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-legacy-naming.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-minimum-tls-version.ts +17 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-object-lock.ts +19 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-replication-multiple-sources.ts +127 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-replication-use-custom-role.ts +128 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-replication.ts +141 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-server-access-logs-sse-kms.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket-sharing.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket.domain-name.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket.inventory.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket.notifications.ts +22 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket.server-access-logs.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket.url.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.bucket.website-routing-rules.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.lifecycle-expiration.ts +18 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.lifecycle-transitions.ts +53 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3/integ.lifecycle.ts +26 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-assets/README.md +185 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-assets/index.md +3 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-assets/integ.assets.bundling.docker-opts.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-assets/integ.assets.bundling.lit.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-assets/integ.assets.directory.lit.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-assets/integ.assets.file-bundling.lit.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-assets/integ.assets.file.lit.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-assets/integ.assets.permissions.lit.ts +23 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-assets/integ.assets.refs.lit.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-assets/integ.multi-assets.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/README.md +548 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-big-response.ts +84 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-cloudfront.ts +51 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-data.ts +95 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-deployed-bucket.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-large-file.ts +250 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-loggroup.ts +40 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-signcontent.d.ts +1 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-signcontent.ts +59 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-substitution-with-destination-key.ts +69 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-substitution-with-role.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment-substitution.ts +68 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-deployment/integ.bucket-deployment.ts +165 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-notifications/README.md +46 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-notifications/integ.bucket-notifications-sorting.ts +60 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-notifications/integ.bucket-notifications-unmanaged.ts +79 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-notifications/integ.bucket-notifications.ts +106 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-notifications/integ.encrypted-sns-bucket-notifications.ts +67 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-notifications/integ.notifications.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-s3-notifications/integ.sns-bucket-notifications.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler/README.md +314 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler/integ.schedule.ts +113 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler-targets/README.md +391 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler-targets/integ.codebuild-start-build.ts +89 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler-targets/integ.codepipeline-start-pipeline-execution.ts +113 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler-targets/integ.ecs-run-task-ec2.ts +112 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler-targets/integ.ecs-run-task-fargate.ts +80 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler-targets/integ.event-bridge-put-events.ts +91 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler-targets/integ.firehose-put-record.ts +68 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler-targets/integ.inspector-start-assessment-run.ts +46 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler-targets/integ.kinesis-stream-put-record.ts +61 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler-targets/integ.lambda-invoke.ts +137 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler-targets/integ.sage-maker-start-pipeline-execution.ts +137 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler-targets/integ.schedule-with-dlq.ts +64 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler-targets/integ.sns-publish.ts +49 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler-targets/integ.sqs-send-message.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler-targets/integ.stepfunction-start-execution.ts +68 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-scheduler-targets/integ.universal.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-secretsmanager/README.md +304 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-secretsmanager/integ.hosted-rotation.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-secretsmanager/integ.lambda-rotation.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-secretsmanager/integ.replica.ts +15 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-secretsmanager/integ.secret-name-parsed.ts +44 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-secretsmanager/integ.secret.lit.ts +57 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-servicecatalog/README.md +576 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-servicecatalog/integ.nested-stack-in-product-stack.ts +72 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-servicecatalog/integ.portfolio.ts +97 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-servicecatalog/integ.product.encrypted.asset.ts +146 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-servicecatalog/integ.product.ts +165 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-servicecatalog/integ.two-products.ts +106 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-servicediscovery/README.md +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-servicediscovery/integ.service-with-cname-record.lit.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-servicediscovery/integ.service-with-http-namespace.lit.ts +31 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-servicediscovery/integ.service-with-private-dns-namespace.lit.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-servicediscovery/integ.service-with-public-dns-namespace.lit.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ses/README.md +371 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ses/integ.configuration-set-event-bus.ts +34 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ses/integ.configuration-set-firehose.ts +62 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ses/integ.configuration-set-override-suppression-list-settings.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ses/integ.configuration-set-tracking-options.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ses/integ.configuration-set-vdmoptions.ts +79 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ses/integ.configuration-set.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ses/integ.dedicated-ip-pool.ts +17 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ses/integ.email-identity-from-arn.ts +49 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ses/integ.email-identity.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ses/integ.receipt.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ses/integ.vdm-attributes.ts +20 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ses-actions/README.md +17 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ses-actions/integ.actions.ts +101 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-signer/README.md +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-signer/integ.signing-profile.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sns/README.md +366 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sns/integ.sns-fifo-archive-policy.ts +24 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sns/integ.sns-fifo-throughput-scope.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sns/integ.sns-fifo.no-name.ts +17 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sns/integ.sns-fifo.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sns/integ.sns-topic-grant-subscribe.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sns/integ.sns-topic-policy.ts +51 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sns/integ.sns.ts +122 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sns-subscriptions/README.md +176 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sns-subscriptions/integ.firehose-cross-region.ts +35 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sns-subscriptions/integ.firehose.ts +55 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sns-subscriptions/integ.sns-lambda-cross-region.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sns-subscriptions/integ.sns-lambda.ts +82 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sns-subscriptions/integ.sns-sqs-cross-region.lit.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sns-subscriptions/integ.sns-sqs.lit.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sns-subscriptions/integ.sns-sqs.ts +52 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sns-subscriptions/integ.sns-url.ts +40 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sqs/README.md +110 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sqs/integ.sqs-source-queue-permission.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-sqs/integ.sqs.ts +51 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ssm/README.md +212 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ssm/integ.import-parameter.ts +48 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ssm/integ.list-parameter.ts +82 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ssm/integ.parameter-arns.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ssm/integ.parameter-store-string-sharing.ts +138 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ssm/integ.parameter-store-string.ts +100 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ssm/integ.parameter.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-ssm/integ.value-from-lookup-with-default.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/README.md +1725 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.custom-state.ts +76 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.distributed-map-csv-delimiter-with-result-writer-v2.ts +87 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.distributed-map-csv-delimiter.ts +82 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.distributed-map-execution-type.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.distributed-map-with-result-writer-v2-having-writer-config.ts +94 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.distributed-map-with-result-writer-v2.ts +88 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.distributed-map.ts +83 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.distribution-map-result-writer-bucket-jsonpath.ts +67 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.distribution-map-with-result-writer-jsonata.ts +88 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.distribution-map-with-result-writer-v2-jsonata.ts +93 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.intrinsics.ts +97 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.listAt-after-parallel.ts +38 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.map-distributed.ts +48 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.map-inline.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.map-itemselector.ts +39 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.map-with-catch.ts +94 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.parallel-parameters.ts +64 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.s3-json-item-reader.ts +168 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.s3-objects-item-reader.ts +168 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.state-machine-and-activity-cmk.ts +77 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.state-machine-cmk-with-cwl-encryption.ts +82 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.state-machine-credentials.ts +36 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.state-machine-disable-xray.ts +14 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.state-machine-jsonata.ts +66 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.state-machine-logging.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.state-machine-string.ts +20 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.state-machine-variables.ts +63 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions/integ.state-machine.ts +47 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/README.md +2014 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.call-aws-service-cross-region-task-token.ts +74 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.call-aws-service-cross-region.ts +140 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.call-aws-service-efs.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.call-aws-service-elasticloadbalancingv2.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.call-aws-service-jsonata.ts +94 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.call-aws-service-logs.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.call-aws-service-mediapackagevod.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.call-aws-service-mwaa.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.call-aws-service-sfn.ts +51 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.call-aws-service.ts +65 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.call-dynamodb.ts +93 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.call-rest-api-cross-region.ts +65 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.call-rest-api.ts +53 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.call-sagemaker.ts +121 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.call.ts +75 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.create-job.ts +99 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.create-model-customization-job.ts +120 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.create-schedule.ts +89 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.create-training-job-image.ts +73 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.create-training-job.ts +71 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.create-transform-job.ts +45 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.ec2-run-task-ref-definition.ts +60 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.ec2-run-task.ts +82 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.ec2-task.ts +77 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.emr-create-cluster-add-step-runtime-role.ts +133 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.emr-create-cluster-with-auto-deletion-policy-idle-timeout.ts +72 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.emr-create-cluster-with-on-demand-instance-fleet.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.emr-create-cluster-with-spot-instance-fleet.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.emr-create-cluster-with-tags.ts +58 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.emr-create-cluster-with-v1-policy.ts +54 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.emr-create-cluster-with-v2-policy.ts +62 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.evaluate-expression-default-runtime.ts +60 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.evaluate-expression.ts +65 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.fargate-run-task.ts +100 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.fargate-task.ts +69 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.get-query-execution.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.get-query-results.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.glue-start-crawler.ts +63 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.glue-task.ts +64 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.invoke-activity.ts +77 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.invoke-function.ts +61 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.invoke-jsonata.ts +119 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.invoke-model-guardrail-trace.ts +111 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.invoke-model.ts +166 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.invoke.payload.only.ts +81 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.invoke.ts +119 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.job-poller.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.job-submission-workflow.ts +111 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.publish.ts +74 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.put-events.ts +62 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.run-batch-job.d.ts +1 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.run-batch-job.ts +82 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.run-lambda.ts +73 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.send-message-encrypted.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.send-message.ts +48 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.start-build-batch.ts +94 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.start-build.ts +68 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.start-execution-jsonata.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.start-execution.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.start-job-run-dynamic-worker-type.ts +104 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.start-job-run-execution-class.ts +95 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.start-job-run-worker.ts +98 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.start-job-run.ts +124 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.start-query-execution-result-reuse-configuration.ts +70 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.start-query-execution.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.stop-query-execution.ts +43 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.stringset-after-parallel.ts +46 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.submit-job-queue-jsonpath.ts +68 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.submit-job.d.ts +1 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-stepfunctions-tasks/integ.submit-job.ts +83 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-synthetics/README.md +347 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-synthetics/integ.canary-artifact-s3-encryption.ts +81 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-synthetics/integ.canary-auto-delete-lambda.ts +65 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-synthetics/integ.canary-provisioned-resource-cleanup.ts +51 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-synthetics/integ.canary-run-config.ts +32 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-synthetics/integ.canary.ts +144 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/aws-synthetics/integ.vpc.ts +29 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/cloud-assembly-schema/README.md +55 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/cloudformation-include/README.md +468 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/cloudformation-include/integ.autoscaling-update-policy.ts +14 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/cloudformation-include/integ.intrinsic-deletion-policy.ts +15 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/cloudformation-include/integ.nested-stacks.ts +17 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/cloudformation-include/integ.resource-tags-wtih-intrinsics.ts +15 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/core/README.md +1871 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/core/acknowledge-warnings.md +148 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/core/cross-region-stack-references.md +270 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/core/integ.cfn-mappings-find-in-map.ts +49 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/core/integ.cross-region-references.ts +58 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/core/integ.logical-id.ts +22 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/core/integ.nested-stack-references.ts +68 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/core/integ.prop-injectors.ts +221 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/core/integ.removal-policies.ts +53 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/core/integ.stack.ts +21 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/core/integ.token-aware-stringify-logical-ids.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/README.md +950 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.aws-custom-resource-assumeRole.ts +49 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.aws-custom-resource-athena.ts +166 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.aws-custom-resource-cloudwatch.ts +53 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.aws-custom-resource-dynamodb.ts +67 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.aws-custom-resource-service-timeout.ts +74 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.aws-custom-resource-ssm-ff.ts +66 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.aws-custom-resource-ssm.ts +66 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.aws-custom-resource-vpc.ts +42 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.aws-custom-resource.ts +135 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.cross-account-assumeRole.ts +114 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.custom-resource-config-lambda-node-runtime.ts +37 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.custom-resource-config-lambda-python-runtime.ts +33 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.custom-resource-config-lambda-runtime.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.custom-resource-config-logGroup.ts +27 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.custom-resource-config-logRetention.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.custom-resource-config-removalPolicy.ts +25 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.custom-resource-config-undefined-log.ts +28 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.invoke-function-payload.ts +48 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.provider-no-echo.ts +62 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.provider-with-waiter-state-machine-custom-role.ts +62 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.provider-with-waiter-state-machine.ts +65 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/custom-resources/integ.provider.ts +61 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/cx-api/FEATURE_FLAGS.md +2178 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/cx-api/NESTED_ASSEMBLIES.md +93 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/cx-api/README.md +749 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/lambda-layer-awscli/README.md +22 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/lambda-layer-awscli/integ.awscli-layer.ts +54 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/lambda-layer-kubectl/integ.kubectl-layer.ts +53 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/lambda-layer-node-proxy-agent/README.md +17 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/lambda-layer-node-proxy-agent/integ.node-proxy-agent.ts +50 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/ORIGINAL_API.md +747 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/README.md +1856 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/integ.cross-account-pipeline-action.ts +141 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/integ.newpipeline-reduce-stagerole-scope.ts +85 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/integ.newpipeline-with-codebuild-logging.ts +83 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/integ.newpipeline-with-codestar-connection.ts +52 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/integ.newpipeline-with-cross-account-keys.ts +68 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/integ.newpipeline-with-cross-region-replication-buckets.ts +114 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/integ.newpipeline-with-file-system-locations.d.ts +1 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/integ.newpipeline-with-file-system-locations.ts +77 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/integ.newpipeline-with-vpc.ts +59 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/integ.newpipeline.ts +62 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/integ.pipeline-use-default-action-role.ts +68 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/integ.pipeline-v2.ts +71 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/integ.pipeline-with-artifact-bucket.ts +41 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/integ.pipeline-with-stack-outputs-in-custom-step.ts +96 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/integ.pipeline-with-variables.ts +68 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/pipelines/integ.pipeline-without-prepare.ts +82 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/region-info/README.md +82 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/triggers/README.md +107 -0
- cdk_api_mcp_server/resources/aws-cdk/constructs/aws-cdk-lib/triggers/integ.triggers.ts +90 -0
- {konokenj_cdk_api_mcp_server-0.1.0.dist-info → konokenj_cdk_api_mcp_server-0.2.1.dist-info}/METADATA +1 -1
- konokenj_cdk_api_mcp_server-0.2.1.dist-info/RECORD +1360 -0
- konokenj_cdk_api_mcp_server-0.1.0.dist-info/RECORD +0 -11
- {konokenj_cdk_api_mcp_server-0.1.0.dist-info → konokenj_cdk_api_mcp_server-0.2.1.dist-info}/WHEEL +0 -0
- {konokenj_cdk_api_mcp_server-0.1.0.dist-info → konokenj_cdk_api_mcp_server-0.2.1.dist-info}/entry_points.txt +0 -0
- {konokenj_cdk_api_mcp_server-0.1.0.dist-info → konokenj_cdk_api_mcp_server-0.2.1.dist-info}/licenses/LICENSE.txt +0 -0
|
@@ -0,0 +1,2075 @@
|
|
|
1
|
+
# Amazon ECS Construct Library
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
This package contains constructs for working with **Amazon Elastic Container
|
|
5
|
+
Service** (Amazon ECS).
|
|
6
|
+
|
|
7
|
+
Amazon Elastic Container Service (Amazon ECS) is a fully managed container orchestration service.
|
|
8
|
+
|
|
9
|
+
For further information on Amazon ECS,
|
|
10
|
+
see the [Amazon ECS documentation](https://docs.aws.amazon.com/ecs)
|
|
11
|
+
|
|
12
|
+
The following example creates an Amazon ECS cluster, adds capacity to it, and
|
|
13
|
+
runs a service on it:
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
declare const vpc: ec2.Vpc;
|
|
17
|
+
|
|
18
|
+
// Create an ECS cluster
|
|
19
|
+
const cluster = new ecs.Cluster(this, 'Cluster', { vpc });
|
|
20
|
+
|
|
21
|
+
// Add capacity to it
|
|
22
|
+
cluster.addCapacity('DefaultAutoScalingGroupCapacity', {
|
|
23
|
+
instanceType: new ec2.InstanceType("t2.xlarge"),
|
|
24
|
+
desiredCapacity: 3,
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
|
|
28
|
+
|
|
29
|
+
taskDefinition.addContainer('DefaultContainer', {
|
|
30
|
+
image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
|
|
31
|
+
memoryLimitMiB: 512,
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
// Instantiate an Amazon ECS Service
|
|
35
|
+
const ecsService = new ecs.Ec2Service(this, 'Service', {
|
|
36
|
+
cluster,
|
|
37
|
+
taskDefinition,
|
|
38
|
+
minHealthyPercent: 100,
|
|
39
|
+
});
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
For a set of constructs defining common ECS architectural patterns, see the `aws-cdk-lib/aws-ecs-patterns` package.
|
|
43
|
+
|
|
44
|
+
## Launch Types: AWS Fargate vs Amazon EC2 vs AWS ECS Anywhere
|
|
45
|
+
|
|
46
|
+
There are three sets of constructs in this library:
|
|
47
|
+
|
|
48
|
+
- Use the `Ec2TaskDefinition` and `Ec2Service` constructs to run tasks on Amazon EC2 instances running in your account.
|
|
49
|
+
- Use the `FargateTaskDefinition` and `FargateService` constructs to run tasks on
|
|
50
|
+
instances that are managed for you by AWS.
|
|
51
|
+
- Use the `ExternalTaskDefinition` and `ExternalService` constructs to run AWS ECS Anywhere tasks on self-managed infrastructure.
|
|
52
|
+
|
|
53
|
+
Here are the main differences:
|
|
54
|
+
|
|
55
|
+
- **Amazon EC2**: instances are under your control. Complete control of task to host
|
|
56
|
+
allocation. Required to specify at least a memory reservation or limit for
|
|
57
|
+
every container. Can use Host, Bridge and AwsVpc networking modes. Can attach
|
|
58
|
+
Classic Load Balancer. Can share volumes between container and host.
|
|
59
|
+
- **AWS Fargate**: tasks run on AWS-managed instances, AWS manages task to host
|
|
60
|
+
allocation for you. Requires specification of memory and cpu sizes at the
|
|
61
|
+
taskdefinition level. Only supports AwsVpc networking modes and
|
|
62
|
+
Application/Network Load Balancers. Only the AWS log driver is supported.
|
|
63
|
+
Many host features are not supported such as adding kernel capabilities
|
|
64
|
+
and mounting host devices/volumes inside the container.
|
|
65
|
+
- **AWS ECS Anywhere**: tasks are run and managed by AWS ECS Anywhere on infrastructure
|
|
66
|
+
owned by the customer. Bridge, Host and None networking modes are supported. Does not
|
|
67
|
+
support autoscaling, load balancing, cloudmap or attachment of volumes.
|
|
68
|
+
|
|
69
|
+
For more information on Amazon EC2 vs AWS Fargate, networking and ECS Anywhere see the AWS Documentation:
|
|
70
|
+
[AWS Fargate](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS_Fargate.html),
|
|
71
|
+
[Task Networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html),
|
|
72
|
+
[ECS Anywhere](https://aws.amazon.com/ecs/anywhere/)
|
|
73
|
+
|
|
74
|
+
## Clusters
|
|
75
|
+
|
|
76
|
+
A `Cluster` defines the infrastructure to run your
|
|
77
|
+
tasks on. You can run many tasks on a single cluster.
|
|
78
|
+
|
|
79
|
+
The following code creates a cluster that can run AWS Fargate tasks:
|
|
80
|
+
|
|
81
|
+
```ts
|
|
82
|
+
declare const vpc: ec2.Vpc;
|
|
83
|
+
|
|
84
|
+
const cluster = new ecs.Cluster(this, 'Cluster', {
|
|
85
|
+
vpc,
|
|
86
|
+
});
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
By default, storage is encrypted with AWS-managed key. You can specify customer-managed key using:
|
|
90
|
+
```ts
|
|
91
|
+
declare const key: kms.Key;
|
|
92
|
+
|
|
93
|
+
const cluster = new ecs.Cluster(this, 'Cluster', {
|
|
94
|
+
managedStorageConfiguration: {
|
|
95
|
+
fargateEphemeralStorageKmsKey: key,
|
|
96
|
+
kmsKey: key,
|
|
97
|
+
},
|
|
98
|
+
});
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
The following code imports an existing cluster using the ARN which can be used to
|
|
102
|
+
import an Amazon ECS service either EC2 or Fargate.
|
|
103
|
+
|
|
104
|
+
```ts
|
|
105
|
+
const clusterArn = 'arn:aws:ecs:us-east-1:012345678910:cluster/clusterName';
|
|
106
|
+
|
|
107
|
+
const cluster = ecs.Cluster.fromClusterArn(this, 'Cluster', clusterArn);
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
To use tasks with Amazon EC2 launch-type, you have to add capacity to
|
|
111
|
+
the cluster in order for tasks to be scheduled on your instances. Typically,
|
|
112
|
+
you add an AutoScalingGroup with instances running the latest
|
|
113
|
+
Amazon ECS-optimized AMI to the cluster. There is a method to build and add such an
|
|
114
|
+
AutoScalingGroup automatically, or you can supply a customized AutoScalingGroup
|
|
115
|
+
that you construct yourself. It's possible to add multiple AutoScalingGroups
|
|
116
|
+
with various instance types.
|
|
117
|
+
|
|
118
|
+
The following example creates an Amazon ECS cluster and adds capacity to it:
|
|
119
|
+
|
|
120
|
+
```ts
|
|
121
|
+
declare const vpc: ec2.Vpc;
|
|
122
|
+
|
|
123
|
+
const cluster = new ecs.Cluster(this, 'Cluster', {
|
|
124
|
+
vpc,
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
// Either add default capacity
|
|
128
|
+
cluster.addCapacity('DefaultAutoScalingGroupCapacity', {
|
|
129
|
+
instanceType: new ec2.InstanceType("t2.xlarge"),
|
|
130
|
+
desiredCapacity: 3,
|
|
131
|
+
});
|
|
132
|
+
|
|
133
|
+
// Or add customized capacity. Be sure to start the Amazon ECS-optimized AMI.
|
|
134
|
+
const autoScalingGroup = new autoscaling.AutoScalingGroup(this, 'ASG', {
|
|
135
|
+
vpc,
|
|
136
|
+
instanceType: new ec2.InstanceType('t2.xlarge'),
|
|
137
|
+
machineImage: ecs.EcsOptimizedImage.amazonLinux(),
|
|
138
|
+
// Or use Amazon ECS-Optimized Amazon Linux 2 AMI
|
|
139
|
+
// machineImage: EcsOptimizedImage.amazonLinux2(),
|
|
140
|
+
desiredCapacity: 3,
|
|
141
|
+
// ... other options here ...
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
const capacityProvider = new ecs.AsgCapacityProvider(this, 'AsgCapacityProvider', {
|
|
145
|
+
autoScalingGroup,
|
|
146
|
+
});
|
|
147
|
+
cluster.addAsgCapacityProvider(capacityProvider);
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
If you omit the property `vpc`, the construct will create a new VPC with two AZs.
|
|
151
|
+
|
|
152
|
+
By default, all machine images will auto-update to the latest version
|
|
153
|
+
on each deployment, causing a replacement of the instances in your AutoScalingGroup
|
|
154
|
+
if the AMI has been updated since the last deployment.
|
|
155
|
+
|
|
156
|
+
If task draining is enabled, ECS will transparently reschedule tasks on to the new
|
|
157
|
+
instances before terminating your old instances. If you have disabled task draining,
|
|
158
|
+
the tasks will be terminated along with the instance. To prevent that, you
|
|
159
|
+
can pick a non-updating AMI by passing `cacheInContext: true`, but be sure
|
|
160
|
+
to periodically update to the latest AMI manually by using the [CDK CLI
|
|
161
|
+
context management commands](https://docs.aws.amazon.com/cdk/latest/guide/context.html):
|
|
162
|
+
|
|
163
|
+
```ts
|
|
164
|
+
declare const vpc: ec2.Vpc;
|
|
165
|
+
const autoScalingGroup = new autoscaling.AutoScalingGroup(this, 'ASG', {
|
|
166
|
+
machineImage: ecs.EcsOptimizedImage.amazonLinux({ cachedInContext: true }),
|
|
167
|
+
vpc,
|
|
168
|
+
instanceType: new ec2.InstanceType('t2.micro'),
|
|
169
|
+
});
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
To use `LaunchTemplate` with `AsgCapacityProvider`, make sure to specify the `userData` in the `LaunchTemplate`:
|
|
173
|
+
|
|
174
|
+
```ts
|
|
175
|
+
declare const vpc: ec2.Vpc;
|
|
176
|
+
const launchTemplate = new ec2.LaunchTemplate(this, 'ASG-LaunchTemplate', {
|
|
177
|
+
instanceType: new ec2.InstanceType('t3.medium'),
|
|
178
|
+
machineImage: ecs.EcsOptimizedImage.amazonLinux2(),
|
|
179
|
+
userData: ec2.UserData.forLinux(),
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
const autoScalingGroup = new autoscaling.AutoScalingGroup(this, 'ASG', {
|
|
183
|
+
vpc,
|
|
184
|
+
mixedInstancesPolicy: {
|
|
185
|
+
instancesDistribution: {
|
|
186
|
+
onDemandPercentageAboveBaseCapacity: 50,
|
|
187
|
+
},
|
|
188
|
+
launchTemplate: launchTemplate,
|
|
189
|
+
},
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
const cluster = new ecs.Cluster(this, 'Cluster', { vpc });
|
|
193
|
+
|
|
194
|
+
const capacityProvider = new ecs.AsgCapacityProvider(this, 'AsgCapacityProvider', {
|
|
195
|
+
autoScalingGroup,
|
|
196
|
+
machineImageType: ecs.MachineImageType.AMAZON_LINUX_2,
|
|
197
|
+
});
|
|
198
|
+
|
|
199
|
+
cluster.addAsgCapacityProvider(capacityProvider);
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
The following code retrieve the Amazon Resource Names (ARNs) of tasks that are a part of a specified ECS cluster.
|
|
203
|
+
It's useful when you want to grant permissions to a task to access other AWS resources.
|
|
204
|
+
|
|
205
|
+
```ts
|
|
206
|
+
declare const cluster: ecs.Cluster;
|
|
207
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
208
|
+
const taskARNs = cluster.arnForTasks('*'); // arn:aws:ecs:<region>:<regionId>:task/<clusterName>/*
|
|
209
|
+
|
|
210
|
+
// Grant the task permission to access other AWS resources
|
|
211
|
+
taskDefinition.addToTaskRolePolicy(
|
|
212
|
+
new iam.PolicyStatement({
|
|
213
|
+
actions: ['ecs:UpdateTaskProtection'],
|
|
214
|
+
resources: [taskARNs],
|
|
215
|
+
})
|
|
216
|
+
)
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
To manage task protection settings in an ECS cluster, you can use the `grantTaskProtection` method.
|
|
220
|
+
This method grants the `ecs:UpdateTaskProtection` permission to a specified IAM entity.
|
|
221
|
+
|
|
222
|
+
```ts
|
|
223
|
+
// Assume 'cluster' is an instance of ecs.Cluster
|
|
224
|
+
declare const cluster: ecs.Cluster;
|
|
225
|
+
declare const taskRole: iam.Role;
|
|
226
|
+
|
|
227
|
+
// Grant ECS Task Protection permissions to the role
|
|
228
|
+
// Now 'taskRole' has the 'ecs:UpdateTaskProtection' permission on all tasks in the cluster
|
|
229
|
+
cluster.grantTaskProtection(taskRole);
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
### Bottlerocket
|
|
233
|
+
|
|
234
|
+
[Bottlerocket](https://aws.amazon.com/bottlerocket/) is a Linux-based open source operating system that is
|
|
235
|
+
purpose-built by AWS for running containers. You can launch Amazon ECS container instances with the Bottlerocket AMI.
|
|
236
|
+
|
|
237
|
+
The following example will create a capacity with self-managed Amazon EC2 capacity of 2 `c5.large` Linux instances running with `Bottlerocket` AMI.
|
|
238
|
+
|
|
239
|
+
The following example adds Bottlerocket capacity to the cluster:
|
|
240
|
+
|
|
241
|
+
```ts
|
|
242
|
+
declare const cluster: ecs.Cluster;
|
|
243
|
+
|
|
244
|
+
cluster.addCapacity('bottlerocket-asg', {
|
|
245
|
+
minCapacity: 2,
|
|
246
|
+
instanceType: new ec2.InstanceType('c5.large'),
|
|
247
|
+
machineImage: new ecs.BottleRocketImage(),
|
|
248
|
+
});
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
You can also specify an NVIDIA-compatible AMI such as in this example:
|
|
252
|
+
|
|
253
|
+
```ts
|
|
254
|
+
declare const cluster: ecs.Cluster;
|
|
255
|
+
|
|
256
|
+
cluster.addCapacity('bottlerocket-asg', {
|
|
257
|
+
instanceType: new ec2.InstanceType('p3.2xlarge'),
|
|
258
|
+
machineImage: new ecs.BottleRocketImage({
|
|
259
|
+
variant: ecs.BottlerocketEcsVariant.AWS_ECS_2_NVIDIA,
|
|
260
|
+
}),
|
|
261
|
+
});
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
### ARM64 (Graviton) Instances
|
|
265
|
+
|
|
266
|
+
To launch instances with ARM64 hardware, you can use the Amazon ECS-optimized
|
|
267
|
+
Amazon Linux 2 (arm64) AMI. Based on Amazon Linux 2, this AMI is recommended
|
|
268
|
+
for use when launching your EC2 instances that are powered by Arm-based AWS
|
|
269
|
+
Graviton Processors.
|
|
270
|
+
|
|
271
|
+
```ts
|
|
272
|
+
declare const cluster: ecs.Cluster;
|
|
273
|
+
|
|
274
|
+
cluster.addCapacity('graviton-cluster', {
|
|
275
|
+
minCapacity: 2,
|
|
276
|
+
instanceType: new ec2.InstanceType('c6g.large'),
|
|
277
|
+
machineImage: ecs.EcsOptimizedImage.amazonLinux2(ecs.AmiHardwareType.ARM),
|
|
278
|
+
});
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
Bottlerocket is also supported:
|
|
282
|
+
|
|
283
|
+
```ts
|
|
284
|
+
declare const cluster: ecs.Cluster;
|
|
285
|
+
|
|
286
|
+
cluster.addCapacity('graviton-cluster', {
|
|
287
|
+
minCapacity: 2,
|
|
288
|
+
instanceType: new ec2.InstanceType('c6g.large'),
|
|
289
|
+
machineImageType: ecs.MachineImageType.BOTTLEROCKET,
|
|
290
|
+
});
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
### Amazon Linux 2 (Neuron) Instances
|
|
294
|
+
|
|
295
|
+
To launch Amazon EC2 Inf1, Trn1 or Inf2 instances, you can use the Amazon ECS optimized Amazon Linux 2 (Neuron) AMI. It comes pre-configured with AWS Inferentia and AWS Trainium drivers and the AWS Neuron runtime for Docker which makes running machine learning inference workloads easier on Amazon ECS.
|
|
296
|
+
|
|
297
|
+
```ts
|
|
298
|
+
declare const cluster: ecs.Cluster;
|
|
299
|
+
|
|
300
|
+
cluster.addCapacity('neuron-cluster', {
|
|
301
|
+
minCapacity: 2,
|
|
302
|
+
instanceType: new ec2.InstanceType('inf1.xlarge'),
|
|
303
|
+
machineImage: ecs.EcsOptimizedImage.amazonLinux2(ecs.AmiHardwareType.NEURON),
|
|
304
|
+
});
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
### Spot Instances
|
|
308
|
+
|
|
309
|
+
To add spot instances into the cluster, you must specify the `spotPrice` in the `ecs.AddCapacityOptions` and optionally enable the `spotInstanceDraining` property.
|
|
310
|
+
|
|
311
|
+
```ts
|
|
312
|
+
declare const cluster: ecs.Cluster;
|
|
313
|
+
|
|
314
|
+
// Add an AutoScalingGroup with spot instances to the existing cluster
|
|
315
|
+
cluster.addCapacity('AsgSpot', {
|
|
316
|
+
maxCapacity: 2,
|
|
317
|
+
minCapacity: 2,
|
|
318
|
+
desiredCapacity: 2,
|
|
319
|
+
instanceType: new ec2.InstanceType('c5.xlarge'),
|
|
320
|
+
spotPrice: '0.0735',
|
|
321
|
+
// Enable the Automated Spot Draining support for Amazon ECS
|
|
322
|
+
spotInstanceDraining: true,
|
|
323
|
+
});
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
### SNS Topic Encryption
|
|
327
|
+
|
|
328
|
+
When the `ecs.AddCapacityOptions` that you provide has a non-zero `taskDrainTime` (the default) then an SNS topic and Lambda are created to ensure that the
|
|
329
|
+
cluster's instances have been properly drained of tasks before terminating. The SNS Topic is sent the instance-terminating lifecycle event from the AutoScalingGroup,
|
|
330
|
+
and the Lambda acts on that event. If you wish to engage [server-side encryption](https://docs.aws.amazon.com/sns/latest/dg/sns-data-encryption.html) for this SNS Topic
|
|
331
|
+
then you may do so by providing a KMS key for the `topicEncryptionKey` property of `ecs.AddCapacityOptions`.
|
|
332
|
+
|
|
333
|
+
```ts
|
|
334
|
+
// Given
|
|
335
|
+
declare const cluster: ecs.Cluster;
|
|
336
|
+
declare const key: kms.Key;
|
|
337
|
+
// Then, use that key to encrypt the lifecycle-event SNS Topic.
|
|
338
|
+
cluster.addCapacity('ASGEncryptedSNS', {
|
|
339
|
+
instanceType: new ec2.InstanceType("t2.xlarge"),
|
|
340
|
+
desiredCapacity: 3,
|
|
341
|
+
topicEncryptionKey: key,
|
|
342
|
+
});
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
### Container Insights
|
|
346
|
+
|
|
347
|
+
On a cluster, CloudWatch Container Insights can be enabled by setting the `containerInsightsV2` property. [Container Insights](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html)
|
|
348
|
+
can be disabled, enabled, or enhanced.
|
|
349
|
+
|
|
350
|
+
```ts
|
|
351
|
+
const cluster = new ecs.Cluster(this, 'Cluster', {
|
|
352
|
+
containerInsightsV2: ecs.ContainerInsights.ENHANCED
|
|
353
|
+
});
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
## Task definitions
|
|
357
|
+
|
|
358
|
+
A task definition describes what a single copy of a **task** should look like.
|
|
359
|
+
A task definition has one or more containers; typically, it has one
|
|
360
|
+
main container (the *default container* is the first one that's added
|
|
361
|
+
to the task definition, and it is marked *essential*) and optionally
|
|
362
|
+
some supporting containers which are used to support the main container,
|
|
363
|
+
doings things like upload logs or metrics to monitoring services.
|
|
364
|
+
|
|
365
|
+
To run a task or service with Amazon EC2 launch type, use the `Ec2TaskDefinition`. For AWS Fargate tasks/services, use the
|
|
366
|
+
`FargateTaskDefinition`. For AWS ECS Anywhere use the `ExternalTaskDefinition`. These classes
|
|
367
|
+
provide simplified APIs that only contain properties relevant for each specific launch type.
|
|
368
|
+
|
|
369
|
+
For a `FargateTaskDefinition`, specify the task size (`memoryLimitMiB` and `cpu`):
|
|
370
|
+
|
|
371
|
+
```ts
|
|
372
|
+
const fargateTaskDefinition = new ecs.FargateTaskDefinition(this, 'TaskDef', {
|
|
373
|
+
memoryLimitMiB: 512,
|
|
374
|
+
cpu: 256,
|
|
375
|
+
});
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
On Fargate Platform Version 1.4.0 or later, you may specify up to 200GiB of
|
|
379
|
+
[ephemeral storage](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-storage.html#fargate-task-storage-pv14):
|
|
380
|
+
|
|
381
|
+
```ts
|
|
382
|
+
const fargateTaskDefinition = new ecs.FargateTaskDefinition(this, 'TaskDef', {
|
|
383
|
+
memoryLimitMiB: 512,
|
|
384
|
+
cpu: 256,
|
|
385
|
+
ephemeralStorageGiB: 100,
|
|
386
|
+
});
|
|
387
|
+
```
|
|
388
|
+
|
|
389
|
+
To specify the process namespace to use for the containers in the task, use the `pidMode` property:
|
|
390
|
+
|
|
391
|
+
```ts
|
|
392
|
+
const fargateTaskDefinition = new ecs.FargateTaskDefinition(this, 'TaskDef', {
|
|
393
|
+
runtimePlatform: {
|
|
394
|
+
operatingSystemFamily: ecs.OperatingSystemFamily.LINUX,
|
|
395
|
+
cpuArchitecture: ecs.CpuArchitecture.ARM64,
|
|
396
|
+
},
|
|
397
|
+
memoryLimitMiB: 512,
|
|
398
|
+
cpu: 256,
|
|
399
|
+
pidMode: ecs.PidMode.TASK,
|
|
400
|
+
});
|
|
401
|
+
```
|
|
402
|
+
|
|
403
|
+
**Note:** `pidMode` is only supported for tasks that are hosted on AWS Fargate if the tasks are using platform version 1.4.0
|
|
404
|
+
or later (Linux). Only the `task` option is supported for Linux containers. `pidMode` isn't supported for Windows containers on Fargate.
|
|
405
|
+
If `pidMode` is specified for a Fargate task, then `runtimePlatform.operatingSystemFamily` must also be specified.
|
|
406
|
+
|
|
407
|
+
To add containers to a task definition, call `addContainer()`:
|
|
408
|
+
|
|
409
|
+
```ts
|
|
410
|
+
const fargateTaskDefinition = new ecs.FargateTaskDefinition(this, 'TaskDef', {
|
|
411
|
+
memoryLimitMiB: 512,
|
|
412
|
+
cpu: 256,
|
|
413
|
+
});
|
|
414
|
+
const container = fargateTaskDefinition.addContainer("WebContainer", {
|
|
415
|
+
// Use an image from DockerHub
|
|
416
|
+
image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
|
|
417
|
+
// ... other options here ...
|
|
418
|
+
});
|
|
419
|
+
```
|
|
420
|
+
|
|
421
|
+
For an `Ec2TaskDefinition`:
|
|
422
|
+
|
|
423
|
+
```ts
|
|
424
|
+
const ec2TaskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef', {
|
|
425
|
+
networkMode: ecs.NetworkMode.BRIDGE,
|
|
426
|
+
});
|
|
427
|
+
|
|
428
|
+
const container = ec2TaskDefinition.addContainer("WebContainer", {
|
|
429
|
+
// Use an image from DockerHub
|
|
430
|
+
image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
|
|
431
|
+
memoryLimitMiB: 1024,
|
|
432
|
+
// ... other options here ...
|
|
433
|
+
});
|
|
434
|
+
```
|
|
435
|
+
|
|
436
|
+
For an `ExternalTaskDefinition`:
|
|
437
|
+
|
|
438
|
+
```ts
|
|
439
|
+
const externalTaskDefinition = new ecs.ExternalTaskDefinition(this, 'TaskDef');
|
|
440
|
+
|
|
441
|
+
const container = externalTaskDefinition.addContainer("WebContainer", {
|
|
442
|
+
// Use an image from DockerHub
|
|
443
|
+
image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
|
|
444
|
+
memoryLimitMiB: 1024,
|
|
445
|
+
// ... other options here ...
|
|
446
|
+
});
|
|
447
|
+
```
|
|
448
|
+
|
|
449
|
+
You can specify container properties when you add them to the task definition, or with various methods, e.g.:
|
|
450
|
+
|
|
451
|
+
To add a port mapping when adding a container to the task definition, specify the `portMappings` option:
|
|
452
|
+
|
|
453
|
+
```ts
|
|
454
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
455
|
+
|
|
456
|
+
taskDefinition.addContainer("WebContainer", {
|
|
457
|
+
image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
|
|
458
|
+
memoryLimitMiB: 1024,
|
|
459
|
+
portMappings: [{ containerPort: 3000 }],
|
|
460
|
+
});
|
|
461
|
+
```
|
|
462
|
+
|
|
463
|
+
To add port mappings directly to a container definition, call `addPortMappings()`:
|
|
464
|
+
|
|
465
|
+
```ts
|
|
466
|
+
declare const container: ecs.ContainerDefinition;
|
|
467
|
+
|
|
468
|
+
container.addPortMappings({
|
|
469
|
+
containerPort: 3000,
|
|
470
|
+
});
|
|
471
|
+
```
|
|
472
|
+
|
|
473
|
+
Sometimes it is useful to be able to configure port ranges for a container, e.g. to run applications such as game servers
|
|
474
|
+
and real-time streaming which typically require multiple ports to be opened simultaneously. This feature is supported on
|
|
475
|
+
both Linux and Windows operating systems for both the EC2 and AWS Fargate launch types. There is a maximum limit of 100
|
|
476
|
+
port ranges per container, and you cannot specify overlapping port ranges.
|
|
477
|
+
|
|
478
|
+
Docker recommends that you turn off the `docker-proxy` in the Docker daemon config file when you have a large number of ports.
|
|
479
|
+
For more information, see [Issue #11185](https://github.com/moby/moby/issues/11185) on the GitHub website.
|
|
480
|
+
|
|
481
|
+
```ts
|
|
482
|
+
declare const container: ecs.ContainerDefinition;
|
|
483
|
+
|
|
484
|
+
container.addPortMappings({
|
|
485
|
+
containerPort: ecs.ContainerDefinition.CONTAINER_PORT_USE_RANGE,
|
|
486
|
+
containerPortRange: '8080-8081',
|
|
487
|
+
});
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
To add data volumes to a task definition, call `addVolume()`:
|
|
491
|
+
|
|
492
|
+
```ts
|
|
493
|
+
const fargateTaskDefinition = new ecs.FargateTaskDefinition(this, 'TaskDef', {
|
|
494
|
+
memoryLimitMiB: 512,
|
|
495
|
+
cpu: 256,
|
|
496
|
+
});
|
|
497
|
+
const volume = {
|
|
498
|
+
// Use an Elastic FileSystem
|
|
499
|
+
name: "mydatavolume",
|
|
500
|
+
efsVolumeConfiguration: {
|
|
501
|
+
fileSystemId: "EFS",
|
|
502
|
+
// ... other options here ...
|
|
503
|
+
},
|
|
504
|
+
};
|
|
505
|
+
|
|
506
|
+
const container = fargateTaskDefinition.addVolume(volume);
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
> Note: ECS Anywhere doesn't support volume attachments in the task definition.
|
|
510
|
+
|
|
511
|
+
To use a TaskDefinition that can be used with either Amazon EC2 or
|
|
512
|
+
AWS Fargate launch types, use the `TaskDefinition` construct.
|
|
513
|
+
|
|
514
|
+
When creating a task definition you have to specify what kind of
|
|
515
|
+
tasks you intend to run: Amazon EC2, AWS Fargate, or both.
|
|
516
|
+
The following example uses both:
|
|
517
|
+
|
|
518
|
+
```ts
|
|
519
|
+
const taskDefinition = new ecs.TaskDefinition(this, 'TaskDef', {
|
|
520
|
+
memoryMiB: '512',
|
|
521
|
+
cpu: '256',
|
|
522
|
+
networkMode: ecs.NetworkMode.AWS_VPC,
|
|
523
|
+
compatibility: ecs.Compatibility.EC2_AND_FARGATE,
|
|
524
|
+
});
|
|
525
|
+
```
|
|
526
|
+
|
|
527
|
+
To grant a principal permission to run your `TaskDefinition`, you can use the `TaskDefinition.grantRun()` method:
|
|
528
|
+
|
|
529
|
+
```ts
|
|
530
|
+
declare const role: iam.IGrantable;
|
|
531
|
+
const taskDef = new ecs.TaskDefinition(this, 'TaskDef', {
|
|
532
|
+
cpu: '512',
|
|
533
|
+
memoryMiB: '512',
|
|
534
|
+
compatibility: ecs.Compatibility.EC2_AND_FARGATE,
|
|
535
|
+
});
|
|
536
|
+
|
|
537
|
+
// Gives role required permissions to run taskDef
|
|
538
|
+
taskDef.grantRun(role);
|
|
539
|
+
```
|
|
540
|
+
|
|
541
|
+
To deploy containerized applications that require the allocation of standard input (stdin) or a terminal (tty), use the `interactive` property.
|
|
542
|
+
|
|
543
|
+
This parameter corresponds to `OpenStdin` in the [Create a container](https://docs.docker.com/engine/api/v1.35/#tag/Container/operation/ContainerCreate) section of the [Docker Remote API](https://docs.docker.com/engine/api/v1.35/)
|
|
544
|
+
and the `--interactive` option to [docker run](https://docs.docker.com/engine/reference/run/#security-configuration).
|
|
545
|
+
|
|
546
|
+
```ts
|
|
547
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
548
|
+
|
|
549
|
+
taskDefinition.addContainer("Container", {
|
|
550
|
+
image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
|
|
551
|
+
interactive: true,
|
|
552
|
+
});
|
|
553
|
+
```
|
|
554
|
+
|
|
555
|
+
### Images
|
|
556
|
+
|
|
557
|
+
Images supply the software that runs inside the container. Images can be
|
|
558
|
+
obtained from either DockerHub or from ECR repositories, built directly from a local Dockerfile, or use an existing tarball.
|
|
559
|
+
|
|
560
|
+
- `ecs.ContainerImage.fromRegistry(imageName)`: use a public image.
|
|
561
|
+
- `ecs.ContainerImage.fromRegistry(imageName, { credentials: mySecret })`: use a private image that requires credentials.
|
|
562
|
+
- `ecs.ContainerImage.fromEcrRepository(repo, tagOrDigest)`: use the given ECR repository as the image
|
|
563
|
+
to start. If no tag or digest is provided, "latest" is assumed.
|
|
564
|
+
- `ecs.ContainerImage.fromAsset('./image')`: build and upload an
|
|
565
|
+
image directly from a `Dockerfile` in your source directory.
|
|
566
|
+
- `ecs.ContainerImage.fromDockerImageAsset(asset)`: uses an existing
|
|
567
|
+
`aws-cdk-lib/aws-ecr-assets.DockerImageAsset` as a container image.
|
|
568
|
+
- `ecs.ContainerImage.fromTarball(file)`: use an existing tarball.
|
|
569
|
+
- `new ecs.TagParameterContainerImage(repository)`: use the given ECR repository as the image
|
|
570
|
+
but a CloudFormation parameter as the tag.
|
|
571
|
+
|
|
572
|
+
### Environment variables
|
|
573
|
+
|
|
574
|
+
To pass environment variables to the container, you can use the `environment`, `environmentFiles`, and `secrets` props.
|
|
575
|
+
|
|
576
|
+
```ts
|
|
577
|
+
declare const secret: secretsmanager.Secret;
|
|
578
|
+
declare const dbSecret: secretsmanager.Secret;
|
|
579
|
+
declare const parameter: ssm.StringParameter;
|
|
580
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
581
|
+
declare const s3Bucket: s3.Bucket;
|
|
582
|
+
|
|
583
|
+
const newContainer = taskDefinition.addContainer('container', {
|
|
584
|
+
image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
|
|
585
|
+
memoryLimitMiB: 1024,
|
|
586
|
+
environment: { // clear text, not for sensitive data
|
|
587
|
+
STAGE: 'prod',
|
|
588
|
+
},
|
|
589
|
+
environmentFiles: [ // list of environment files hosted either on local disk or S3
|
|
590
|
+
ecs.EnvironmentFile.fromAsset('./demo-env-file.env'),
|
|
591
|
+
ecs.EnvironmentFile.fromBucket(s3Bucket, 'assets/demo-env-file.env'),
|
|
592
|
+
],
|
|
593
|
+
secrets: { // Retrieved from AWS Secrets Manager or AWS Systems Manager Parameter Store at container start-up.
|
|
594
|
+
SECRET: ecs.Secret.fromSecretsManager(secret),
|
|
595
|
+
DB_PASSWORD: ecs.Secret.fromSecretsManager(dbSecret, 'password'), // Reference a specific JSON field, (requires platform version 1.4.0 or later for Fargate tasks)
|
|
596
|
+
API_KEY: ecs.Secret.fromSecretsManagerVersion(secret, { versionId: '12345' }, 'apiKey'), // Reference a specific version of the secret by its version id or version stage (requires platform version 1.4.0 or later for Fargate tasks)
|
|
597
|
+
PARAMETER: ecs.Secret.fromSsmParameter(parameter),
|
|
598
|
+
},
|
|
599
|
+
});
|
|
600
|
+
newContainer.addEnvironment('QUEUE_NAME', 'MyQueue');
|
|
601
|
+
newContainer.addSecret('API_KEY', ecs.Secret.fromSecretsManager(secret));
|
|
602
|
+
newContainer.addSecret('DB_PASSWORD', ecs.Secret.fromSecretsManager(secret, 'password'));
|
|
603
|
+
```
|
|
604
|
+
|
|
605
|
+
The task execution role is automatically granted read permissions on the secrets/parameters. Further details provided in the AWS documentation
|
|
606
|
+
about [specifying environment variables](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html).
|
|
607
|
+
|
|
608
|
+
### Linux parameters
|
|
609
|
+
|
|
610
|
+
To apply additional linux-specific options related to init process and memory management to the container, use the `linuxParameters` property:
|
|
611
|
+
|
|
612
|
+
```ts
|
|
613
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
614
|
+
|
|
615
|
+
taskDefinition.addContainer('container', {
|
|
616
|
+
image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
|
|
617
|
+
memoryLimitMiB: 1024,
|
|
618
|
+
linuxParameters: new ecs.LinuxParameters(this, 'LinuxParameters', {
|
|
619
|
+
initProcessEnabled: true,
|
|
620
|
+
sharedMemorySize: 1024,
|
|
621
|
+
maxSwap: Size.mebibytes(5000),
|
|
622
|
+
swappiness: 90,
|
|
623
|
+
}),
|
|
624
|
+
});
|
|
625
|
+
```
|
|
626
|
+
|
|
627
|
+
### System controls
|
|
628
|
+
|
|
629
|
+
To set system controls (kernel parameters) on the container, use the `systemControls` prop:
|
|
630
|
+
|
|
631
|
+
```ts
|
|
632
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
633
|
+
|
|
634
|
+
taskDefinition.addContainer('container', {
|
|
635
|
+
image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
|
|
636
|
+
memoryLimitMiB: 1024,
|
|
637
|
+
systemControls: [
|
|
638
|
+
{
|
|
639
|
+
namespace: 'net.ipv6.conf.all.default.disable_ipv6',
|
|
640
|
+
value: '1',
|
|
641
|
+
},
|
|
642
|
+
],
|
|
643
|
+
});
|
|
644
|
+
```
|
|
645
|
+
|
|
646
|
+
### Restart policy
|
|
647
|
+
|
|
648
|
+
To enable a restart policy for the container, set `enableRestartPolicy` to true and also specify
|
|
649
|
+
`restartIgnoredExitCodes` and `restartAttemptPeriod` if necessary.
|
|
650
|
+
|
|
651
|
+
```ts
|
|
652
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
653
|
+
|
|
654
|
+
taskDefinition.addContainer('container', {
|
|
655
|
+
image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
|
|
656
|
+
enableRestartPolicy: true,
|
|
657
|
+
restartIgnoredExitCodes: [0, 127],
|
|
658
|
+
restartAttemptPeriod: Duration.seconds(360),
|
|
659
|
+
});
|
|
660
|
+
```
|
|
661
|
+
|
|
662
|
+
### Enable Fault Injection
|
|
663
|
+
You can utilize fault injection with Amazon ECS on both Amazon EC2 and Fargate to test how their application responds to certain impairment scenarios. These tests provide information you can use to optimize your application's performance and resiliency.
|
|
664
|
+
|
|
665
|
+
When fault injection is enabled, the Amazon ECS container agent allows tasks access to new fault injection endpoints.
|
|
666
|
+
Fault injection only works with tasks using the `AWS_VPC` or `HOST` network modes.
|
|
667
|
+
|
|
668
|
+
For more infomation, see [Use fault injection with your Amazon ECS and Fargate workloads](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fault-injection.html).
|
|
669
|
+
|
|
670
|
+
To enable Fault Injection for the task definiton, set `enableFaultInjection` to true.
|
|
671
|
+
|
|
672
|
+
```ts
|
|
673
|
+
new ecs.Ec2TaskDefinition(this, 'Ec2TaskDefinition', {
|
|
674
|
+
enableFaultInjection: true,
|
|
675
|
+
});
|
|
676
|
+
```
|
|
677
|
+
|
|
678
|
+
## Docker labels
|
|
679
|
+
|
|
680
|
+
You can add labels to the container with the `dockerLabels` property or with the `addDockerLabel` method:
|
|
681
|
+
|
|
682
|
+
```ts
|
|
683
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
684
|
+
|
|
685
|
+
const container = taskDefinition.addContainer('cont', {
|
|
686
|
+
image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
|
|
687
|
+
memoryLimitMiB: 1024,
|
|
688
|
+
dockerLabels: {
|
|
689
|
+
foo: 'bar',
|
|
690
|
+
},
|
|
691
|
+
});
|
|
692
|
+
|
|
693
|
+
container.addDockerLabel('label', 'value');
|
|
694
|
+
```
|
|
695
|
+
|
|
696
|
+
### Using Windows containers on Fargate
|
|
697
|
+
|
|
698
|
+
AWS Fargate supports Amazon ECS Windows containers. For more details, please see this [blog post](https://aws.amazon.com/tw/blogs/containers/running-windows-containers-with-amazon-ecs-on-aws-fargate/)
|
|
699
|
+
|
|
700
|
+
```ts
|
|
701
|
+
// Create a Task Definition for the Windows container to start
|
|
702
|
+
const taskDefinition = new ecs.FargateTaskDefinition(this, 'TaskDef', {
|
|
703
|
+
runtimePlatform: {
|
|
704
|
+
operatingSystemFamily: ecs.OperatingSystemFamily.WINDOWS_SERVER_2019_CORE,
|
|
705
|
+
cpuArchitecture: ecs.CpuArchitecture.X86_64,
|
|
706
|
+
},
|
|
707
|
+
cpu: 1024,
|
|
708
|
+
memoryLimitMiB: 2048,
|
|
709
|
+
});
|
|
710
|
+
|
|
711
|
+
taskDefinition.addContainer('windowsservercore', {
|
|
712
|
+
logging: ecs.LogDriver.awsLogs({ streamPrefix: 'win-iis-on-fargate' }),
|
|
713
|
+
portMappings: [{ containerPort: 80 }],
|
|
714
|
+
image: ecs.ContainerImage.fromRegistry('mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2019'),
|
|
715
|
+
});
|
|
716
|
+
```
|
|
717
|
+
|
|
718
|
+
### Using Windows authentication with gMSA
|
|
719
|
+
|
|
720
|
+
Amazon ECS supports Active Directory authentication for Linux containers through a special kind of service account called a group Managed Service Account (gMSA). For more details, please see the [product documentation on how to implement on Windows containers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html), or this [blog post on how to implement on Linux containers](https://aws.amazon.com/blogs/containers/using-windows-authentication-with-gmsa-on-linux-containers-on-amazon-ecs/).
|
|
721
|
+
|
|
722
|
+
There are two types of CredentialSpecs, domained-join or domainless. Both types support creation from a S3 bucket, a SSM parameter, or by directly specifying a location for the file in the constructor.
|
|
723
|
+
|
|
724
|
+
A domian-joined gMSA container looks like:
|
|
725
|
+
|
|
726
|
+
```ts
|
|
727
|
+
// Make sure the task definition's execution role has permissions to read from the S3 bucket or SSM parameter where the CredSpec file is stored.
|
|
728
|
+
declare const parameter: ssm.IParameter;
|
|
729
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
730
|
+
|
|
731
|
+
// Domain-joined gMSA container from a SSM parameter
|
|
732
|
+
taskDefinition.addContainer('gmsa-domain-joined-container', {
|
|
733
|
+
image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
|
|
734
|
+
cpu: 128,
|
|
735
|
+
memoryLimitMiB: 256,
|
|
736
|
+
credentialSpecs: [ecs.DomainJoinedCredentialSpec.fromSsmParameter(parameter)],
|
|
737
|
+
});
|
|
738
|
+
```
|
|
739
|
+
|
|
740
|
+
A domianless gMSA container looks like:
|
|
741
|
+
|
|
742
|
+
```ts
|
|
743
|
+
// Make sure the task definition's execution role has permissions to read from the S3 bucket or SSM parameter where the CredSpec file is stored.
|
|
744
|
+
declare const bucket: s3.Bucket;
|
|
745
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
746
|
+
|
|
747
|
+
// Domainless gMSA container from a S3 bucket object.
|
|
748
|
+
taskDefinition.addContainer('gmsa-domainless-container', {
|
|
749
|
+
image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
|
|
750
|
+
cpu: 128,
|
|
751
|
+
memoryLimitMiB: 256,
|
|
752
|
+
credentialSpecs: [ecs.DomainlessCredentialSpec.fromS3Bucket(bucket, 'credSpec')],
|
|
753
|
+
});
|
|
754
|
+
```
|
|
755
|
+
|
|
756
|
+
### Using Graviton2 with Fargate
|
|
757
|
+
|
|
758
|
+
AWS Graviton2 supports AWS Fargate. For more details, please see this [blog post](https://aws.amazon.com/blogs/aws/announcing-aws-graviton2-support-for-aws-fargate-get-up-to-40-better-price-performance-for-your-serverless-containers/)
|
|
759
|
+
|
|
760
|
+
```ts
|
|
761
|
+
// Create a Task Definition for running container on Graviton Runtime.
|
|
762
|
+
const taskDefinition = new ecs.FargateTaskDefinition(this, 'TaskDef', {
|
|
763
|
+
runtimePlatform: {
|
|
764
|
+
operatingSystemFamily: ecs.OperatingSystemFamily.LINUX,
|
|
765
|
+
cpuArchitecture: ecs.CpuArchitecture.ARM64,
|
|
766
|
+
},
|
|
767
|
+
cpu: 1024,
|
|
768
|
+
memoryLimitMiB: 2048,
|
|
769
|
+
});
|
|
770
|
+
|
|
771
|
+
taskDefinition.addContainer('webarm64', {
|
|
772
|
+
logging: ecs.LogDriver.awsLogs({ streamPrefix: 'graviton2-on-fargate' }),
|
|
773
|
+
portMappings: [{ containerPort: 80 }],
|
|
774
|
+
image: ecs.ContainerImage.fromRegistry('public.ecr.aws/nginx/nginx:latest-arm64v8'),
|
|
775
|
+
});
|
|
776
|
+
```
|
|
777
|
+
|
|
778
|
+
## Service
|
|
779
|
+
|
|
780
|
+
A `Service` instantiates a `TaskDefinition` on a `Cluster` a given number of
|
|
781
|
+
times, optionally associating them with a load balancer.
|
|
782
|
+
If a task fails,
|
|
783
|
+
Amazon ECS automatically restarts the task.
|
|
784
|
+
|
|
785
|
+
```ts
|
|
786
|
+
declare const cluster: ecs.Cluster;
|
|
787
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
788
|
+
|
|
789
|
+
const service = new ecs.FargateService(this, 'Service', {
|
|
790
|
+
cluster,
|
|
791
|
+
taskDefinition,
|
|
792
|
+
desiredCount: 5,
|
|
793
|
+
minHealthyPercent: 100,
|
|
794
|
+
});
|
|
795
|
+
```
|
|
796
|
+
|
|
797
|
+
ECS Anywhere service definition looks like:
|
|
798
|
+
|
|
799
|
+
```ts
|
|
800
|
+
declare const cluster: ecs.Cluster;
|
|
801
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
802
|
+
|
|
803
|
+
const service = new ecs.ExternalService(this, 'Service', {
|
|
804
|
+
cluster,
|
|
805
|
+
taskDefinition,
|
|
806
|
+
desiredCount: 5,
|
|
807
|
+
minHealthyPercent: 100,
|
|
808
|
+
});
|
|
809
|
+
```
|
|
810
|
+
|
|
811
|
+
`Services` by default will create a security group if not provided.
|
|
812
|
+
If you'd like to specify which security groups to use you can override the `securityGroups` property.
|
|
813
|
+
|
|
814
|
+
By default, the service will use the revision of the passed task definition generated when the `TaskDefinition`
|
|
815
|
+
is deployed by CloudFormation. However, this may not be desired if the revision is externally managed,
|
|
816
|
+
for example through CodeDeploy.
|
|
817
|
+
|
|
818
|
+
To set a specific revision number or the special `latest` revision, use the `taskDefinitionRevision` parameter:
|
|
819
|
+
|
|
820
|
+
```ts
|
|
821
|
+
declare const cluster: ecs.Cluster;
|
|
822
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
823
|
+
|
|
824
|
+
new ecs.ExternalService(this, 'Service', {
|
|
825
|
+
cluster,
|
|
826
|
+
taskDefinition,
|
|
827
|
+
desiredCount: 5,
|
|
828
|
+
minHealthyPercent: 100,
|
|
829
|
+
taskDefinitionRevision: ecs.TaskDefinitionRevision.of(1),
|
|
830
|
+
});
|
|
831
|
+
|
|
832
|
+
new ecs.ExternalService(this, 'Service', {
|
|
833
|
+
cluster,
|
|
834
|
+
taskDefinition,
|
|
835
|
+
desiredCount: 5,
|
|
836
|
+
minHealthyPercent: 100,
|
|
837
|
+
taskDefinitionRevision: ecs.TaskDefinitionRevision.LATEST,
|
|
838
|
+
});
|
|
839
|
+
```
|
|
840
|
+
|
|
841
|
+
### Deployment circuit breaker and rollback
|
|
842
|
+
|
|
843
|
+
Amazon ECS [deployment circuit breaker](https://aws.amazon.com/tw/blogs/containers/announcing-amazon-ecs-deployment-circuit-breaker/)
|
|
844
|
+
automatically rolls back unhealthy service deployments, eliminating the need for manual intervention.
|
|
845
|
+
|
|
846
|
+
Use `circuitBreaker` to enable the deployment circuit breaker which determines whether a service deployment
|
|
847
|
+
will fail if the service can't reach a steady state.
|
|
848
|
+
You can optionally enable `rollback` for automatic rollback.
|
|
849
|
+
|
|
850
|
+
See [Using the deployment circuit breaker](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html) for more details.
|
|
851
|
+
|
|
852
|
+
```ts
|
|
853
|
+
declare const cluster: ecs.Cluster;
|
|
854
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
855
|
+
const service = new ecs.FargateService(this, 'Service', {
|
|
856
|
+
cluster,
|
|
857
|
+
taskDefinition,
|
|
858
|
+
minHealthyPercent: 100,
|
|
859
|
+
circuitBreaker: {
|
|
860
|
+
enable: true,
|
|
861
|
+
rollback: true
|
|
862
|
+
},
|
|
863
|
+
});
|
|
864
|
+
```
|
|
865
|
+
|
|
866
|
+
> Note: ECS Anywhere doesn't support deployment circuit breakers and rollback.
|
|
867
|
+
|
|
868
|
+
### Deployment alarms
|
|
869
|
+
|
|
870
|
+
Amazon ECS [deployment alarms]
|
|
871
|
+
(https://aws.amazon.com/blogs/containers/automate-rollbacks-for-amazon-ecs-rolling-deployments-with-cloudwatch-alarms/)
|
|
872
|
+
allow monitoring and automatically reacting to changes during a rolling update
|
|
873
|
+
by using Amazon CloudWatch metric alarms.
|
|
874
|
+
|
|
875
|
+
Amazon ECS starts monitoring the configured deployment alarms as soon as one or
|
|
876
|
+
more tasks of the updated service are in a running state. The deployment process
|
|
877
|
+
continues until the primary deployment is healthy and has reached the desired
|
|
878
|
+
count and the active deployment has been scaled down to 0. Then, the deployment
|
|
879
|
+
remains in the IN_PROGRESS state for an additional "bake time." The length the
|
|
880
|
+
bake time is calculated based on the evaluation periods and period of the alarms.
|
|
881
|
+
After the bake time, if none of the alarms have been activated, then Amazon ECS
|
|
882
|
+
considers this to be a successful update and deletes the active deployment and
|
|
883
|
+
changes the status of the primary deployment to COMPLETED.
|
|
884
|
+
|
|
885
|
+
```ts
|
|
886
|
+
import * as cw from 'aws-cdk-lib/aws-cloudwatch';
|
|
887
|
+
|
|
888
|
+
declare const cluster: ecs.Cluster;
|
|
889
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
890
|
+
declare const elbAlarm: cw.Alarm;
|
|
891
|
+
|
|
892
|
+
const service = new ecs.FargateService(this, 'Service', {
|
|
893
|
+
cluster,
|
|
894
|
+
taskDefinition,
|
|
895
|
+
minHealthyPercent: 100,
|
|
896
|
+
deploymentAlarms: {
|
|
897
|
+
alarmNames: [elbAlarm.alarmName],
|
|
898
|
+
behavior: ecs.AlarmBehavior.ROLLBACK_ON_ALARM,
|
|
899
|
+
},
|
|
900
|
+
});
|
|
901
|
+
|
|
902
|
+
// Defining a deployment alarm after the service has been created
|
|
903
|
+
const cpuAlarmName = 'MyCpuMetricAlarm';
|
|
904
|
+
new cw.Alarm(this, 'CPUAlarm', {
|
|
905
|
+
alarmName: cpuAlarmName,
|
|
906
|
+
metric: service.metricCpuUtilization(),
|
|
907
|
+
evaluationPeriods: 2,
|
|
908
|
+
threshold: 80,
|
|
909
|
+
});
|
|
910
|
+
service.enableDeploymentAlarms([cpuAlarmName], {
|
|
911
|
+
behavior: ecs.AlarmBehavior.FAIL_ON_ALARM,
|
|
912
|
+
});
|
|
913
|
+
```
|
|
914
|
+
|
|
915
|
+
> Note: Deployment alarms are only available when `deploymentController` is set
|
|
916
|
+
> to `DeploymentControllerType.ECS`, which is the default.
|
|
917
|
+
|
|
918
|
+
#### Troubleshooting circular dependencies
|
|
919
|
+
|
|
920
|
+
I saw this info message during synth time. What do I do?
|
|
921
|
+
|
|
922
|
+
```text
|
|
923
|
+
Deployment alarm ({"Ref":"MyAlarmABC1234"}) enabled on MyEcsService may cause a
|
|
924
|
+
circular dependency error when this stack deploys. The alarm name references the
|
|
925
|
+
alarm's logical id, or another resource. See the 'Deployment alarms' section in
|
|
926
|
+
the module README for more details.
|
|
927
|
+
```
|
|
928
|
+
|
|
929
|
+
If your app deploys successfully with this message, you can disregard it. But it
|
|
930
|
+
indicates that you could encounter a circular dependency error when you try to
|
|
931
|
+
deploy. If you want to alarm on metrics produced by the service, there will be a
|
|
932
|
+
circular dependency between the service and its deployment alarms. In this case,
|
|
933
|
+
there are two options to avoid the circular dependency.
|
|
934
|
+
|
|
935
|
+
1. Define the physical name for the alarm. Use a defined physical name that is
|
|
936
|
+
unique within the deployment environment for the alarm name when creating the
|
|
937
|
+
alarm, and re-use the defined name. This name could be a hardcoded string, a
|
|
938
|
+
string generated based on the environment, or could reference another
|
|
939
|
+
resource that does not depend on the service.
|
|
940
|
+
2. Define the physical name for the service. Then, don't use
|
|
941
|
+
`metricCpuUtilization()` or similar methods. Create the metric object
|
|
942
|
+
separately by referencing the service metrics using this name.
|
|
943
|
+
|
|
944
|
+
Option 1, defining a physical name for the alarm:
|
|
945
|
+
```ts
|
|
946
|
+
import * as cw from 'aws-cdk-lib/aws-cloudwatch';
|
|
947
|
+
|
|
948
|
+
declare const cluster: ecs.Cluster;
|
|
949
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
950
|
+
|
|
951
|
+
const service = new ecs.FargateService(this, 'Service', {
|
|
952
|
+
cluster,
|
|
953
|
+
taskDefinition,
|
|
954
|
+
});
|
|
955
|
+
|
|
956
|
+
const cpuAlarmName = 'MyCpuMetricAlarm';
|
|
957
|
+
const myAlarm = new cw.Alarm(this, 'CPUAlarm', {
|
|
958
|
+
alarmName: cpuAlarmName,
|
|
959
|
+
metric: service.metricCpuUtilization(),
|
|
960
|
+
evaluationPeriods: 2,
|
|
961
|
+
threshold: 80,
|
|
962
|
+
});
|
|
963
|
+
|
|
964
|
+
// Using `myAlarm.alarmName` here will cause a circular dependency
|
|
965
|
+
service.enableDeploymentAlarms([cpuAlarmName], {
|
|
966
|
+
behavior: ecs.AlarmBehavior.FAIL_ON_ALARM,
|
|
967
|
+
});
|
|
968
|
+
```
|
|
969
|
+
|
|
970
|
+
Option 2, defining a physical name for the service:
|
|
971
|
+
|
|
972
|
+
```ts
|
|
973
|
+
import * as cw from 'aws-cdk-lib/aws-cloudwatch';
|
|
974
|
+
|
|
975
|
+
declare const cluster: ecs.Cluster;
|
|
976
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
977
|
+
const serviceName = 'MyFargateService';
|
|
978
|
+
const service = new ecs.FargateService(this, 'Service', {
|
|
979
|
+
serviceName,
|
|
980
|
+
cluster,
|
|
981
|
+
taskDefinition,
|
|
982
|
+
minHealthyPercent: 100,
|
|
983
|
+
});
|
|
984
|
+
|
|
985
|
+
const cpuMetric = new cw.Metric({
|
|
986
|
+
metricName: 'CPUUtilization',
|
|
987
|
+
namespace: 'AWS/ECS',
|
|
988
|
+
period: Duration.minutes(5),
|
|
989
|
+
statistic: 'Average',
|
|
990
|
+
dimensionsMap: {
|
|
991
|
+
ClusterName: cluster.clusterName,
|
|
992
|
+
// Using `service.serviceName` here will cause a circular dependency
|
|
993
|
+
ServiceName: serviceName,
|
|
994
|
+
},
|
|
995
|
+
});
|
|
996
|
+
const myAlarm = new cw.Alarm(this, 'CPUAlarm', {
|
|
997
|
+
alarmName: 'cpuAlarmName',
|
|
998
|
+
metric: cpuMetric,
|
|
999
|
+
evaluationPeriods: 2,
|
|
1000
|
+
threshold: 80,
|
|
1001
|
+
});
|
|
1002
|
+
|
|
1003
|
+
service.enableDeploymentAlarms([myAlarm.alarmName], {
|
|
1004
|
+
behavior: ecs.AlarmBehavior.FAIL_ON_ALARM,
|
|
1005
|
+
});
|
|
1006
|
+
```
|
|
1007
|
+
|
|
1008
|
+
This issue only applies if the metrics to alarm on are emitted by the service
|
|
1009
|
+
itself. If the metrics are emitted by a different resource, that does not depend
|
|
1010
|
+
on the service, there will be no restrictions on the alarm name.
|
|
1011
|
+
|
|
1012
|
+
### Include an application/network load balancer
|
|
1013
|
+
|
|
1014
|
+
`Services` are load balancing targets and can be added to a target group, which will be attached to an application/network load balancers:
|
|
1015
|
+
|
|
1016
|
+
```ts
|
|
1017
|
+
declare const vpc: ec2.Vpc;
|
|
1018
|
+
declare const cluster: ecs.Cluster;
|
|
1019
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
1020
|
+
const service = new ecs.FargateService(this, 'Service', { cluster, taskDefinition, minHealthyPercent: 100 });
|
|
1021
|
+
|
|
1022
|
+
const lb = new elbv2.ApplicationLoadBalancer(this, 'LB', { vpc, internetFacing: true });
|
|
1023
|
+
const listener = lb.addListener('Listener', { port: 80 });
|
|
1024
|
+
const targetGroup1 = listener.addTargets('ECS1', {
|
|
1025
|
+
port: 80,
|
|
1026
|
+
targets: [service],
|
|
1027
|
+
});
|
|
1028
|
+
const targetGroup2 = listener.addTargets('ECS2', {
|
|
1029
|
+
port: 80,
|
|
1030
|
+
targets: [service.loadBalancerTarget({
|
|
1031
|
+
containerName: 'MyContainer',
|
|
1032
|
+
containerPort: 8080
|
|
1033
|
+
})],
|
|
1034
|
+
});
|
|
1035
|
+
```
|
|
1036
|
+
|
|
1037
|
+
> Note: ECS Anywhere doesn't support application/network load balancers.
|
|
1038
|
+
|
|
1039
|
+
Note that in the example above, the default `service` only allows you to register the first essential container or the first mapped port on the container as a target and add it to a new target group. To have more control over which container and port to register as targets, you can use `service.loadBalancerTarget()` to return a load balancing target for a specific container and port.
|
|
1040
|
+
|
|
1041
|
+
Alternatively, you can also create all load balancer targets to be registered in this service, add them to target groups, and attach target groups to listeners accordingly.
|
|
1042
|
+
|
|
1043
|
+
```ts
|
|
1044
|
+
declare const cluster: ecs.Cluster;
|
|
1045
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
1046
|
+
declare const vpc: ec2.Vpc;
|
|
1047
|
+
const service = new ecs.FargateService(this, 'Service', { cluster, taskDefinition, minHealthyPercent: 100 });
|
|
1048
|
+
|
|
1049
|
+
const lb = new elbv2.ApplicationLoadBalancer(this, 'LB', { vpc, internetFacing: true });
|
|
1050
|
+
const listener = lb.addListener('Listener', { port: 80 });
|
|
1051
|
+
service.registerLoadBalancerTargets(
|
|
1052
|
+
{
|
|
1053
|
+
containerName: 'web',
|
|
1054
|
+
containerPort: 80,
|
|
1055
|
+
newTargetGroupId: 'ECS',
|
|
1056
|
+
listener: ecs.ListenerConfig.applicationListener(listener, {
|
|
1057
|
+
protocol: elbv2.ApplicationProtocol.HTTPS
|
|
1058
|
+
}),
|
|
1059
|
+
},
|
|
1060
|
+
);
|
|
1061
|
+
```
|
|
1062
|
+
|
|
1063
|
+
### Using a Load Balancer from a different Stack
|
|
1064
|
+
|
|
1065
|
+
If you want to put your Load Balancer and the Service it is load balancing to in
|
|
1066
|
+
different stacks, you may not be able to use the convenience methods
|
|
1067
|
+
`loadBalancer.addListener()` and `listener.addTargets()`.
|
|
1068
|
+
|
|
1069
|
+
The reason is that these methods will create resources in the same Stack as the
|
|
1070
|
+
object they're called on, which may lead to cyclic references between stacks.
|
|
1071
|
+
Instead, you will have to create an `ApplicationListener` in the service stack,
|
|
1072
|
+
or an empty `TargetGroup` in the load balancer stack that you attach your
|
|
1073
|
+
service to.
|
|
1074
|
+
|
|
1075
|
+
See the [ecs/cross-stack-load-balancer example](https://github.com/aws-samples/aws-cdk-examples/tree/master/typescript/ecs/cross-stack-load-balancer/)
|
|
1076
|
+
for the alternatives.
|
|
1077
|
+
|
|
1078
|
+
### Include a classic load balancer
|
|
1079
|
+
|
|
1080
|
+
`Services` can also be directly attached to a classic load balancer as targets:
|
|
1081
|
+
|
|
1082
|
+
```ts
|
|
1083
|
+
declare const cluster: ecs.Cluster;
|
|
1084
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
1085
|
+
declare const vpc: ec2.Vpc;
|
|
1086
|
+
const service = new ecs.Ec2Service(this, 'Service', { cluster, taskDefinition, minHealthyPercent: 100 });
|
|
1087
|
+
|
|
1088
|
+
const lb = new elb.LoadBalancer(this, 'LB', { vpc });
|
|
1089
|
+
lb.addListener({ externalPort: 80 });
|
|
1090
|
+
lb.addTarget(service);
|
|
1091
|
+
```
|
|
1092
|
+
|
|
1093
|
+
Similarly, if you want to have more control over load balancer targeting:
|
|
1094
|
+
|
|
1095
|
+
```ts
|
|
1096
|
+
declare const cluster: ecs.Cluster;
|
|
1097
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
1098
|
+
declare const vpc: ec2.Vpc;
|
|
1099
|
+
const service = new ecs.Ec2Service(this, 'Service', { cluster, taskDefinition, minHealthyPercent: 100 });
|
|
1100
|
+
|
|
1101
|
+
const lb = new elb.LoadBalancer(this, 'LB', { vpc });
|
|
1102
|
+
lb.addListener({ externalPort: 80 });
|
|
1103
|
+
lb.addTarget(service.loadBalancerTarget({
|
|
1104
|
+
containerName: 'MyContainer',
|
|
1105
|
+
containerPort: 80,
|
|
1106
|
+
}));
|
|
1107
|
+
```
|
|
1108
|
+
|
|
1109
|
+
There are two higher-level constructs available which include a load balancer for you that can be found in the aws-ecs-patterns module:
|
|
1110
|
+
|
|
1111
|
+
- `LoadBalancedFargateService`
|
|
1112
|
+
- `LoadBalancedEc2Service`
|
|
1113
|
+
|
|
1114
|
+
### Import existing services
|
|
1115
|
+
|
|
1116
|
+
`Ec2Service` and `FargateService` provide methods to import existing EC2/Fargate services.
|
|
1117
|
+
The ARN of the existing service has to be specified to import the service.
|
|
1118
|
+
|
|
1119
|
+
Since AWS has changed the [ARN format for ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids),
|
|
1120
|
+
feature flag `@aws-cdk/aws-ecs:arnFormatIncludesClusterName` must be enabled to use the new ARN format.
|
|
1121
|
+
The feature flag changes behavior for the entire CDK project. Therefore it is not possible to mix the old and the new format in one CDK project.
|
|
1122
|
+
|
|
1123
|
+
```tss
|
|
1124
|
+
declare const cluster: ecs.Cluster;
|
|
1125
|
+
|
|
1126
|
+
// Import service from EC2 service attributes
|
|
1127
|
+
const service = ecs.Ec2Service.fromEc2ServiceAttributes(this, 'EcsService', {
|
|
1128
|
+
serviceArn: 'arn:aws:ecs:us-west-2:123456789012:service/my-http-service',
|
|
1129
|
+
cluster,
|
|
1130
|
+
});
|
|
1131
|
+
|
|
1132
|
+
// Import service from EC2 service ARN
|
|
1133
|
+
const service = ecs.Ec2Service.fromEc2ServiceArn(this, 'EcsService', 'arn:aws:ecs:us-west-2:123456789012:service/my-http-service');
|
|
1134
|
+
|
|
1135
|
+
// Import service from Fargate service attributes
|
|
1136
|
+
const service = ecs.FargateService.fromFargateServiceAttributes(this, 'EcsService', {
|
|
1137
|
+
serviceArn: 'arn:aws:ecs:us-west-2:123456789012:service/my-http-service',
|
|
1138
|
+
cluster,
|
|
1139
|
+
});
|
|
1140
|
+
|
|
1141
|
+
// Import service from Fargate service ARN
|
|
1142
|
+
const service = ecs.FargateService.fromFargateServiceArn(this, 'EcsService', 'arn:aws:ecs:us-west-2:123456789012:service/my-http-service');
|
|
1143
|
+
```
|
|
1144
|
+
|
|
1145
|
+
### Availability Zone rebalancing
|
|
1146
|
+
|
|
1147
|
+
ECS services running in AWS can be launched in multiple VPC subnets that are
|
|
1148
|
+
each in different Availability Zones (AZs) to achieve high availability. Fargate
|
|
1149
|
+
services launched this way will automatically try to achieve an even spread of
|
|
1150
|
+
service tasks across AZs, and EC2 services can be instructed to do the same with
|
|
1151
|
+
placement strategies. This ensures that the service has equal availability in
|
|
1152
|
+
each AZ.
|
|
1153
|
+
|
|
1154
|
+
```ts
|
|
1155
|
+
declare const vpc: ec2.Vpc;
|
|
1156
|
+
declare const cluster: ecs.Cluster;
|
|
1157
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
1158
|
+
|
|
1159
|
+
const service = new ecs.FargateService(this, 'Service', {
|
|
1160
|
+
cluster,
|
|
1161
|
+
taskDefinition,
|
|
1162
|
+
// Fargate will try to ensure an even spread of newly launched tasks across
|
|
1163
|
+
// all AZs corresponding to the public subnets of the VPC.
|
|
1164
|
+
vpcSubnets: { subnetType: ec2.SubnetType.PUBLIC },
|
|
1165
|
+
});
|
|
1166
|
+
```
|
|
1167
|
+
|
|
1168
|
+
However, those approaches only affect how newly launched tasks are placed.
|
|
1169
|
+
Service tasks can still become unevenly spread across AZs if there is an
|
|
1170
|
+
infrastructure event, like an AZ outage or a lack of available compute capacity
|
|
1171
|
+
in an AZ. During such events, newly launched tasks may be placed in AZs in such
|
|
1172
|
+
a way that tasks are not evenly spread across all AZs. After the infrastructure
|
|
1173
|
+
event is over, the service will remain imbalanced until new tasks are launched
|
|
1174
|
+
for some other reason, such as a service deployment.
|
|
1175
|
+
|
|
1176
|
+
Availability Zone rebalancing is a feature whereby ECS actively tries to correct
|
|
1177
|
+
service AZ imbalances whenever they exist, by moving service tasks from
|
|
1178
|
+
overbalanced AZs to underbalanced AZs. When an imbalance is detected, ECS will
|
|
1179
|
+
launch new tasks in underbalanced AZs, then stop existing tasks in overbalanced
|
|
1180
|
+
AZs, to ensure an even spread.
|
|
1181
|
+
|
|
1182
|
+
You can enabled Availability Zone rebalancing when creating your service:
|
|
1183
|
+
|
|
1184
|
+
```ts
|
|
1185
|
+
declare const cluster: ecs.Cluster;
|
|
1186
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
1187
|
+
|
|
1188
|
+
const service = new ecs.FargateService(this, 'Service', {
|
|
1189
|
+
cluster,
|
|
1190
|
+
taskDefinition,
|
|
1191
|
+
availabilityZoneRebalancing: ecs.AvailabilityZoneRebalancing.ENABLED,
|
|
1192
|
+
});
|
|
1193
|
+
```
|
|
1194
|
+
|
|
1195
|
+
Availability Zone rebalancing works in the following configurations:
|
|
1196
|
+
- Services that use the Replica strategy.
|
|
1197
|
+
- Services that specify Availability Zone spread as the first task placement
|
|
1198
|
+
strategy, or do not specify a placement strategy.
|
|
1199
|
+
|
|
1200
|
+
You can't use Availability Zone rebalancing with services that meet any of the
|
|
1201
|
+
following criteria:
|
|
1202
|
+
- Uses the Daemon strategy.
|
|
1203
|
+
- Uses the EXTERNAL launch type (ECSAnywhere).
|
|
1204
|
+
- Uses 100% for the maximumPercent value.
|
|
1205
|
+
- Uses a Classic Load Balancer.
|
|
1206
|
+
- Uses the `attribute:ecs.availability-zone` as a task placement constraint.
|
|
1207
|
+
|
|
1208
|
+
## Task Auto-Scaling
|
|
1209
|
+
|
|
1210
|
+
You can configure the task count of a service to match demand. Task auto-scaling is
|
|
1211
|
+
configured by calling `autoScaleTaskCount()`:
|
|
1212
|
+
|
|
1213
|
+
```ts
|
|
1214
|
+
declare const target: elbv2.ApplicationTargetGroup;
|
|
1215
|
+
declare const service: ecs.BaseService;
|
|
1216
|
+
const scaling = service.autoScaleTaskCount({ maxCapacity: 10 });
|
|
1217
|
+
scaling.scaleOnCpuUtilization('CpuScaling', {
|
|
1218
|
+
targetUtilizationPercent: 50,
|
|
1219
|
+
});
|
|
1220
|
+
|
|
1221
|
+
scaling.scaleOnRequestCount('RequestScaling', {
|
|
1222
|
+
requestsPerTarget: 10000,
|
|
1223
|
+
targetGroup: target,
|
|
1224
|
+
});
|
|
1225
|
+
```
|
|
1226
|
+
|
|
1227
|
+
Task auto-scaling is powered by *Application Auto-Scaling*.
|
|
1228
|
+
See that section for details.
|
|
1229
|
+
|
|
1230
|
+
## Integration with CloudWatch Events
|
|
1231
|
+
|
|
1232
|
+
To start an Amazon ECS task on an Amazon EC2-backed Cluster, instantiate an
|
|
1233
|
+
`aws-cdk-lib/aws-events-targets.EcsTask` instead of an `Ec2Service`:
|
|
1234
|
+
|
|
1235
|
+
```ts
|
|
1236
|
+
declare const cluster: ecs.Cluster;
|
|
1237
|
+
// Create a Task Definition for the container to start
|
|
1238
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
|
|
1239
|
+
taskDefinition.addContainer('TheContainer', {
|
|
1240
|
+
image: ecs.ContainerImage.fromAsset(path.resolve(__dirname, '..', 'eventhandler-image')),
|
|
1241
|
+
memoryLimitMiB: 256,
|
|
1242
|
+
logging: new ecs.AwsLogDriver({ streamPrefix: 'EventDemo', mode: ecs.AwsLogDriverMode.NON_BLOCKING }),
|
|
1243
|
+
});
|
|
1244
|
+
|
|
1245
|
+
// An Rule that describes the event trigger (in this case a scheduled run)
|
|
1246
|
+
const rule = new events.Rule(this, 'Rule', {
|
|
1247
|
+
schedule: events.Schedule.expression('rate(1 minute)'),
|
|
1248
|
+
});
|
|
1249
|
+
|
|
1250
|
+
// Pass an environment variable to the container 'TheContainer' in the task
|
|
1251
|
+
rule.addTarget(new targets.EcsTask({
|
|
1252
|
+
cluster,
|
|
1253
|
+
taskDefinition,
|
|
1254
|
+
taskCount: 1,
|
|
1255
|
+
containerOverrides: [{
|
|
1256
|
+
containerName: 'TheContainer',
|
|
1257
|
+
environment: [{
|
|
1258
|
+
name: 'I_WAS_TRIGGERED',
|
|
1259
|
+
value: 'From CloudWatch Events'
|
|
1260
|
+
}],
|
|
1261
|
+
}],
|
|
1262
|
+
}));
|
|
1263
|
+
```
|
|
1264
|
+
|
|
1265
|
+
## Log Drivers
|
|
1266
|
+
|
|
1267
|
+
Currently Supported Log Drivers:
|
|
1268
|
+
|
|
1269
|
+
- awslogs
|
|
1270
|
+
- fluentd
|
|
1271
|
+
- gelf
|
|
1272
|
+
- journald
|
|
1273
|
+
- json-file
|
|
1274
|
+
- splunk
|
|
1275
|
+
- syslog
|
|
1276
|
+
- awsfirelens
|
|
1277
|
+
- Generic
|
|
1278
|
+
|
|
1279
|
+
### awslogs Log Driver
|
|
1280
|
+
|
|
1281
|
+
```ts
|
|
1282
|
+
// Create a Task Definition for the container to start
|
|
1283
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
|
|
1284
|
+
taskDefinition.addContainer('TheContainer', {
|
|
1285
|
+
image: ecs.ContainerImage.fromRegistry('example-image'),
|
|
1286
|
+
memoryLimitMiB: 256,
|
|
1287
|
+
logging: ecs.LogDrivers.awsLogs({
|
|
1288
|
+
streamPrefix: 'EventDemo',
|
|
1289
|
+
mode: ecs.AwsLogDriverMode.NON_BLOCKING,
|
|
1290
|
+
maxBufferSize: Size.mebibytes(25),
|
|
1291
|
+
}),
|
|
1292
|
+
});
|
|
1293
|
+
```
|
|
1294
|
+
|
|
1295
|
+
### fluentd Log Driver
|
|
1296
|
+
|
|
1297
|
+
```ts
|
|
1298
|
+
// Create a Task Definition for the container to start
|
|
1299
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
|
|
1300
|
+
taskDefinition.addContainer('TheContainer', {
|
|
1301
|
+
image: ecs.ContainerImage.fromRegistry('example-image'),
|
|
1302
|
+
memoryLimitMiB: 256,
|
|
1303
|
+
logging: ecs.LogDrivers.fluentd(),
|
|
1304
|
+
});
|
|
1305
|
+
```
|
|
1306
|
+
|
|
1307
|
+
### gelf Log Driver
|
|
1308
|
+
|
|
1309
|
+
```ts
|
|
1310
|
+
// Create a Task Definition for the container to start
|
|
1311
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
|
|
1312
|
+
taskDefinition.addContainer('TheContainer', {
|
|
1313
|
+
image: ecs.ContainerImage.fromRegistry('example-image'),
|
|
1314
|
+
memoryLimitMiB: 256,
|
|
1315
|
+
logging: ecs.LogDrivers.gelf({ address: 'my-gelf-address' }),
|
|
1316
|
+
});
|
|
1317
|
+
```
|
|
1318
|
+
|
|
1319
|
+
### journald Log Driver
|
|
1320
|
+
|
|
1321
|
+
```ts
|
|
1322
|
+
// Create a Task Definition for the container to start
|
|
1323
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
|
|
1324
|
+
taskDefinition.addContainer('TheContainer', {
|
|
1325
|
+
image: ecs.ContainerImage.fromRegistry('example-image'),
|
|
1326
|
+
memoryLimitMiB: 256,
|
|
1327
|
+
logging: ecs.LogDrivers.journald(),
|
|
1328
|
+
});
|
|
1329
|
+
```
|
|
1330
|
+
|
|
1331
|
+
### json-file Log Driver
|
|
1332
|
+
|
|
1333
|
+
```ts
|
|
1334
|
+
// Create a Task Definition for the container to start
|
|
1335
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
|
|
1336
|
+
taskDefinition.addContainer('TheContainer', {
|
|
1337
|
+
image: ecs.ContainerImage.fromRegistry('example-image'),
|
|
1338
|
+
memoryLimitMiB: 256,
|
|
1339
|
+
logging: ecs.LogDrivers.jsonFile(),
|
|
1340
|
+
});
|
|
1341
|
+
```
|
|
1342
|
+
|
|
1343
|
+
### splunk Log Driver
|
|
1344
|
+
|
|
1345
|
+
```ts
|
|
1346
|
+
declare const secret: ecs.Secret;
|
|
1347
|
+
|
|
1348
|
+
// Create a Task Definition for the container to start
|
|
1349
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
|
|
1350
|
+
taskDefinition.addContainer('TheContainer', {
|
|
1351
|
+
image: ecs.ContainerImage.fromRegistry('example-image'),
|
|
1352
|
+
memoryLimitMiB: 256,
|
|
1353
|
+
logging: ecs.LogDrivers.splunk({
|
|
1354
|
+
secretToken: secret,
|
|
1355
|
+
url: 'my-splunk-url',
|
|
1356
|
+
}),
|
|
1357
|
+
});
|
|
1358
|
+
```
|
|
1359
|
+
|
|
1360
|
+
### syslog Log Driver
|
|
1361
|
+
|
|
1362
|
+
```ts
|
|
1363
|
+
// Create a Task Definition for the container to start
|
|
1364
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
|
|
1365
|
+
taskDefinition.addContainer('TheContainer', {
|
|
1366
|
+
image: ecs.ContainerImage.fromRegistry('example-image'),
|
|
1367
|
+
memoryLimitMiB: 256,
|
|
1368
|
+
logging: ecs.LogDrivers.syslog(),
|
|
1369
|
+
});
|
|
1370
|
+
```
|
|
1371
|
+
|
|
1372
|
+
### firelens Log Driver
|
|
1373
|
+
|
|
1374
|
+
```ts
|
|
1375
|
+
// Create a Task Definition for the container to start
|
|
1376
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
|
|
1377
|
+
taskDefinition.addContainer('TheContainer', {
|
|
1378
|
+
image: ecs.ContainerImage.fromRegistry('example-image'),
|
|
1379
|
+
memoryLimitMiB: 256,
|
|
1380
|
+
logging: ecs.LogDrivers.firelens({
|
|
1381
|
+
options: {
|
|
1382
|
+
Name: 'firehose',
|
|
1383
|
+
region: 'us-west-2',
|
|
1384
|
+
delivery_stream: 'my-stream',
|
|
1385
|
+
},
|
|
1386
|
+
}),
|
|
1387
|
+
});
|
|
1388
|
+
```
|
|
1389
|
+
|
|
1390
|
+
To pass secrets to the log configuration, use the `secretOptions` property of the log configuration. The task execution role is automatically granted read permissions on the secrets/parameters.
|
|
1391
|
+
|
|
1392
|
+
```ts
|
|
1393
|
+
declare const secret: secretsmanager.Secret;
|
|
1394
|
+
declare const parameter: ssm.StringParameter;
|
|
1395
|
+
|
|
1396
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
|
|
1397
|
+
taskDefinition.addContainer('TheContainer', {
|
|
1398
|
+
image: ecs.ContainerImage.fromRegistry('example-image'),
|
|
1399
|
+
memoryLimitMiB: 256,
|
|
1400
|
+
logging: ecs.LogDrivers.firelens({
|
|
1401
|
+
options: {
|
|
1402
|
+
// ... log driver options here ...
|
|
1403
|
+
},
|
|
1404
|
+
secretOptions: { // Retrieved from AWS Secrets Manager or AWS Systems Manager Parameter Store
|
|
1405
|
+
apikey: ecs.Secret.fromSecretsManager(secret),
|
|
1406
|
+
host: ecs.Secret.fromSsmParameter(parameter),
|
|
1407
|
+
},
|
|
1408
|
+
}),
|
|
1409
|
+
});
|
|
1410
|
+
```
|
|
1411
|
+
|
|
1412
|
+
When forwarding logs to CloudWatch Logs using Fluent Bit, you can set the retention period for the newly created Log Group by specifying the `log_retention_days` parameter.
|
|
1413
|
+
If a Fluent Bit container has not been added, CDK will automatically add it to the task definition, and the necessary IAM permissions will be added to the task role.
|
|
1414
|
+
If you are adding the Fluent Bit container manually, ensure to add the `logs:PutRetentionPolicy` policy to the task role.
|
|
1415
|
+
|
|
1416
|
+
```ts
|
|
1417
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
|
|
1418
|
+
taskDefinition.addContainer('TheContainer', {
|
|
1419
|
+
image: ecs.ContainerImage.fromRegistry('example-image'),
|
|
1420
|
+
memoryLimitMiB: 256,
|
|
1421
|
+
logging: ecs.LogDrivers.firelens({
|
|
1422
|
+
options: {
|
|
1423
|
+
Name: 'cloudwatch',
|
|
1424
|
+
region: 'us-west-2',
|
|
1425
|
+
log_group_name: 'firelens-fluent-bit',
|
|
1426
|
+
log_stream_prefix: 'from-fluent-bit',
|
|
1427
|
+
auto_create_group: 'true',
|
|
1428
|
+
log_retention_days: '1',
|
|
1429
|
+
},
|
|
1430
|
+
}),
|
|
1431
|
+
});
|
|
1432
|
+
```
|
|
1433
|
+
|
|
1434
|
+
> Visit [Fluent Bit CloudWatch Configuration Parameters](https://docs.fluentbit.io/manual/pipeline/outputs/cloudwatch#configuration-parameters)
|
|
1435
|
+
for more details.
|
|
1436
|
+
|
|
1437
|
+
### Generic Log Driver
|
|
1438
|
+
|
|
1439
|
+
A generic log driver object exists to provide a lower level abstraction of the log driver configuration.
|
|
1440
|
+
|
|
1441
|
+
```ts
|
|
1442
|
+
// Create a Task Definition for the container to start
|
|
1443
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
|
|
1444
|
+
taskDefinition.addContainer('TheContainer', {
|
|
1445
|
+
image: ecs.ContainerImage.fromRegistry('example-image'),
|
|
1446
|
+
memoryLimitMiB: 256,
|
|
1447
|
+
logging: new ecs.GenericLogDriver({
|
|
1448
|
+
logDriver: 'fluentd',
|
|
1449
|
+
options: {
|
|
1450
|
+
tag: 'example-tag',
|
|
1451
|
+
},
|
|
1452
|
+
}),
|
|
1453
|
+
});
|
|
1454
|
+
```
|
|
1455
|
+
|
|
1456
|
+
## CloudMap Service Discovery
|
|
1457
|
+
|
|
1458
|
+
To register your ECS service with a CloudMap Service Registry, you may add the
|
|
1459
|
+
`cloudMapOptions` property to your service:
|
|
1460
|
+
|
|
1461
|
+
```ts
|
|
1462
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
1463
|
+
declare const cluster: ecs.Cluster;
|
|
1464
|
+
|
|
1465
|
+
const service = new ecs.Ec2Service(this, 'Service', {
|
|
1466
|
+
cluster,
|
|
1467
|
+
taskDefinition,
|
|
1468
|
+
cloudMapOptions: {
|
|
1469
|
+
// Create A records - useful for AWSVPC network mode.
|
|
1470
|
+
dnsRecordType: cloudmap.DnsRecordType.A,
|
|
1471
|
+
},
|
|
1472
|
+
});
|
|
1473
|
+
```
|
|
1474
|
+
|
|
1475
|
+
With `bridge` or `host` network modes, only `SRV` DNS record types are supported.
|
|
1476
|
+
By default, `SRV` DNS record types will target the default container and default
|
|
1477
|
+
port. However, you may target a different container and port on the same ECS task:
|
|
1478
|
+
|
|
1479
|
+
```ts
|
|
1480
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
1481
|
+
declare const cluster: ecs.Cluster;
|
|
1482
|
+
|
|
1483
|
+
// Add a container to the task definition
|
|
1484
|
+
const specificContainer = taskDefinition.addContainer('Container', {
|
|
1485
|
+
image: ecs.ContainerImage.fromRegistry('/aws/aws-example-app'),
|
|
1486
|
+
memoryLimitMiB: 2048,
|
|
1487
|
+
});
|
|
1488
|
+
|
|
1489
|
+
// Add a port mapping
|
|
1490
|
+
specificContainer.addPortMappings({
|
|
1491
|
+
containerPort: 7600,
|
|
1492
|
+
protocol: ecs.Protocol.TCP,
|
|
1493
|
+
});
|
|
1494
|
+
|
|
1495
|
+
new ecs.Ec2Service(this, 'Service', {
|
|
1496
|
+
cluster,
|
|
1497
|
+
taskDefinition,
|
|
1498
|
+
minHealthyPercent: 100,
|
|
1499
|
+
cloudMapOptions: {
|
|
1500
|
+
// Create SRV records - useful for bridge networking
|
|
1501
|
+
dnsRecordType: cloudmap.DnsRecordType.SRV,
|
|
1502
|
+
// Targets port TCP port 7600 `specificContainer`
|
|
1503
|
+
container: specificContainer,
|
|
1504
|
+
containerPort: 7600,
|
|
1505
|
+
},
|
|
1506
|
+
});
|
|
1507
|
+
```
|
|
1508
|
+
|
|
1509
|
+
### Associate With a Specific CloudMap Service
|
|
1510
|
+
|
|
1511
|
+
You may associate an ECS service with a specific CloudMap service. To do
|
|
1512
|
+
this, use the service's `associateCloudMapService` method:
|
|
1513
|
+
|
|
1514
|
+
```ts
|
|
1515
|
+
declare const cloudMapService: cloudmap.Service;
|
|
1516
|
+
declare const ecsService: ecs.FargateService;
|
|
1517
|
+
|
|
1518
|
+
ecsService.associateCloudMapService({
|
|
1519
|
+
service: cloudMapService,
|
|
1520
|
+
});
|
|
1521
|
+
```
|
|
1522
|
+
|
|
1523
|
+
## Capacity Providers
|
|
1524
|
+
|
|
1525
|
+
There are two major families of Capacity Providers: [AWS
|
|
1526
|
+
Fargate](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-capacity-providers.html)
|
|
1527
|
+
(including Fargate Spot) and EC2 [Auto Scaling
|
|
1528
|
+
Group](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/asg-capacity-providers.html)
|
|
1529
|
+
Capacity Providers. Both are supported.
|
|
1530
|
+
|
|
1531
|
+
### Fargate Capacity Providers
|
|
1532
|
+
|
|
1533
|
+
To enable Fargate capacity providers, you can either set
|
|
1534
|
+
`enableFargateCapacityProviders` to `true` when creating your cluster, or by
|
|
1535
|
+
invoking the `enableFargateCapacityProviders()` method after creating your
|
|
1536
|
+
cluster. This will add both `FARGATE` and `FARGATE_SPOT` as available capacity
|
|
1537
|
+
providers on your cluster.
|
|
1538
|
+
|
|
1539
|
+
```ts
|
|
1540
|
+
declare const vpc: ec2.Vpc;
|
|
1541
|
+
|
|
1542
|
+
const cluster = new ecs.Cluster(this, 'FargateCPCluster', {
|
|
1543
|
+
vpc,
|
|
1544
|
+
enableFargateCapacityProviders: true,
|
|
1545
|
+
});
|
|
1546
|
+
|
|
1547
|
+
const taskDefinition = new ecs.FargateTaskDefinition(this, 'TaskDef');
|
|
1548
|
+
|
|
1549
|
+
taskDefinition.addContainer('web', {
|
|
1550
|
+
image: ecs.ContainerImage.fromRegistry('amazon/amazon-ecs-sample'),
|
|
1551
|
+
});
|
|
1552
|
+
|
|
1553
|
+
new ecs.FargateService(this, 'FargateService', {
|
|
1554
|
+
cluster,
|
|
1555
|
+
taskDefinition,
|
|
1556
|
+
minHealthyPercent: 100,
|
|
1557
|
+
capacityProviderStrategies: [
|
|
1558
|
+
{
|
|
1559
|
+
capacityProvider: 'FARGATE_SPOT',
|
|
1560
|
+
weight: 2,
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
capacityProvider: 'FARGATE',
|
|
1564
|
+
weight: 1,
|
|
1565
|
+
},
|
|
1566
|
+
],
|
|
1567
|
+
});
|
|
1568
|
+
```
|
|
1569
|
+
|
|
1570
|
+
### Auto Scaling Group Capacity Providers
|
|
1571
|
+
|
|
1572
|
+
To add an Auto Scaling Group Capacity Provider, first create an EC2 Auto Scaling
|
|
1573
|
+
Group. Then, create an `AsgCapacityProvider` and pass the Auto Scaling Group to
|
|
1574
|
+
it in the constructor. Then add the Capacity Provider to the cluster. Finally,
|
|
1575
|
+
you can refer to the Provider by its name in your service's or task's Capacity
|
|
1576
|
+
Provider strategy.
|
|
1577
|
+
|
|
1578
|
+
By default, Auto Scaling Group Capacity Providers will manage the scale-in and
|
|
1579
|
+
scale-out behavior of the auto scaling group based on the load your tasks put on
|
|
1580
|
+
the cluster, this is called [Managed Scaling](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/asg-capacity-providers.html#asg-capacity-providers-managed-scaling). If you'd
|
|
1581
|
+
rather manage scaling behavior yourself set `enableManagedScaling` to `false`.
|
|
1582
|
+
|
|
1583
|
+
Additionally [Managed Termination Protection](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-auto-scaling.html#managed-termination-protection) is enabled by default to
|
|
1584
|
+
prevent scale-in behavior from terminating instances that have non-daemon tasks
|
|
1585
|
+
running on them. This is ideal for tasks that can be run to completion. If your
|
|
1586
|
+
tasks are safe to interrupt then this protection can be disabled by setting
|
|
1587
|
+
`enableManagedTerminationProtection` to `false`. Managed Scaling must be enabled for
|
|
1588
|
+
Managed Termination Protection to work.
|
|
1589
|
+
|
|
1590
|
+
> Currently there is a known [CloudFormation issue](https://github.com/aws/containers-roadmap/issues/631)
|
|
1591
|
+
> that prevents CloudFormation from automatically deleting Auto Scaling Groups that
|
|
1592
|
+
> have Managed Termination Protection enabled. To work around this issue you could set
|
|
1593
|
+
> `enableManagedTerminationProtection` to `false` on the Auto Scaling Group Capacity
|
|
1594
|
+
> Provider. If you'd rather not disable Managed Termination Protection, you can [manually
|
|
1595
|
+
> delete the Auto Scaling Group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-process-shutdown.html).
|
|
1596
|
+
> For other workarounds, see [this GitHub issue](https://github.com/aws/aws-cdk/issues/18179).
|
|
1597
|
+
|
|
1598
|
+
Managed instance draining facilitates graceful termination of Amazon ECS instances.
|
|
1599
|
+
This allows your service workloads to stop safely and be rescheduled to non-terminating instances.
|
|
1600
|
+
Infrastructure maintenance and updates are preformed without disruptions to workloads.
|
|
1601
|
+
To use managed instance draining, set enableManagedDraining to true.
|
|
1602
|
+
|
|
1603
|
+
```ts
|
|
1604
|
+
declare const vpc: ec2.Vpc;
|
|
1605
|
+
|
|
1606
|
+
const cluster = new ecs.Cluster(this, 'Cluster', {
|
|
1607
|
+
vpc,
|
|
1608
|
+
});
|
|
1609
|
+
|
|
1610
|
+
const autoScalingGroup = new autoscaling.AutoScalingGroup(this, 'ASG', {
|
|
1611
|
+
vpc,
|
|
1612
|
+
instanceType: new ec2.InstanceType('t2.micro'),
|
|
1613
|
+
machineImage: ecs.EcsOptimizedImage.amazonLinux2(),
|
|
1614
|
+
minCapacity: 0,
|
|
1615
|
+
maxCapacity: 100,
|
|
1616
|
+
});
|
|
1617
|
+
|
|
1618
|
+
const capacityProvider = new ecs.AsgCapacityProvider(this, 'AsgCapacityProvider', {
|
|
1619
|
+
autoScalingGroup,
|
|
1620
|
+
instanceWarmupPeriod: 300,
|
|
1621
|
+
});
|
|
1622
|
+
cluster.addAsgCapacityProvider(capacityProvider);
|
|
1623
|
+
|
|
1624
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
|
|
1625
|
+
|
|
1626
|
+
taskDefinition.addContainer('web', {
|
|
1627
|
+
image: ecs.ContainerImage.fromRegistry('amazon/amazon-ecs-sample'),
|
|
1628
|
+
memoryReservationMiB: 256,
|
|
1629
|
+
});
|
|
1630
|
+
|
|
1631
|
+
new ecs.Ec2Service(this, 'EC2Service', {
|
|
1632
|
+
cluster,
|
|
1633
|
+
taskDefinition,
|
|
1634
|
+
minHealthyPercent: 100,
|
|
1635
|
+
capacityProviderStrategies: [
|
|
1636
|
+
{
|
|
1637
|
+
capacityProvider: capacityProvider.capacityProviderName,
|
|
1638
|
+
weight: 1,
|
|
1639
|
+
},
|
|
1640
|
+
],
|
|
1641
|
+
});
|
|
1642
|
+
```
|
|
1643
|
+
|
|
1644
|
+
### Cluster Default Provider Strategy
|
|
1645
|
+
|
|
1646
|
+
A capacity provider strategy determines whether ECS tasks are launched on EC2 instances or Fargate/Fargate Spot. It can be specified at the cluster, service, or task level, and consists of one or more capacity providers. You can specify an optional base and weight value for finer control of how tasks are launched. The `base` specifies a minimum number of tasks on one capacity provider, and the `weight`s of each capacity provider determine how tasks are distributed after `base` is satisfied.
|
|
1647
|
+
|
|
1648
|
+
You can associate a default capacity provider strategy with an Amazon ECS cluster. After you do this, a default capacity provider strategy is used when creating a service or running a standalone task in the cluster and whenever a custom capacity provider strategy or a launch type isn't specified. We recommend that you define a default capacity provider strategy for each cluster.
|
|
1649
|
+
|
|
1650
|
+
For more information visit https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-capacity-providers.html
|
|
1651
|
+
|
|
1652
|
+
When the service does not have a capacity provider strategy, the cluster's default capacity provider strategy will be used. Default Capacity Provider Strategy can be added by using the method `addDefaultCapacityProviderStrategy`. A capacity provider strategy cannot contain a mix of EC2 Autoscaling Group capacity providers and Fargate providers.
|
|
1653
|
+
|
|
1654
|
+
```ts
|
|
1655
|
+
declare const capacityProvider: ecs.AsgCapacityProvider;
|
|
1656
|
+
|
|
1657
|
+
const cluster = new ecs.Cluster(this, 'EcsCluster', {
|
|
1658
|
+
enableFargateCapacityProviders: true,
|
|
1659
|
+
});
|
|
1660
|
+
cluster.addAsgCapacityProvider(capacityProvider);
|
|
1661
|
+
|
|
1662
|
+
cluster.addDefaultCapacityProviderStrategy([
|
|
1663
|
+
{ capacityProvider: 'FARGATE', base: 10, weight: 50 },
|
|
1664
|
+
{ capacityProvider: 'FARGATE_SPOT', weight: 50 },
|
|
1665
|
+
]);
|
|
1666
|
+
```
|
|
1667
|
+
|
|
1668
|
+
```ts
|
|
1669
|
+
declare const capacityProvider: ecs.AsgCapacityProvider;
|
|
1670
|
+
|
|
1671
|
+
const cluster = new ecs.Cluster(this, 'EcsCluster', {
|
|
1672
|
+
enableFargateCapacityProviders: true,
|
|
1673
|
+
});
|
|
1674
|
+
cluster.addAsgCapacityProvider(capacityProvider);
|
|
1675
|
+
|
|
1676
|
+
cluster.addDefaultCapacityProviderStrategy([
|
|
1677
|
+
{ capacityProvider: capacityProvider.capacityProviderName },
|
|
1678
|
+
]);
|
|
1679
|
+
```
|
|
1680
|
+
|
|
1681
|
+
## Elastic Inference Accelerators
|
|
1682
|
+
|
|
1683
|
+
Currently, this feature is only supported for services with EC2 launch types.
|
|
1684
|
+
|
|
1685
|
+
To add elastic inference accelerators to your EC2 instance, first add
|
|
1686
|
+
`inferenceAccelerators` field to the Ec2TaskDefinition and set the `deviceName`
|
|
1687
|
+
and `deviceType` properties.
|
|
1688
|
+
|
|
1689
|
+
```ts
|
|
1690
|
+
const inferenceAccelerators = [{
|
|
1691
|
+
deviceName: 'device1',
|
|
1692
|
+
deviceType: 'eia2.medium',
|
|
1693
|
+
}];
|
|
1694
|
+
|
|
1695
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'Ec2TaskDef', {
|
|
1696
|
+
inferenceAccelerators,
|
|
1697
|
+
});
|
|
1698
|
+
```
|
|
1699
|
+
|
|
1700
|
+
To enable using the inference accelerators in the containers, add `inferenceAcceleratorResources`
|
|
1701
|
+
field and set it to a list of device names used for the inference accelerators. Each value in the
|
|
1702
|
+
list should match a `DeviceName` for an `InferenceAccelerator` specified in the task definition.
|
|
1703
|
+
|
|
1704
|
+
```ts
|
|
1705
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
1706
|
+
const inferenceAcceleratorResources = ['device1'];
|
|
1707
|
+
|
|
1708
|
+
taskDefinition.addContainer('cont', {
|
|
1709
|
+
image: ecs.ContainerImage.fromRegistry('test'),
|
|
1710
|
+
memoryLimitMiB: 1024,
|
|
1711
|
+
inferenceAcceleratorResources,
|
|
1712
|
+
});
|
|
1713
|
+
```
|
|
1714
|
+
|
|
1715
|
+
## ECS Exec command
|
|
1716
|
+
|
|
1717
|
+
Please note, ECS Exec leverages AWS Systems Manager (SSM). So as a prerequisite for the exec command
|
|
1718
|
+
to work, you need to have the SSM plugin for the AWS CLI installed locally. For more information, see
|
|
1719
|
+
[Install Session Manager plugin for AWS CLI](https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html).
|
|
1720
|
+
|
|
1721
|
+
To enable the ECS Exec feature for your containers, set the boolean flag `enableExecuteCommand` to `true` in
|
|
1722
|
+
your `Ec2Service`, `FargateService` or `ExternalService`.
|
|
1723
|
+
|
|
1724
|
+
```ts
|
|
1725
|
+
declare const cluster: ecs.Cluster;
|
|
1726
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
1727
|
+
|
|
1728
|
+
const service = new ecs.Ec2Service(this, 'Service', {
|
|
1729
|
+
cluster,
|
|
1730
|
+
taskDefinition,
|
|
1731
|
+
minHealthyPercent: 100,
|
|
1732
|
+
enableExecuteCommand: true,
|
|
1733
|
+
});
|
|
1734
|
+
```
|
|
1735
|
+
|
|
1736
|
+
### Enabling logging
|
|
1737
|
+
|
|
1738
|
+
You can enable sending logs of your execute session commands to a CloudWatch log group or S3 bucket by configuring
|
|
1739
|
+
the `executeCommandConfiguration` property for your cluster. The default configuration will send the
|
|
1740
|
+
logs to the CloudWatch Logs using the `awslogs` log driver that is configured in your task definition. Please note,
|
|
1741
|
+
when using your own `logConfiguration` the log group or S3 Bucket specified must already be created.
|
|
1742
|
+
|
|
1743
|
+
To encrypt data using your own KMS Customer Key (CMK), you must create a CMK and provide the key in the `kmsKey` field
|
|
1744
|
+
of the `executeCommandConfiguration`. To use this key for encrypting CloudWatch log data or S3 bucket, make sure to associate the key
|
|
1745
|
+
to these resources on creation.
|
|
1746
|
+
|
|
1747
|
+
```ts
|
|
1748
|
+
declare const vpc: ec2.Vpc;
|
|
1749
|
+
const kmsKey = new kms.Key(this, 'KmsKey');
|
|
1750
|
+
|
|
1751
|
+
// Pass the KMS key in the `encryptionKey` field to associate the key to the log group
|
|
1752
|
+
const logGroup = new logs.LogGroup(this, 'LogGroup', {
|
|
1753
|
+
encryptionKey: kmsKey,
|
|
1754
|
+
});
|
|
1755
|
+
|
|
1756
|
+
// Pass the KMS key in the `encryptionKey` field to associate the key to the S3 bucket
|
|
1757
|
+
const execBucket = new s3.Bucket(this, 'EcsExecBucket', {
|
|
1758
|
+
encryptionKey: kmsKey,
|
|
1759
|
+
});
|
|
1760
|
+
|
|
1761
|
+
const cluster = new ecs.Cluster(this, 'Cluster', {
|
|
1762
|
+
vpc,
|
|
1763
|
+
executeCommandConfiguration: {
|
|
1764
|
+
kmsKey,
|
|
1765
|
+
logConfiguration: {
|
|
1766
|
+
cloudWatchLogGroup: logGroup,
|
|
1767
|
+
cloudWatchEncryptionEnabled: true,
|
|
1768
|
+
s3Bucket: execBucket,
|
|
1769
|
+
s3EncryptionEnabled: true,
|
|
1770
|
+
s3KeyPrefix: 'exec-command-output',
|
|
1771
|
+
},
|
|
1772
|
+
logging: ecs.ExecuteCommandLogging.OVERRIDE,
|
|
1773
|
+
},
|
|
1774
|
+
});
|
|
1775
|
+
```
|
|
1776
|
+
|
|
1777
|
+
## Amazon ECS Service Connect
|
|
1778
|
+
|
|
1779
|
+
Service Connect is a managed AWS mesh network offering. It simplifies DNS queries and inter-service communication for
|
|
1780
|
+
ECS Services by allowing customers to set up simple DNS aliases for their services, which are accessible to all
|
|
1781
|
+
services that have enabled Service Connect.
|
|
1782
|
+
|
|
1783
|
+
To enable Service Connect, you must have created a CloudMap namespace. The CDK can infer your cluster's default CloudMap namespace,
|
|
1784
|
+
or you can specify a custom namespace. You must also have created a named port mapping on at least one container in your Task Definition.
|
|
1785
|
+
|
|
1786
|
+
```ts
|
|
1787
|
+
declare const cluster: ecs.Cluster;
|
|
1788
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
1789
|
+
declare const containerOptions: ecs.ContainerDefinitionOptions;
|
|
1790
|
+
|
|
1791
|
+
const container = taskDefinition.addContainer('MyContainer', containerOptions);
|
|
1792
|
+
|
|
1793
|
+
container.addPortMappings({
|
|
1794
|
+
name: 'api',
|
|
1795
|
+
containerPort: 8080,
|
|
1796
|
+
});
|
|
1797
|
+
|
|
1798
|
+
cluster.addDefaultCloudMapNamespace({
|
|
1799
|
+
name: 'local',
|
|
1800
|
+
});
|
|
1801
|
+
|
|
1802
|
+
const service = new ecs.FargateService(this, 'Service', {
|
|
1803
|
+
cluster,
|
|
1804
|
+
taskDefinition,
|
|
1805
|
+
minHealthyPercent: 100,
|
|
1806
|
+
serviceConnectConfiguration: {
|
|
1807
|
+
services: [
|
|
1808
|
+
{
|
|
1809
|
+
portMappingName: 'api',
|
|
1810
|
+
dnsName: 'http-api',
|
|
1811
|
+
port: 80,
|
|
1812
|
+
},
|
|
1813
|
+
],
|
|
1814
|
+
},
|
|
1815
|
+
});
|
|
1816
|
+
```
|
|
1817
|
+
|
|
1818
|
+
Service Connect-enabled services may now reach this service at `http-api:80`. Traffic to this endpoint will
|
|
1819
|
+
be routed to the container's port 8080.
|
|
1820
|
+
|
|
1821
|
+
To opt a service into using service connect without advertising a port, simply call the 'enableServiceConnect' method on an initialized service.
|
|
1822
|
+
|
|
1823
|
+
```ts
|
|
1824
|
+
declare const cluster: ecs.Cluster;
|
|
1825
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
1826
|
+
|
|
1827
|
+
const service = new ecs.FargateService(this, 'Service', {
|
|
1828
|
+
cluster,
|
|
1829
|
+
taskDefinition,
|
|
1830
|
+
minHealthyPercent: 100,
|
|
1831
|
+
});
|
|
1832
|
+
service.enableServiceConnect();
|
|
1833
|
+
```
|
|
1834
|
+
|
|
1835
|
+
Service Connect also allows custom logging, Service Discovery name, and configuration of the port where service connect traffic is received.
|
|
1836
|
+
|
|
1837
|
+
```ts
|
|
1838
|
+
declare const cluster: ecs.Cluster;
|
|
1839
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
1840
|
+
|
|
1841
|
+
const customService = new ecs.FargateService(this, 'CustomizedService', {
|
|
1842
|
+
cluster,
|
|
1843
|
+
taskDefinition,
|
|
1844
|
+
minHealthyPercent: 100,
|
|
1845
|
+
serviceConnectConfiguration: {
|
|
1846
|
+
logDriver: ecs.LogDrivers.awsLogs({
|
|
1847
|
+
streamPrefix: 'sc-traffic',
|
|
1848
|
+
}),
|
|
1849
|
+
services: [
|
|
1850
|
+
{
|
|
1851
|
+
portMappingName: 'api',
|
|
1852
|
+
dnsName: 'customized-api',
|
|
1853
|
+
port: 80,
|
|
1854
|
+
ingressPortOverride: 20040,
|
|
1855
|
+
discoveryName: 'custom',
|
|
1856
|
+
},
|
|
1857
|
+
],
|
|
1858
|
+
},
|
|
1859
|
+
});
|
|
1860
|
+
```
|
|
1861
|
+
|
|
1862
|
+
To set a timeout for service connect, use `idleTimeout` and `perRequestTimeout`.
|
|
1863
|
+
|
|
1864
|
+
**Note**: If `idleTimeout` is set to a time that is less than `perRequestTimeout`, the connection will close when
|
|
1865
|
+
the `idleTimeout` is reached and not the `perRequestTimeout`.
|
|
1866
|
+
|
|
1867
|
+
```ts
|
|
1868
|
+
declare const cluster: ecs.Cluster;
|
|
1869
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
1870
|
+
|
|
1871
|
+
const service = new ecs.FargateService(this, 'Service', {
|
|
1872
|
+
cluster,
|
|
1873
|
+
taskDefinition,
|
|
1874
|
+
minHealthyPercent: 100,
|
|
1875
|
+
serviceConnectConfiguration: {
|
|
1876
|
+
services: [
|
|
1877
|
+
{
|
|
1878
|
+
portMappingName: 'api',
|
|
1879
|
+
idleTimeout: Duration.minutes(5),
|
|
1880
|
+
perRequestTimeout: Duration.minutes(5),
|
|
1881
|
+
},
|
|
1882
|
+
],
|
|
1883
|
+
},
|
|
1884
|
+
});
|
|
1885
|
+
```
|
|
1886
|
+
|
|
1887
|
+
> Visit [Amazon ECS support for configurable timeout for services running with Service Connect](https://aws.amazon.com/about-aws/whats-new/2024/01/amazon-ecs-configurable-timeout-service-connect/) for more details.
|
|
1888
|
+
|
|
1889
|
+
## ServiceManagedVolume
|
|
1890
|
+
|
|
1891
|
+
Amazon ECS now supports the attachment of Amazon Elastic Block Store (EBS) volumes to ECS tasks,
|
|
1892
|
+
allowing you to utilize persistent, high-performance block storage with your ECS services.
|
|
1893
|
+
This feature supports various use cases, such as using EBS volumes as extended ephemeral storage or
|
|
1894
|
+
loading data from EBS snapshots.
|
|
1895
|
+
You can also specify `encrypted: true` so that ECS will manage the KMS key. If you want to use your own KMS key, you may do so by providing both `encrypted: true` and `kmsKeyId`.
|
|
1896
|
+
|
|
1897
|
+
You can only attach a single volume for each task in the ECS Service.
|
|
1898
|
+
|
|
1899
|
+
To add an empty EBS Volume to an ECS Service, call service.addVolume().
|
|
1900
|
+
|
|
1901
|
+
```ts
|
|
1902
|
+
declare const cluster: ecs.Cluster;
|
|
1903
|
+
const taskDefinition = new ecs.FargateTaskDefinition(this, 'TaskDef');
|
|
1904
|
+
|
|
1905
|
+
const container = taskDefinition.addContainer('web', {
|
|
1906
|
+
image: ecs.ContainerImage.fromRegistry('amazon/amazon-ecs-sample'),
|
|
1907
|
+
portMappings: [{
|
|
1908
|
+
containerPort: 80,
|
|
1909
|
+
protocol: ecs.Protocol.TCP,
|
|
1910
|
+
}],
|
|
1911
|
+
});
|
|
1912
|
+
|
|
1913
|
+
const volume = new ecs.ServiceManagedVolume(this, 'EBSVolume', {
|
|
1914
|
+
name: 'ebs1',
|
|
1915
|
+
managedEBSVolume: {
|
|
1916
|
+
size: Size.gibibytes(15),
|
|
1917
|
+
volumeType: ec2.EbsDeviceVolumeType.GP3,
|
|
1918
|
+
fileSystemType: ecs.FileSystemType.XFS,
|
|
1919
|
+
tagSpecifications: [{
|
|
1920
|
+
tags: {
|
|
1921
|
+
purpose: 'production',
|
|
1922
|
+
},
|
|
1923
|
+
propagateTags: ecs.EbsPropagatedTagSource.SERVICE,
|
|
1924
|
+
}],
|
|
1925
|
+
},
|
|
1926
|
+
});
|
|
1927
|
+
|
|
1928
|
+
volume.mountIn(container, {
|
|
1929
|
+
containerPath: '/var/lib',
|
|
1930
|
+
readOnly: false,
|
|
1931
|
+
});
|
|
1932
|
+
|
|
1933
|
+
taskDefinition.addVolume(volume);
|
|
1934
|
+
|
|
1935
|
+
const service = new ecs.FargateService(this, 'FargateService', {
|
|
1936
|
+
cluster,
|
|
1937
|
+
taskDefinition,
|
|
1938
|
+
minHealthyPercent: 100,
|
|
1939
|
+
});
|
|
1940
|
+
|
|
1941
|
+
service.addVolume(volume);
|
|
1942
|
+
```
|
|
1943
|
+
|
|
1944
|
+
To create an EBS volume from an existing snapshot by specifying the `snapShotId` while adding a volume to the service.
|
|
1945
|
+
|
|
1946
|
+
```ts
|
|
1947
|
+
declare const container: ecs.ContainerDefinition;
|
|
1948
|
+
declare const cluster: ecs.Cluster;
|
|
1949
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
1950
|
+
|
|
1951
|
+
const volumeFromSnapshot = new ecs.ServiceManagedVolume(this, 'EBSVolume', {
|
|
1952
|
+
name: 'nginx-vol',
|
|
1953
|
+
managedEBSVolume: {
|
|
1954
|
+
snapShotId: 'snap-066877671789bd71b',
|
|
1955
|
+
volumeType: ec2.EbsDeviceVolumeType.GP3,
|
|
1956
|
+
fileSystemType: ecs.FileSystemType.XFS,
|
|
1957
|
+
},
|
|
1958
|
+
});
|
|
1959
|
+
|
|
1960
|
+
volumeFromSnapshot.mountIn(container, {
|
|
1961
|
+
containerPath: '/var/lib',
|
|
1962
|
+
readOnly: false,
|
|
1963
|
+
});
|
|
1964
|
+
taskDefinition.addVolume(volumeFromSnapshot);
|
|
1965
|
+
const service = new ecs.FargateService(this, 'FargateService', {
|
|
1966
|
+
cluster,
|
|
1967
|
+
taskDefinition,
|
|
1968
|
+
minHealthyPercent: 100,
|
|
1969
|
+
});
|
|
1970
|
+
|
|
1971
|
+
service.addVolume(volumeFromSnapshot);
|
|
1972
|
+
```
|
|
1973
|
+
|
|
1974
|
+
## Enable pseudo-terminal (TTY) allocation
|
|
1975
|
+
|
|
1976
|
+
You can allocate a pseudo-terminal (TTY) for a container passing `pseudoTerminal` option while adding the container
|
|
1977
|
+
to the task definition.
|
|
1978
|
+
This maps to Tty option in the ["Create a container section"](https://docs.docker.com/engine/api/v1.38/#operation/ContainerCreate)
|
|
1979
|
+
of the [Docker Remote API](https://docs.docker.com/engine/api/v1.38/) and the --tty option to [`docker run`](https://docs.docker.com/engine/reference/commandline/run/).
|
|
1980
|
+
|
|
1981
|
+
```ts
|
|
1982
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
|
|
1983
|
+
taskDefinition.addContainer('TheContainer', {
|
|
1984
|
+
image: ecs.ContainerImage.fromRegistry('example-image'),
|
|
1985
|
+
pseudoTerminal: true
|
|
1986
|
+
});
|
|
1987
|
+
```
|
|
1988
|
+
|
|
1989
|
+
## Disable service container image version consistency
|
|
1990
|
+
|
|
1991
|
+
You can disable the
|
|
1992
|
+
[container image "version consistency"](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html#deployment-container-image-stability)
|
|
1993
|
+
feature of ECS service deployments on a per-container basis.
|
|
1994
|
+
|
|
1995
|
+
```ts
|
|
1996
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
|
|
1997
|
+
taskDefinition.addContainer('TheContainer', {
|
|
1998
|
+
image: ecs.ContainerImage.fromRegistry('example-image'),
|
|
1999
|
+
versionConsistency: ecs.VersionConsistency.DISABLED,
|
|
2000
|
+
});
|
|
2001
|
+
```
|
|
2002
|
+
|
|
2003
|
+
## Specify a container ulimit
|
|
2004
|
+
|
|
2005
|
+
You can specify a container `ulimits` by specifying them in the `ulimits` option while adding the container
|
|
2006
|
+
to the task definition.
|
|
2007
|
+
|
|
2008
|
+
```ts
|
|
2009
|
+
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
|
|
2010
|
+
taskDefinition.addContainer('TheContainer', {
|
|
2011
|
+
image: ecs.ContainerImage.fromRegistry('example-image'),
|
|
2012
|
+
ulimits: [{
|
|
2013
|
+
hardLimit: 128,
|
|
2014
|
+
name: ecs.UlimitName.RSS,
|
|
2015
|
+
softLimit: 128,
|
|
2016
|
+
}],
|
|
2017
|
+
});
|
|
2018
|
+
```
|
|
2019
|
+
|
|
2020
|
+
## Service Connect TLS
|
|
2021
|
+
|
|
2022
|
+
Service Connect TLS is a feature that allows you to secure the communication between services using TLS.
|
|
2023
|
+
|
|
2024
|
+
You can specify the `tls` option in the `services` array of the `serviceConnectConfiguration` property.
|
|
2025
|
+
|
|
2026
|
+
The `tls` property is an object with the following properties:
|
|
2027
|
+
|
|
2028
|
+
- `role`: The IAM role that's associated with the Service Connect TLS.
|
|
2029
|
+
- `awsPcaAuthorityArn`: The ARN of the certificate root authority that secures your service.
|
|
2030
|
+
- `kmsKey`: The KMS key used for encryption and decryption.
|
|
2031
|
+
|
|
2032
|
+
```ts
|
|
2033
|
+
declare const cluster: ecs.Cluster;
|
|
2034
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
2035
|
+
declare const kmsKey: kms.IKey;
|
|
2036
|
+
declare const role: iam.IRole;
|
|
2037
|
+
|
|
2038
|
+
const service = new ecs.FargateService(this, 'FargateService', {
|
|
2039
|
+
cluster,
|
|
2040
|
+
taskDefinition,
|
|
2041
|
+
serviceConnectConfiguration: {
|
|
2042
|
+
services: [
|
|
2043
|
+
{
|
|
2044
|
+
tls: {
|
|
2045
|
+
role,
|
|
2046
|
+
kmsKey,
|
|
2047
|
+
awsPcaAuthorityArn: 'arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/123456789012',
|
|
2048
|
+
},
|
|
2049
|
+
portMappingName: 'api',
|
|
2050
|
+
},
|
|
2051
|
+
],
|
|
2052
|
+
namespace: 'sample namespace',
|
|
2053
|
+
},
|
|
2054
|
+
});
|
|
2055
|
+
```
|
|
2056
|
+
|
|
2057
|
+
## Daemon scheduling strategy
|
|
2058
|
+
You can specify whether service use Daemon scheduling strategy by specifying `daemon` option in Service constructs. See [differences between Daemon and Replica scheduling strategy](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html)
|
|
2059
|
+
|
|
2060
|
+
```ts
|
|
2061
|
+
declare const cluster: ecs.Cluster;
|
|
2062
|
+
declare const taskDefinition: ecs.TaskDefinition;
|
|
2063
|
+
|
|
2064
|
+
new ecs.Ec2Service(this, 'Ec2Service', {
|
|
2065
|
+
cluster,
|
|
2066
|
+
taskDefinition,
|
|
2067
|
+
daemon: true,
|
|
2068
|
+
});
|
|
2069
|
+
|
|
2070
|
+
new ecs.ExternalService(this, 'ExternalService', {
|
|
2071
|
+
cluster,
|
|
2072
|
+
taskDefinition,
|
|
2073
|
+
daemon: true,
|
|
2074
|
+
});
|
|
2075
|
+
```
|