terraconstructs 0.0.24 → 0.1.0
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.
- package/.jsii +83665 -54911
- package/.mise.toml +1 -1
- package/.nvmrc +1 -1
- package/LICENSE +202 -674
- package/go.mod +9 -7
- package/go.sum +18 -14
- package/lib/asset-manager.d.ts +23 -0
- package/lib/asset-manager.js +3 -0
- package/lib/asset-staging.d.ts +178 -0
- package/lib/asset-staging.js +589 -0
- package/lib/assets.d.ts +359 -0
- package/lib/assets.js +55 -0
- package/lib/aws/arn.js +16 -15
- package/lib/aws/aws-asset-manager.d.ts +91 -0
- package/lib/aws/aws-asset-manager.js +244 -0
- package/lib/aws/aws-construct.js +1 -1
- package/lib/aws/aws-stack.d.ts +37 -0
- package/lib/aws/aws-stack.js +30 -9
- package/lib/aws/aws-tags.js +2 -2
- package/lib/aws/cloudwatch/actions/appscaling.d.ts +15 -0
- package/lib/aws/cloudwatch/actions/appscaling.js +24 -0
- package/lib/aws/cloudwatch/actions/ec2.js +1 -1
- package/lib/aws/cloudwatch/actions/index.d.ts +3 -0
- package/lib/aws/cloudwatch/actions/index.js +4 -4
- package/lib/aws/cloudwatch/actions/lambda.js +1 -1
- package/lib/aws/cloudwatch/actions/sns.d.ts +14 -0
- package/lib/aws/cloudwatch/actions/sns.js +23 -0
- package/lib/aws/cloudwatch/actions/ssm.d.ts +72 -0
- package/lib/aws/cloudwatch/actions/ssm.js +104 -0
- package/lib/aws/cloudwatch/alarm-base.js +1 -1
- package/lib/aws/cloudwatch/alarm-rule.js +1 -1
- package/lib/aws/cloudwatch/alarm-status-widget.js +1 -1
- package/lib/aws/cloudwatch/alarm.js +1 -1
- package/lib/aws/cloudwatch/composite-alarm.js +1 -1
- package/lib/aws/cloudwatch/dashboard.js +1 -1
- package/lib/aws/cloudwatch/data-protection-policy.js +3 -3
- package/lib/aws/cloudwatch/graph.js +8 -8
- package/lib/aws/cloudwatch/layout.js +3 -3
- package/lib/aws/cloudwatch/log-destinations/kinesis.js +1 -1
- package/lib/aws/cloudwatch/log-destinations/lambda.js +1 -1
- package/lib/aws/cloudwatch/log-group.js +1 -1
- package/lib/aws/cloudwatch/log-query.js +1 -1
- package/lib/aws/cloudwatch/log-stream.js +1 -1
- package/lib/aws/cloudwatch/metric-filter.js +1 -1
- package/lib/aws/cloudwatch/metric.js +2 -2
- package/lib/aws/cloudwatch/pattern.js +3 -3
- package/lib/aws/cloudwatch/policy.js +1 -1
- package/lib/aws/cloudwatch/query-definition.js +2 -2
- package/lib/aws/cloudwatch/stats.js +1 -1
- package/lib/aws/cloudwatch/subscription-filter.js +1 -1
- package/lib/aws/cloudwatch/text.js +1 -1
- package/lib/aws/cloudwatch/variable.js +3 -3
- package/lib/aws/cloudwatch/widget.js +1 -1
- package/lib/aws/compute/access-log.d.ts +478 -0
- package/lib/aws/compute/access-log.js +649 -0
- package/lib/aws/compute/activity.js +1 -1
- package/lib/aws/compute/alb/application-listener-action.js +1 -1
- package/lib/aws/compute/alb/application-listener-certificate.js +1 -1
- package/lib/aws/compute/alb/application-listener-rule.js +1 -1
- package/lib/aws/compute/alb/application-listener.js +1 -1
- package/lib/aws/compute/alb/application-load-balancer.js +1 -1
- package/lib/aws/compute/alb/application-target-group.js +1 -1
- package/lib/aws/compute/alb/conditions.js +1 -1
- package/lib/aws/compute/alb/trust-store-revocation.js +1 -1
- package/lib/aws/compute/alb/trust-store.js +1 -1
- package/lib/aws/compute/api-definition.d.ts +106 -0
- package/lib/aws/compute/api-definition.js +200 -0
- package/lib/aws/compute/api-key.d.ts +184 -0
- package/lib/aws/compute/api-key.js +197 -0
- package/lib/aws/compute/apigateway-canned-metrics.generated.d.ts +169 -0
- package/lib/aws/compute/apigateway-canned-metrics.generated.js +63 -0
- package/lib/aws/compute/apigateway-util.d.ts +31 -0
- package/lib/aws/compute/apigateway-util.js +152 -0
- package/lib/aws/compute/architecture.js +1 -1
- package/lib/aws/compute/aspects/require-imdsv2-aspect.js +2 -2
- package/lib/aws/compute/authorizer.d.ts +35 -0
- package/lib/aws/compute/authorizer.js +28 -0
- package/lib/aws/compute/authorizers/identity-source.d.ts +37 -0
- package/lib/aws/compute/authorizers/identity-source.js +61 -0
- package/lib/aws/compute/authorizers/index.d.ts +2 -0
- package/lib/aws/compute/authorizers/index.js +20 -0
- package/lib/aws/compute/authorizers/lambda.d.ts +140 -0
- package/lib/aws/compute/authorizers/lambda.js +208 -0
- package/lib/aws/compute/base-path-mapping.d.ts +49 -0
- package/lib/aws/compute/base-path-mapping.js +52 -0
- package/lib/aws/compute/base-scalable-attribute.js +3 -3
- package/lib/aws/compute/bastion-host.js +1 -1
- package/lib/aws/compute/chain.js +1 -1
- package/lib/aws/compute/client-vpn-authorization-rule.js +1 -1
- package/lib/aws/compute/client-vpn-endpoint.js +2 -2
- package/lib/aws/compute/client-vpn-route.js +2 -2
- package/lib/aws/compute/code.d.ts +415 -0
- package/lib/aws/compute/code.js +424 -0
- package/lib/aws/compute/condition.js +1 -1
- package/lib/aws/compute/connections.js +1 -1
- package/lib/aws/compute/cors.d.ts +102 -0
- package/lib/aws/compute/cors.js +33 -0
- package/lib/aws/compute/deployment.d.ts +83 -0
- package/lib/aws/compute/deployment.js +158 -0
- package/lib/aws/compute/domain-name.d.ts +153 -0
- package/lib/aws/compute/domain-name.js +158 -0
- package/lib/aws/compute/event-invoke-config.d.ts +2 -2
- package/lib/aws/compute/event-invoke-config.js +4 -4
- package/lib/aws/compute/event-source-filter.js +2 -2
- package/lib/aws/compute/event-source-mapping.d.ts +2 -2
- package/lib/aws/compute/event-source-mapping.js +9 -7
- package/lib/aws/compute/event-sources/s3-onfailure-destination.js +1 -1
- package/lib/aws/compute/event-sources/s3.js +1 -1
- package/lib/aws/compute/event-sources/sqs-dlq.js +1 -1
- package/lib/aws/compute/event-sources/sqs.js +3 -2
- package/lib/aws/compute/fields.js +4 -4
- package/lib/aws/compute/function-alias.d.ts +1 -0
- package/lib/aws/compute/function-alias.js +8 -2
- package/lib/aws/compute/function-base.d.ts +15 -0
- package/lib/aws/compute/function-base.js +4 -4
- package/lib/aws/compute/function-destinations/event-bridge.js +1 -1
- package/lib/aws/compute/function-destinations/function.js +1 -1
- package/lib/aws/compute/function-destinations/sqs.js +1 -1
- package/lib/aws/compute/function-nodejs/bundling.d.ts +75 -0
- package/lib/aws/compute/function-nodejs/bundling.js +405 -0
- package/lib/aws/compute/function-nodejs/function.d.ts +99 -0
- package/lib/aws/compute/function-nodejs/function.js +175 -0
- package/lib/aws/compute/function-nodejs/index.d.ts +2 -0
- package/lib/aws/compute/function-nodejs/index.js +19 -0
- package/lib/aws/compute/function-nodejs/package-installation.d.ts +8 -0
- package/lib/aws/compute/function-nodejs/package-installation.js +36 -0
- package/lib/aws/compute/function-nodejs/package-manager.d.ts +33 -0
- package/lib/aws/compute/function-nodejs/package-manager.js +99 -0
- package/lib/aws/compute/function-nodejs/types.d.ts +410 -0
- package/lib/aws/compute/function-nodejs/types.js +81 -0
- package/lib/aws/compute/function-nodejs/util.d.ts +60 -0
- package/lib/aws/compute/function-nodejs/util.js +202 -0
- package/lib/aws/compute/function-url.d.ts +2 -2
- package/lib/aws/compute/function-url.js +4 -4
- package/lib/aws/compute/function.d.ts +34 -4
- package/lib/aws/compute/function.js +91 -17
- package/lib/aws/compute/gateway-response.d.ts +157 -0
- package/lib/aws/compute/gateway-response.js +156 -0
- package/lib/aws/compute/handler.d.ts +10 -0
- package/lib/aws/compute/handler.js +20 -0
- package/lib/aws/compute/index.d.ts +27 -0
- package/lib/aws/compute/index.js +29 -1
- package/lib/aws/compute/instance-types.js +1 -1
- package/lib/aws/compute/instance.js +1 -1
- package/lib/aws/compute/integration.d.ts +311 -0
- package/lib/aws/compute/integration.js +165 -0
- package/lib/aws/compute/integrations/aws.d.ts +72 -0
- package/lib/aws/compute/integrations/aws.js +55 -0
- package/lib/aws/compute/integrations/http.d.ts +37 -0
- package/lib/aws/compute/integrations/http.js +35 -0
- package/lib/aws/compute/integrations/index.d.ts +6 -0
- package/lib/aws/compute/integrations/index.js +24 -0
- package/lib/aws/compute/integrations/lambda.d.ts +40 -0
- package/lib/aws/compute/integrations/lambda.js +73 -0
- package/lib/aws/compute/integrations/mock.d.ts +16 -0
- package/lib/aws/compute/integrations/mock.js +30 -0
- package/lib/aws/compute/integrations/request-context.d.ts +144 -0
- package/lib/aws/compute/integrations/request-context.js +3 -0
- package/lib/aws/compute/integrations/stepfunctions.d.ts +102 -0
- package/lib/aws/compute/integrations/stepfunctions.js +268 -0
- package/lib/aws/compute/ip-addresses.js +2 -2
- package/lib/aws/compute/ipam.js +1 -1
- package/lib/aws/compute/json-schema.d.ts +75 -0
- package/lib/aws/compute/json-schema.js +23 -0
- package/lib/aws/compute/key-pair.js +1 -1
- package/lib/aws/compute/lambda-api.d.ts +46 -0
- package/lib/aws/compute/lambda-api.js +64 -0
- package/lib/aws/compute/launch-template.js +2 -2
- package/lib/aws/compute/lb-shared/base-listener.js +1 -1
- package/lib/aws/compute/lb-shared/base-load-balancer.js +2 -2
- package/lib/aws/compute/lb-shared/base-target-group.js +1 -1
- package/lib/aws/compute/lb-shared/listener-certificate.js +1 -1
- package/lib/aws/compute/lb-shared/load-balancer-targets.js +2 -2
- package/lib/aws/compute/lb-targets/alb-target.js +3 -3
- package/lib/aws/compute/lb-targets/instance-target.js +2 -2
- package/lib/aws/compute/lb-targets/ip-target.js +1 -1
- package/lib/aws/compute/lb-targets/lambda-target.js +1 -1
- package/lib/aws/compute/load-balancer.js +3 -3
- package/lib/aws/compute/machine-image/amazon-linux-2022.js +2 -2
- package/lib/aws/compute/machine-image/amazon-linux-2023.js +2 -2
- package/lib/aws/compute/machine-image/amazon-linux2.js +2 -2
- package/lib/aws/compute/machine-image/common.js +1 -1
- package/lib/aws/compute/machine-image/machine-image.js +8 -8
- package/lib/aws/compute/method.d.ts +219 -0
- package/lib/aws/compute/method.js +396 -0
- package/lib/aws/compute/methodresponse.d.ts +28 -0
- package/lib/aws/compute/methodresponse.js +3 -0
- package/lib/aws/compute/model.d.ts +143 -0
- package/lib/aws/compute/model.js +141 -0
- package/lib/aws/compute/nat.js +5 -5
- package/lib/aws/compute/network-acl-types.js +2 -2
- package/lib/aws/compute/network-acl.js +3 -3
- package/lib/aws/compute/nlb/network-listener-action.js +1 -1
- package/lib/aws/compute/nlb/network-listener.js +1 -1
- package/lib/aws/compute/nlb/network-load-balancer.js +1 -1
- package/lib/aws/compute/nlb/network-target-group.js +1 -1
- package/lib/aws/compute/peer.js +1 -1
- package/lib/aws/compute/placement-group.js +1 -1
- package/lib/aws/compute/port.js +1 -1
- package/lib/aws/compute/prefix-list.js +1 -1
- package/lib/aws/compute/requestvalidator.d.ts +50 -0
- package/lib/aws/compute/requestvalidator.js +59 -0
- package/lib/aws/compute/resource.d.ts +223 -0
- package/lib/aws/compute/resource.js +316 -0
- package/lib/aws/compute/restapi.d.ts +510 -0
- package/lib/aws/compute/restapi.js +626 -0
- package/lib/aws/compute/route.js +8 -8
- package/lib/aws/compute/runtime.d.ts +282 -0
- package/lib/aws/compute/runtime.js +337 -0
- package/lib/aws/compute/scalable-target.js +3 -3
- package/lib/aws/compute/schedule.js +3 -3
- package/lib/aws/compute/security-group.js +1 -1
- package/lib/aws/compute/stage.d.ts +350 -0
- package/lib/aws/compute/stage.js +304 -0
- package/lib/aws/compute/state-graph.js +1 -1
- package/lib/aws/compute/state-machine-fragment.js +1 -1
- package/lib/aws/compute/state-machine.js +4 -4
- package/lib/aws/compute/states/choice.js +1 -1
- package/lib/aws/compute/states/custom-state.js +1 -1
- package/lib/aws/compute/states/distributed-map/item-batcher.js +1 -1
- package/lib/aws/compute/states/distributed-map/item-reader.js +5 -5
- package/lib/aws/compute/states/distributed-map/result-writer.js +1 -1
- package/lib/aws/compute/states/distributed-map.js +1 -1
- package/lib/aws/compute/states/fail.js +1 -1
- package/lib/aws/compute/states/map-base.js +1 -1
- package/lib/aws/compute/states/map.js +1 -1
- package/lib/aws/compute/states/parallel.js +1 -1
- package/lib/aws/compute/states/pass.js +2 -2
- package/lib/aws/compute/states/state.js +1 -1
- package/lib/aws/compute/states/succeed.js +1 -1
- package/lib/aws/compute/states/task-base.js +2 -2
- package/lib/aws/compute/states/task.js +1 -1
- package/lib/aws/compute/states/wait.js +2 -2
- package/lib/aws/compute/step-scaling-action.js +3 -3
- package/lib/aws/compute/step-scaling-policy.js +1 -1
- package/lib/aws/compute/stepfunctions-api.d.ts +103 -0
- package/lib/aws/compute/stepfunctions-api.js +39 -0
- package/lib/aws/compute/subnet-v2.js +2 -2
- package/lib/aws/compute/subnet.js +1 -1
- package/lib/aws/compute/target-tracking-scaling-policy.js +3 -3
- package/lib/aws/compute/task-credentials.js +1 -1
- package/lib/aws/compute/task-input.js +1 -1
- package/lib/aws/compute/tasks/aws-sdk/call-aws-service.js +1 -1
- package/lib/aws/compute/tasks/eventbridge/put-events.js +1 -1
- package/lib/aws/compute/tasks/http/invoke.js +1 -1
- package/lib/aws/compute/tasks/lambda/invoke.js +1 -1
- package/lib/aws/compute/tasks/sqs/send-message.js +1 -1
- package/lib/aws/compute/tasks/stepfunctions/invoke-activity.js +1 -1
- package/lib/aws/compute/tasks/stepfunctions/start-execution.js +1 -1
- package/lib/aws/compute/types.js +1 -1
- package/lib/aws/compute/usage-plan.d.ts +194 -0
- package/lib/aws/compute/usage-plan.js +174 -0
- package/lib/aws/compute/user-data.js +3 -3
- package/lib/aws/compute/volume.js +2 -2
- package/lib/aws/compute/vpc-endpoint-service.js +1 -1
- package/lib/aws/compute/vpc-endpoint.js +6 -6
- package/lib/aws/compute/vpc-flow-logs.js +4 -4
- package/lib/aws/compute/vpc-link.d.ts +104 -0
- package/lib/aws/compute/vpc-link.js +137 -0
- package/lib/aws/compute/vpc-v2-base.js +1 -1
- package/lib/aws/compute/vpc-v2.js +2 -2
- package/lib/aws/compute/vpc.js +4 -4
- package/lib/aws/compute/vpn.js +3 -3
- package/lib/aws/edge/certificate.js +1 -1
- package/lib/aws/edge/distribution.js +3 -3
- package/lib/aws/edge/dns-alias-record-targets.js +3 -3
- package/lib/aws/edge/dns-record.js +13 -13
- package/lib/aws/edge/dns-zone.js +1 -1
- package/lib/aws/edge/function.js +2 -2
- package/lib/aws/edge/key-value-store.js +4 -4
- package/lib/aws/edge/origin.js +3 -3
- package/lib/aws/edge/response-headers-policy.js +1 -1
- package/lib/aws/encryption/alias.js +1 -1
- package/lib/aws/encryption/key.js +1 -1
- package/lib/aws/encryption/via-service-principal.js +1 -1
- package/lib/aws/iam/grant.js +2 -2
- package/lib/aws/iam/group.js +1 -1
- package/lib/aws/iam/instance-profile.js +1 -1
- package/lib/aws/iam/managed-policy.js +1 -1
- package/lib/aws/iam/oidc-provider.js +1 -1
- package/lib/aws/iam/policy-document.js +1 -1
- package/lib/aws/iam/policy-statement.js +1 -1
- package/lib/aws/iam/policy.js +1 -1
- package/lib/aws/iam/principals.js +20 -20
- package/lib/aws/iam/role.js +1 -1
- package/lib/aws/iam/saml-provider.js +2 -2
- package/lib/aws/iam/unknown-principal.js +1 -1
- package/lib/aws/iam/user.js +5 -5
- package/lib/aws/index.d.ts +1 -0
- package/lib/aws/index.js +4 -1
- package/lib/aws/network/simple-ipv4-vpc.js +1 -1
- package/lib/aws/network/subnet-group.js +3 -3
- package/lib/aws/network/subnet.js +4 -4
- package/lib/aws/notify/archive.js +1 -1
- package/lib/aws/notify/connection.js +3 -3
- package/lib/aws/notify/event-bus.js +3 -3
- package/lib/aws/notify/event-pattern.js +1 -1
- package/lib/aws/notify/input.js +2 -2
- package/lib/aws/notify/kinesis-stream.js +1 -1
- package/lib/aws/notify/notification-rule.d.ts +1 -1
- package/lib/aws/notify/notification-rule.js +5 -5
- package/lib/aws/notify/policy.js +1 -1
- package/lib/aws/notify/queue-policy.js +1 -1
- package/lib/aws/notify/queue.js +1 -1
- package/lib/aws/notify/resource-policy.js +1 -1
- package/lib/aws/notify/rule.js +1 -1
- package/lib/aws/notify/schedule.js +1 -1
- package/lib/aws/notify/subscription-filter.js +1 -1
- package/lib/aws/notify/subscription.js +4 -4
- package/lib/aws/notify/subscriptions/email.js +1 -1
- package/lib/aws/notify/subscriptions/lambda.js +1 -1
- package/lib/aws/notify/subscriptions/sms.js +1 -1
- package/lib/aws/notify/subscriptions/sqs.js +1 -1
- package/lib/aws/notify/subscriptions/url.js +1 -1
- package/lib/aws/notify/targets/event-bus.js +1 -1
- package/lib/aws/notify/targets/function.js +1 -1
- package/lib/aws/notify/targets/log-group.js +2 -2
- package/lib/aws/notify/targets/sqs.js +1 -1
- package/lib/aws/notify/targets/state-machine.js +1 -1
- package/lib/aws/notify/topic-base.js +1 -1
- package/lib/aws/notify/topic.js +6 -5
- package/lib/aws/partition.d.ts +21 -0
- package/lib/aws/partition.js +42 -0
- package/lib/aws/storage/assets/image-asset.d.ts +379 -0
- package/lib/aws/storage/assets/image-asset.js +247 -0
- package/lib/aws/storage/assets/index.d.ts +2 -0
- package/lib/aws/storage/assets/index.js +21 -0
- package/lib/aws/storage/assets/s3.d.ts +125 -0
- package/lib/aws/storage/assets/s3.js +80 -0
- package/lib/aws/storage/auth-token.d.ts +25 -0
- package/lib/aws/storage/auth-token.js +54 -0
- package/lib/aws/storage/billing.js +1 -1
- package/lib/aws/storage/bucket-notifications.js +1 -1
- package/lib/aws/storage/bucket-policy.js +1 -1
- package/lib/aws/storage/bucket-source.d.ts +1 -1
- package/lib/aws/storage/bucket-source.js +4 -4
- package/lib/aws/storage/bucket.d.ts +14 -6
- package/lib/aws/storage/bucket.js +48 -40
- package/lib/aws/storage/capacity.js +1 -1
- package/lib/aws/storage/ecr-lifecycle.d.ts +88 -0
- package/lib/aws/storage/ecr-lifecycle.js +23 -0
- package/lib/aws/storage/ecr-repository.d.ts +446 -0
- package/lib/aws/storage/ecr-repository.js +685 -0
- package/lib/aws/storage/encryption.js +1 -1
- package/lib/aws/storage/index.d.ts +5 -0
- package/lib/aws/storage/index.js +10 -3
- package/lib/aws/storage/location.d.ts +17 -0
- package/lib/aws/storage/location.js +4 -0
- package/lib/aws/storage/notification-targets/function.js +1 -1
- package/lib/aws/storage/notification-targets/queue.js +1 -1
- package/lib/aws/storage/origin-access-identity.js +1 -1
- package/lib/aws/storage/parameter.js +2 -2
- package/lib/aws/storage/table.js +3 -3
- package/lib/aws/storage/util.d.ts +8 -20
- package/lib/aws/storage/util.js +56 -34
- package/lib/aws/util.d.ts +1 -0
- package/lib/aws/util.js +6 -1
- package/lib/bundling.d.ts +434 -0
- package/lib/bundling.js +368 -0
- package/lib/construct-base.js +2 -2
- package/lib/duration.js +1 -1
- package/lib/expiration.js +1 -1
- package/lib/fs/copy.d.ts +2 -0
- package/lib/fs/copy.js +57 -0
- package/lib/fs/fingerprint.d.ts +21 -0
- package/lib/fs/fingerprint.js +165 -0
- package/lib/fs/ignore.d.ts +107 -0
- package/lib/fs/ignore.js +190 -0
- package/lib/fs/index.d.ts +47 -0
- package/lib/fs/index.js +88 -0
- package/lib/fs/options.d.ts +110 -0
- package/lib/fs/options.js +60 -0
- package/lib/fs/utils.d.ts +11 -0
- package/lib/fs/utils.js +34 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.js +7 -1
- package/lib/private/asset-staging.d.ts +83 -0
- package/lib/private/asset-staging.js +205 -0
- package/lib/private/cache.d.ts +17 -0
- package/lib/private/cache.js +35 -0
- package/lib/private/jsii-deprecated.d.ts +2 -0
- package/lib/private/jsii-deprecated.js +19 -0
- package/lib/private/unique-resource-name.js +3 -2
- package/lib/size.js +1 -1
- package/lib/stack-base.js +1 -1
- package/lib/terra-func.js +2 -2
- package/lib/time-zone.js +1 -1
- package/node_modules/@balena/dockerignore/CHANGELOG.md +31 -0
- package/node_modules/@balena/dockerignore/LICENSE.md +206 -0
- package/node_modules/@balena/dockerignore/README.md +261 -0
- package/node_modules/@balena/dockerignore/ignore.js +363 -0
- package/node_modules/@balena/dockerignore/index.d.ts +45 -0
- package/node_modules/@balena/dockerignore/package.json +49 -0
- package/node_modules/balanced-match/.github/FUNDING.yml +2 -0
- package/node_modules/balanced-match/LICENSE.md +21 -0
- package/node_modules/balanced-match/README.md +97 -0
- package/node_modules/balanced-match/index.js +62 -0
- package/node_modules/balanced-match/package.json +48 -0
- package/node_modules/concat-map/.travis.yml +4 -0
- package/node_modules/concat-map/LICENSE +18 -0
- package/node_modules/concat-map/README.markdown +62 -0
- package/node_modules/concat-map/example/map.js +6 -0
- package/node_modules/concat-map/index.js +13 -0
- package/node_modules/concat-map/package.json +43 -0
- package/node_modules/concat-map/test/map.js +39 -0
- package/node_modules/ignore/LICENSE-MIT +21 -0
- package/node_modules/ignore/README.md +412 -0
- package/node_modules/ignore/index.d.ts +61 -0
- package/node_modules/ignore/index.js +636 -0
- package/node_modules/ignore/legacy.js +559 -0
- package/node_modules/ignore/package.json +74 -0
- package/node_modules/minimatch/LICENSE +15 -0
- package/node_modules/minimatch/README.md +230 -0
- package/node_modules/minimatch/minimatch.js +947 -0
- package/node_modules/minimatch/node_modules/brace-expansion/LICENSE +21 -0
- package/node_modules/minimatch/node_modules/brace-expansion/README.md +129 -0
- package/node_modules/minimatch/node_modules/brace-expansion/index.js +201 -0
- package/node_modules/minimatch/node_modules/brace-expansion/package.json +47 -0
- package/node_modules/minimatch/package.json +33 -0
- package/package.json +14 -5
- package/lib/aws/compute/function-nodejs.d.ts +0 -55
- package/lib/aws/compute/function-nodejs.js +0 -70
package/lib/aws/compute/route.js
CHANGED
|
@@ -63,7 +63,7 @@ class EgressOnlyInternetGateway extends aws_construct_1.AwsConstructBase {
|
|
|
63
63
|
}
|
|
64
64
|
exports.EgressOnlyInternetGateway = EgressOnlyInternetGateway;
|
|
65
65
|
_a = JSII_RTTI_SYMBOL_1;
|
|
66
|
-
EgressOnlyInternetGateway[_a] = { fqn: "terraconstructs.aws.compute.alpha.EgressOnlyInternetGateway", version: "0.0
|
|
66
|
+
EgressOnlyInternetGateway[_a] = { fqn: "terraconstructs.aws.compute.alpha.EgressOnlyInternetGateway", version: "0.1.0" };
|
|
67
67
|
/**
|
|
68
68
|
* Creates an internet gateway
|
|
69
69
|
* @resource AWS::EC2::InternetGateway
|
|
@@ -96,7 +96,7 @@ class InternetGateway extends aws_construct_1.AwsConstructBase {
|
|
|
96
96
|
}
|
|
97
97
|
exports.InternetGateway = InternetGateway;
|
|
98
98
|
_b = JSII_RTTI_SYMBOL_1;
|
|
99
|
-
InternetGateway[_b] = { fqn: "terraconstructs.aws.compute.alpha.InternetGateway", version: "0.0
|
|
99
|
+
InternetGateway[_b] = { fqn: "terraconstructs.aws.compute.alpha.InternetGateway", version: "0.1.0" };
|
|
100
100
|
/**
|
|
101
101
|
* Creates a virtual private gateway
|
|
102
102
|
* @resource AWS::EC2::VPNGateway
|
|
@@ -162,7 +162,7 @@ class VPNGatewayV2 extends aws_construct_1.AwsConstructBase {
|
|
|
162
162
|
}
|
|
163
163
|
exports.VPNGatewayV2 = VPNGatewayV2;
|
|
164
164
|
_c = JSII_RTTI_SYMBOL_1;
|
|
165
|
-
VPNGatewayV2[_c] = { fqn: "terraconstructs.aws.compute.alpha.VPNGatewayV2", version: "0.0
|
|
165
|
+
VPNGatewayV2[_c] = { fqn: "terraconstructs.aws.compute.alpha.VPNGatewayV2", version: "0.1.0" };
|
|
166
166
|
/**
|
|
167
167
|
* Creates a network address translation (NAT) gateway
|
|
168
168
|
* @resource AWS::EC2::NatGateway
|
|
@@ -231,7 +231,7 @@ class NatGateway extends aws_construct_1.AwsConstructBase {
|
|
|
231
231
|
}
|
|
232
232
|
exports.NatGateway = NatGateway;
|
|
233
233
|
_d = JSII_RTTI_SYMBOL_1;
|
|
234
|
-
NatGateway[_d] = { fqn: "terraconstructs.aws.compute.alpha.NatGateway", version: "0.0
|
|
234
|
+
NatGateway[_d] = { fqn: "terraconstructs.aws.compute.alpha.NatGateway", version: "0.1.0" };
|
|
235
235
|
/**
|
|
236
236
|
* Creates a peering connection between two VPCs
|
|
237
237
|
* @resource AWS::EC2::VPCPeeringConnection
|
|
@@ -319,7 +319,7 @@ class VPCPeeringConnection extends aws_construct_1.AwsConstructBase {
|
|
|
319
319
|
}
|
|
320
320
|
exports.VPCPeeringConnection = VPCPeeringConnection;
|
|
321
321
|
_e = JSII_RTTI_SYMBOL_1;
|
|
322
|
-
VPCPeeringConnection[_e] = { fqn: "terraconstructs.aws.compute.alpha.VPCPeeringConnection", version: "0.0
|
|
322
|
+
VPCPeeringConnection[_e] = { fqn: "terraconstructs.aws.compute.alpha.VPCPeeringConnection", version: "0.1.0" };
|
|
323
323
|
/**
|
|
324
324
|
* The gateway or endpoint targeted by the route.
|
|
325
325
|
*/
|
|
@@ -337,7 +337,7 @@ class RouteTargetType {
|
|
|
337
337
|
}
|
|
338
338
|
exports.RouteTargetType = RouteTargetType;
|
|
339
339
|
_f = JSII_RTTI_SYMBOL_1;
|
|
340
|
-
RouteTargetType[_f] = { fqn: "terraconstructs.aws.compute.alpha.RouteTargetType", version: "0.0
|
|
340
|
+
RouteTargetType[_f] = { fqn: "terraconstructs.aws.compute.alpha.RouteTargetType", version: "0.1.0" };
|
|
341
341
|
/**
|
|
342
342
|
* Creates a new route with added functionality.
|
|
343
343
|
* @resource AWS::EC2::Route
|
|
@@ -401,7 +401,7 @@ class Route extends aws_construct_1.AwsConstructBase {
|
|
|
401
401
|
}
|
|
402
402
|
exports.Route = Route;
|
|
403
403
|
_g = JSII_RTTI_SYMBOL_1;
|
|
404
|
-
Route[_g] = { fqn: "terraconstructs.aws.compute.alpha.Route", version: "0.0
|
|
404
|
+
Route[_g] = { fqn: "terraconstructs.aws.compute.alpha.Route", version: "0.1.0" };
|
|
405
405
|
/**
|
|
406
406
|
* Creates a route table for the specified VPC
|
|
407
407
|
* @resource aws_route_table
|
|
@@ -444,7 +444,7 @@ class RouteTable extends aws_construct_1.AwsConstructBase {
|
|
|
444
444
|
}
|
|
445
445
|
exports.RouteTable = RouteTable;
|
|
446
446
|
_h = JSII_RTTI_SYMBOL_1;
|
|
447
|
-
RouteTable[_h] = { fqn: "terraconstructs.aws.compute.alpha.RouteTable", version: "0.0
|
|
447
|
+
RouteTable[_h] = { fqn: "terraconstructs.aws.compute.alpha.RouteTable", version: "0.1.0" };
|
|
448
448
|
/**
|
|
449
449
|
* inverse of
|
|
450
450
|
* https://github.com/hashicorp/terraform-provider-aws/blob/v5.87.0/internal/service/ec2/vpc_route.go#L219-L239
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import { Construct } from "constructs";
|
|
2
|
+
import { DockerImage } from "../../bundling";
|
|
3
|
+
export interface LambdaRuntimeProps {
|
|
4
|
+
/**
|
|
5
|
+
* Whether the ``ZipFile`` (aka inline code) property can be used with this runtime.
|
|
6
|
+
* @default false
|
|
7
|
+
*/
|
|
8
|
+
readonly supportsInlineCode?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Whether the runtime enum is meant to change over time, IE NODEJS_LATEST.
|
|
11
|
+
* @default false
|
|
12
|
+
*/
|
|
13
|
+
readonly isVariable?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* The Docker image name to be used for bundling in this runtime.
|
|
16
|
+
* @default - the latest docker image "amazon/public.ecr.aws/sam/build-<runtime>" from https://gallery.ecr.aws
|
|
17
|
+
*/
|
|
18
|
+
readonly bundlingDockerImage?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Whether this runtime is integrated with and supported for profiling using Amazon CodeGuru Profiler.
|
|
21
|
+
* @default false
|
|
22
|
+
*/
|
|
23
|
+
readonly supportsCodeGuruProfiling?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Whether this runtime supports SnapStart.
|
|
26
|
+
* @default false
|
|
27
|
+
*/
|
|
28
|
+
readonly supportsSnapStart?: boolean;
|
|
29
|
+
}
|
|
30
|
+
export declare enum RuntimeFamily {
|
|
31
|
+
NODEJS = 0,
|
|
32
|
+
JAVA = 1,
|
|
33
|
+
PYTHON = 2,
|
|
34
|
+
DOTNET_CORE = 3,
|
|
35
|
+
GO = 4,
|
|
36
|
+
RUBY = 5,
|
|
37
|
+
OTHER = 6
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Lambda function runtime environment.
|
|
41
|
+
*
|
|
42
|
+
* If you need to use a runtime name that doesn't exist as a static member, you
|
|
43
|
+
* can instantiate a `Runtime` object, e.g: `new Runtime('nodejs99.99')`.
|
|
44
|
+
*/
|
|
45
|
+
export declare class Runtime {
|
|
46
|
+
/** A list of all known `Runtime`'s. */
|
|
47
|
+
static readonly ALL: Runtime[];
|
|
48
|
+
/**
|
|
49
|
+
* The NodeJS runtime (nodejs)
|
|
50
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS runtime.
|
|
51
|
+
*/
|
|
52
|
+
static readonly NODEJS: Runtime;
|
|
53
|
+
/**
|
|
54
|
+
* The NodeJS 4.3 runtime (nodejs4.3)
|
|
55
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS runtime.
|
|
56
|
+
*/
|
|
57
|
+
static readonly NODEJS_4_3: Runtime;
|
|
58
|
+
/**
|
|
59
|
+
* The NodeJS 6.10 runtime (nodejs6.10)
|
|
60
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS runtime.
|
|
61
|
+
*/
|
|
62
|
+
static readonly NODEJS_6_10: Runtime;
|
|
63
|
+
/**
|
|
64
|
+
* The NodeJS 8.10 runtime (nodejs8.10)
|
|
65
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS runtime.
|
|
66
|
+
*/
|
|
67
|
+
static readonly NODEJS_8_10: Runtime;
|
|
68
|
+
/**
|
|
69
|
+
* The NodeJS 10.x runtime (nodejs10.x)
|
|
70
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS runtime.
|
|
71
|
+
*/
|
|
72
|
+
static readonly NODEJS_10_X: Runtime;
|
|
73
|
+
/**
|
|
74
|
+
* The NodeJS 12.x runtime (nodejs12.x)
|
|
75
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS runtime.
|
|
76
|
+
*/
|
|
77
|
+
static readonly NODEJS_12_X: Runtime;
|
|
78
|
+
/**
|
|
79
|
+
* The NodeJS 14.x runtime (nodejs14.x)
|
|
80
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS runtime.
|
|
81
|
+
*/
|
|
82
|
+
static readonly NODEJS_14_X: Runtime;
|
|
83
|
+
/**
|
|
84
|
+
* The NodeJS 16.x runtime (nodejs16.x)
|
|
85
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS runtime.
|
|
86
|
+
*/
|
|
87
|
+
static readonly NODEJS_16_X: Runtime;
|
|
88
|
+
/**
|
|
89
|
+
* The NodeJS 18.x runtime (nodejs18.x)
|
|
90
|
+
*/
|
|
91
|
+
static readonly NODEJS_18_X: Runtime;
|
|
92
|
+
/**
|
|
93
|
+
* The NodeJS 20.x runtime (nodejs20.x)
|
|
94
|
+
*/
|
|
95
|
+
static readonly NODEJS_20_X: Runtime;
|
|
96
|
+
/**
|
|
97
|
+
* The latest NodeJS version currently available in ALL regions (not necessarily the latest NodeJS version
|
|
98
|
+
* available in YOUR region).
|
|
99
|
+
*/
|
|
100
|
+
static readonly NODEJS_LATEST: Runtime;
|
|
101
|
+
/**
|
|
102
|
+
* The NodeJS 22.x runtime (nodejs22.x)
|
|
103
|
+
*/
|
|
104
|
+
static readonly NODEJS_22_X: Runtime;
|
|
105
|
+
/**
|
|
106
|
+
* The Python 2.7 runtime (python2.7)
|
|
107
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python runtime.
|
|
108
|
+
*/
|
|
109
|
+
static readonly PYTHON_2_7: Runtime;
|
|
110
|
+
/**
|
|
111
|
+
* The Python 3.6 runtime (python3.6) (not recommended)
|
|
112
|
+
*
|
|
113
|
+
* The Python 3.6 runtime is deprecated as of July 2022.
|
|
114
|
+
*
|
|
115
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python runtime.
|
|
116
|
+
*/
|
|
117
|
+
static readonly PYTHON_3_6: Runtime;
|
|
118
|
+
/**
|
|
119
|
+
* The Python 3.7 runtime (python3.7)
|
|
120
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python runtime.
|
|
121
|
+
*/
|
|
122
|
+
static readonly PYTHON_3_7: Runtime;
|
|
123
|
+
/**
|
|
124
|
+
* The Python 3.8 runtime (python3.8)
|
|
125
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python runtime.
|
|
126
|
+
*/
|
|
127
|
+
static readonly PYTHON_3_8: Runtime;
|
|
128
|
+
/**
|
|
129
|
+
* The Python 3.9 runtime (python3.9)
|
|
130
|
+
*/
|
|
131
|
+
static readonly PYTHON_3_9: Runtime;
|
|
132
|
+
/**
|
|
133
|
+
* The Python 3.10 runtime (python3.10)
|
|
134
|
+
*/
|
|
135
|
+
static readonly PYTHON_3_10: Runtime;
|
|
136
|
+
/**
|
|
137
|
+
* The Python 3.11 runtime (python3.11)
|
|
138
|
+
*/
|
|
139
|
+
static readonly PYTHON_3_11: Runtime;
|
|
140
|
+
/**
|
|
141
|
+
* The Python 3.12 runtime (python3.12)
|
|
142
|
+
*/
|
|
143
|
+
static readonly PYTHON_3_12: Runtime;
|
|
144
|
+
/**
|
|
145
|
+
* The Python 3.13 runtime (python3.13)
|
|
146
|
+
*/
|
|
147
|
+
static readonly PYTHON_3_13: Runtime;
|
|
148
|
+
/**
|
|
149
|
+
* The Java 8 runtime (java8)
|
|
150
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Java runtime.
|
|
151
|
+
*/
|
|
152
|
+
static readonly JAVA_8: Runtime;
|
|
153
|
+
/**
|
|
154
|
+
* The Java 8 Corretto runtime (java8.al2)
|
|
155
|
+
*/
|
|
156
|
+
static readonly JAVA_8_CORRETTO: Runtime;
|
|
157
|
+
/**
|
|
158
|
+
* The Java 11 runtime (java11)
|
|
159
|
+
*/
|
|
160
|
+
static readonly JAVA_11: Runtime;
|
|
161
|
+
/**
|
|
162
|
+
* The Java 17 runtime (java17)
|
|
163
|
+
*/
|
|
164
|
+
static readonly JAVA_17: Runtime;
|
|
165
|
+
/**
|
|
166
|
+
* The Java 21 runtime (java21)
|
|
167
|
+
*/
|
|
168
|
+
static readonly JAVA_21: Runtime;
|
|
169
|
+
/**
|
|
170
|
+
* The .NET 6 runtime (dotnet6)
|
|
171
|
+
*/
|
|
172
|
+
static readonly DOTNET_6: Runtime;
|
|
173
|
+
/**
|
|
174
|
+
* The .NET 8 runtime (dotnet8)
|
|
175
|
+
*/
|
|
176
|
+
static readonly DOTNET_8: Runtime;
|
|
177
|
+
/**
|
|
178
|
+
* The .NET 9 runtime (dotnet9)
|
|
179
|
+
*/
|
|
180
|
+
static readonly DOTNET_9: Runtime;
|
|
181
|
+
/**
|
|
182
|
+
* The .NET Core 1.0 runtime (dotnetcore1.0)
|
|
183
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest .NET Core runtime.
|
|
184
|
+
*/
|
|
185
|
+
static readonly DOTNET_CORE_1: Runtime;
|
|
186
|
+
/**
|
|
187
|
+
* The .NET Core 2.0 runtime (dotnetcore2.0)
|
|
188
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest .NET Core runtime.
|
|
189
|
+
*/
|
|
190
|
+
static readonly DOTNET_CORE_2: Runtime;
|
|
191
|
+
/**
|
|
192
|
+
* The .NET Core 2.1 runtime (dotnetcore2.1)
|
|
193
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest .NET Core runtime.
|
|
194
|
+
*/
|
|
195
|
+
static readonly DOTNET_CORE_2_1: Runtime;
|
|
196
|
+
/**
|
|
197
|
+
* The .NET Core 3.1 runtime (dotnetcore3.1)
|
|
198
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest .NET Core runtime.
|
|
199
|
+
*/
|
|
200
|
+
static readonly DOTNET_CORE_3_1: Runtime;
|
|
201
|
+
/**
|
|
202
|
+
* The Go 1.x runtime (go1.x)
|
|
203
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the PROVIDED_AL2023 runtime.
|
|
204
|
+
*/
|
|
205
|
+
static readonly GO_1_X: Runtime;
|
|
206
|
+
/**
|
|
207
|
+
* The Ruby 2.5 runtime (ruby2.5)
|
|
208
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Ruby runtime.
|
|
209
|
+
*/
|
|
210
|
+
static readonly RUBY_2_5: Runtime;
|
|
211
|
+
/**
|
|
212
|
+
* The Ruby 2.7 runtime (ruby2.7)
|
|
213
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Ruby runtime.
|
|
214
|
+
*/
|
|
215
|
+
static readonly RUBY_2_7: Runtime;
|
|
216
|
+
/**
|
|
217
|
+
* The Ruby 3.2 runtime (ruby3.2)
|
|
218
|
+
*/
|
|
219
|
+
static readonly RUBY_3_2: Runtime;
|
|
220
|
+
/**
|
|
221
|
+
* The Ruby 3.3 runtime (ruby3.3)
|
|
222
|
+
*/
|
|
223
|
+
static readonly RUBY_3_3: Runtime;
|
|
224
|
+
/**
|
|
225
|
+
* The Ruby 3.4 runtime (ruby3.4)
|
|
226
|
+
*/
|
|
227
|
+
static readonly RUBY_3_4: Runtime;
|
|
228
|
+
/**
|
|
229
|
+
* The custom provided runtime (provided)
|
|
230
|
+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest provided.al2023 runtime.
|
|
231
|
+
*/
|
|
232
|
+
static readonly PROVIDED: Runtime;
|
|
233
|
+
/**
|
|
234
|
+
* The custom provided runtime with Amazon Linux 2 (provided.al2)
|
|
235
|
+
*/
|
|
236
|
+
static readonly PROVIDED_AL2: Runtime;
|
|
237
|
+
/**
|
|
238
|
+
* The custom provided runtime with Amazon Linux 2023 (provided.al2023)
|
|
239
|
+
*/
|
|
240
|
+
static readonly PROVIDED_AL2023: Runtime;
|
|
241
|
+
/**
|
|
242
|
+
* A special runtime entry to be used when function is using a docker image.
|
|
243
|
+
*/
|
|
244
|
+
static readonly FROM_IMAGE: Runtime;
|
|
245
|
+
/**
|
|
246
|
+
* The name of this runtime, as expected by the Lambda resource.
|
|
247
|
+
*/
|
|
248
|
+
readonly name: string;
|
|
249
|
+
/**
|
|
250
|
+
* Whether the ``ZipFile`` (aka inline code) property can be used with this
|
|
251
|
+
* runtime.
|
|
252
|
+
*/
|
|
253
|
+
readonly supportsInlineCode: boolean;
|
|
254
|
+
/**
|
|
255
|
+
* Whether this runtime is integrated with and supported for profiling using Amazon CodeGuru Profiler.
|
|
256
|
+
*/
|
|
257
|
+
readonly supportsCodeGuruProfiling: boolean;
|
|
258
|
+
/**
|
|
259
|
+
* Whether this runtime supports snapstart.
|
|
260
|
+
*/
|
|
261
|
+
readonly supportsSnapStart: boolean;
|
|
262
|
+
/**
|
|
263
|
+
* The runtime family.
|
|
264
|
+
*/
|
|
265
|
+
readonly family?: RuntimeFamily;
|
|
266
|
+
/**
|
|
267
|
+
* The bundling Docker image for this runtime.
|
|
268
|
+
*/
|
|
269
|
+
readonly bundlingImage: DockerImage;
|
|
270
|
+
/**
|
|
271
|
+
* Enabled for runtime enums that always target the latest available.
|
|
272
|
+
*/
|
|
273
|
+
readonly isVariable: boolean;
|
|
274
|
+
constructor(name: string, family?: RuntimeFamily, props?: LambdaRuntimeProps);
|
|
275
|
+
toString(): string;
|
|
276
|
+
runtimeEquals(other: Runtime): boolean;
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* The latest Lambda node runtime available by AWS region.
|
|
280
|
+
*/
|
|
281
|
+
export declare function determineLatestNodeRuntime(scope: Construct): Runtime;
|
|
282
|
+
export declare function runtimeLookup(region: string, defaultValue?: string): string;
|