terraconstructs 0.0.11 → 0.0.12
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 +104486 -34582
- package/lib/aws/arn.js +1 -1
- package/lib/aws/aws-construct.d.ts +1 -1
- package/lib/aws/aws-construct.js +28 -2
- package/lib/aws/aws-stack.d.ts +2 -4
- package/lib/aws/aws-stack.js +21 -8
- package/lib/aws/aws-tags.d.ts +58 -0
- package/lib/aws/aws-tags.js +77 -0
- package/lib/aws/cloudwatch/actions/ec2.js +1 -1
- package/lib/aws/cloudwatch/actions/lambda.js +1 -1
- 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.d.ts +1 -1
- package/lib/aws/cloudwatch/metric-filter.js +4 -4
- 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/private/env-tokens.js +5 -6
- package/lib/aws/cloudwatch/private/metric-util.js +4 -5
- package/lib/aws/cloudwatch/private/object.js +2 -3
- package/lib/aws/cloudwatch/private/rendering.js +3 -3
- package/lib/aws/cloudwatch/private/statistic.js +6 -7
- package/lib/aws/cloudwatch/query-definition.js +2 -2
- package/lib/aws/cloudwatch/stats.js +1 -1
- package/lib/aws/cloudwatch/subscription-filter.d.ts +1 -1
- package/lib/aws/cloudwatch/subscription-filter.js +4 -4
- package/lib/aws/cloudwatch/text.js +1 -1
- package/lib/aws/cloudwatch/variable.js +3 -3
- package/lib/aws/cloudwatch/widget.d.ts +1 -1
- package/lib/aws/cloudwatch/widget.js +4 -4
- package/lib/aws/compute/activity.js +3 -2
- package/lib/aws/compute/alb/application-listener-action.d.ts +334 -0
- package/lib/aws/compute/alb/application-listener-action.js +281 -0
- package/lib/aws/compute/alb/application-listener-certificate.d.ts +35 -0
- package/lib/aws/compute/alb/application-listener-certificate.js +35 -0
- package/lib/aws/compute/alb/application-listener-rule.d.ts +233 -0
- package/lib/aws/compute/alb/application-listener-rule.js +220 -0
- package/lib/aws/compute/alb/application-listener.d.ts +574 -0
- package/lib/aws/compute/alb/application-listener.js +538 -0
- package/lib/aws/compute/alb/application-load-balancer.d.ts +715 -0
- package/lib/aws/compute/alb/application-load-balancer.js +780 -0
- package/lib/aws/compute/alb/application-target-group.d.ts +339 -0
- package/lib/aws/compute/alb/application-target-group.js +427 -0
- package/lib/aws/compute/alb/conditions.d.ts +61 -0
- package/lib/aws/compute/alb/conditions.js +164 -0
- package/lib/aws/compute/alb/trust-store-revocation.d.ts +59 -0
- package/lib/aws/compute/alb/trust-store-revocation.js +46 -0
- package/lib/aws/compute/alb/trust-store.d.ts +86 -0
- package/lib/aws/compute/alb/trust-store.js +79 -0
- package/lib/aws/compute/architecture.js +1 -1
- package/lib/aws/compute/aspects/require-imdsv2-aspect.d.ts +75 -0
- package/lib/aws/compute/aspects/require-imdsv2-aspect.js +106 -0
- package/lib/aws/compute/bastion-host.d.ts +172 -0
- package/lib/aws/compute/bastion-host.js +114 -0
- package/lib/aws/compute/chain.js +1 -1
- package/lib/aws/compute/cidr-splits.d.ts +49 -0
- package/lib/aws/compute/cidr-splits.js +59 -0
- package/lib/aws/compute/client-vpn-authorization-rule.d.ts +43 -0
- package/lib/aws/compute/client-vpn-authorization-rule.js +30 -0
- package/lib/aws/compute/client-vpn-endpoint-types.d.ts +62 -0
- package/lib/aws/compute/client-vpn-endpoint-types.js +25 -0
- package/lib/aws/compute/client-vpn-endpoint.d.ts +239 -0
- package/lib/aws/compute/client-vpn-endpoint.js +259 -0
- package/lib/aws/compute/client-vpn-route.d.ts +67 -0
- package/lib/aws/compute/client-vpn-route.js +57 -0
- package/lib/aws/compute/condition.js +1 -1
- package/lib/aws/compute/connections.d.ts +137 -0
- package/lib/aws/compute/connections.js +208 -0
- package/lib/aws/compute/ec2-augmentations.generated.d.ts +53 -0
- package/lib/aws/compute/ec2-augmentations.generated.js +35 -0
- package/lib/aws/compute/ec2-canned-metrics.generated.d.ts +555 -0
- package/lib/aws/compute/ec2-canned-metrics.generated.js +681 -0
- package/lib/aws/compute/ec2-util-v2.d.ts +141 -0
- package/lib/aws/compute/ec2-util-v2.js +286 -0
- package/lib/aws/compute/ec2-util.d.ts +52 -0
- package/lib/aws/compute/ec2-util.js +138 -0
- package/lib/aws/compute/elasticloadbalancing-canned-metrics.generated.d.ts +176 -0
- package/lib/aws/compute/elasticloadbalancing-canned-metrics.generated.js +119 -0
- package/lib/aws/compute/elasticloadbalancingv2-canned-metrics.generated.d.ts +860 -0
- package/lib/aws/compute/elasticloadbalancingv2-canned-metrics.generated.js +597 -0
- package/lib/aws/compute/event-invoke-config.js +1 -1
- package/lib/aws/compute/event-source-filter.js +2 -2
- package/lib/aws/compute/event-source-mapping.js +1 -1
- 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 +1 -1
- package/lib/aws/compute/fields.js +4 -4
- package/lib/aws/compute/function-alias.js +1 -1
- package/lib/aws/compute/function-base.js +2 -2
- 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.js +1 -1
- package/lib/aws/compute/function-url.js +1 -1
- package/lib/aws/compute/function-vpc-config.generated.d.ts +3 -3
- package/lib/aws/compute/function-vpc-config.generated.js +1 -1
- package/lib/aws/compute/function.d.ts +1 -1
- package/lib/aws/compute/function.js +5 -5
- package/lib/aws/compute/index-alpha.d.ts +5 -0
- package/lib/aws/compute/index-alpha.js +22 -0
- package/lib/aws/compute/index.d.ts +60 -0
- package/lib/aws/compute/index.js +70 -2
- package/lib/aws/compute/instance-types.d.ts +1354 -0
- package/lib/aws/compute/instance-types.js +1683 -0
- package/lib/aws/compute/instance.d.ts +436 -0
- package/lib/aws/compute/instance.js +262 -0
- package/lib/aws/compute/ip-addresses.d.ts +249 -0
- package/lib/aws/compute/ip-addresses.js +248 -0
- package/lib/aws/compute/ipam.d.ts +309 -0
- package/lib/aws/compute/ipam.js +306 -0
- package/lib/aws/compute/key-pair.d.ts +178 -0
- package/lib/aws/compute/key-pair.js +194 -0
- package/lib/aws/compute/lambda-augmentations.generated.d.ts +65 -0
- package/lib/aws/compute/lambda-augmentations.generated.js +41 -0
- package/lib/aws/compute/lambda-canned-metrics.generated.d.ts +316 -0
- package/lib/aws/compute/lambda-canned-metrics.generated.js +119 -0
- package/lib/aws/compute/launch-template.d.ts +540 -0
- package/lib/aws/compute/launch-template.js +468 -0
- package/lib/aws/compute/lb-shared/access-logs-accounts.d.ts +7 -0
- package/lib/aws/compute/lb-shared/access-logs-accounts.js +46 -0
- package/lib/aws/compute/lb-shared/base-listener.d.ts +113 -0
- package/lib/aws/compute/lb-shared/base-listener.js +181 -0
- package/lib/aws/compute/lb-shared/base-load-balancer.d.ts +212 -0
- package/lib/aws/compute/lb-shared/base-load-balancer.js +290 -0
- package/lib/aws/compute/lb-shared/base-target-group.d.ts +382 -0
- package/lib/aws/compute/lb-shared/base-target-group.js +364 -0
- package/lib/aws/compute/lb-shared/enums.d.ts +282 -0
- package/lib/aws/compute/lb-shared/enums.js +301 -0
- package/lib/aws/compute/lb-shared/grid-lookup-types.d.ts +42 -0
- package/lib/aws/compute/lb-shared/grid-lookup-types.js +53 -0
- package/lib/aws/compute/lb-shared/imported.d.ts +24 -0
- package/lib/aws/compute/lb-shared/imported.js +27 -0
- package/lib/aws/compute/lb-shared/lb-listener-config.generated.d.ts +194 -0
- package/lib/aws/compute/lb-shared/lb-listener-config.generated.js +3 -0
- package/lib/aws/compute/lb-shared/lb-target-group-attachment-config.generated.d.ts +56 -0
- package/lib/aws/compute/lb-shared/lb-target-group-attachment-config.generated.js +3 -0
- package/lib/aws/compute/lb-shared/listener-action.d.ts +14 -0
- package/lib/aws/compute/lb-shared/listener-action.js +4 -0
- package/lib/aws/compute/lb-shared/listener-certificate.d.ts +28 -0
- package/lib/aws/compute/lb-shared/listener-certificate.js +29 -0
- package/lib/aws/compute/lb-shared/load-balancer-targets.d.ts +93 -0
- package/lib/aws/compute/lb-shared/load-balancer-targets.js +127 -0
- package/lib/aws/compute/lb-shared/util.d.ts +113 -0
- package/lib/aws/compute/lb-shared/util.js +264 -0
- package/lib/aws/compute/lb-targets/alb-target.d.ts +67 -0
- package/lib/aws/compute/lb-targets/alb-target.js +100 -0
- package/lib/aws/compute/lb-targets/index.d.ts +4 -0
- package/lib/aws/compute/lb-targets/index.js +22 -0
- package/lib/aws/compute/lb-targets/instance-target.d.ts +42 -0
- package/lib/aws/compute/lb-targets/instance-target.js +67 -0
- package/lib/aws/compute/lb-targets/ip-target.d.ts +55 -0
- package/lib/aws/compute/lb-targets/ip-target.js +79 -0
- package/lib/aws/compute/lb-targets/lambda-target.d.ts +25 -0
- package/lib/aws/compute/lb-targets/lambda-target.js +50 -0
- package/lib/aws/compute/load-balancer.d.ts +336 -0
- package/lib/aws/compute/load-balancer.js +287 -0
- package/lib/aws/compute/machine-image/amazon-linux-2022.d.ts +63 -0
- package/lib/aws/compute/machine-image/amazon-linux-2022.js +84 -0
- package/lib/aws/compute/machine-image/amazon-linux-2023.d.ts +63 -0
- package/lib/aws/compute/machine-image/amazon-linux-2023.js +84 -0
- package/lib/aws/compute/machine-image/amazon-linux2.d.ts +76 -0
- package/lib/aws/compute/machine-image/amazon-linux2.js +87 -0
- package/lib/aws/compute/machine-image/common.d.ts +181 -0
- package/lib/aws/compute/machine-image/common.js +122 -0
- package/lib/aws/compute/machine-image/index.d.ts +5 -0
- package/lib/aws/compute/machine-image/index.js +22 -0
- package/lib/aws/compute/machine-image/machine-image.d.ts +463 -0
- package/lib/aws/compute/machine-image/machine-image.js +566 -0
- package/lib/aws/compute/machine-image/utils.d.ts +2 -0
- package/lib/aws/compute/machine-image/utils.js +17 -0
- package/lib/aws/compute/nat.d.ts +325 -0
- package/lib/aws/compute/nat.js +455 -0
- package/lib/aws/compute/network-acl-types.d.ts +152 -0
- package/lib/aws/compute/network-acl-types.js +156 -0
- package/lib/aws/compute/network-acl.d.ts +285 -0
- package/lib/aws/compute/network-acl.js +207 -0
- package/lib/aws/compute/network-util.d.ts +116 -0
- package/lib/aws/compute/network-util.js +241 -0
- package/lib/aws/compute/nlb/network-listener-action.d.ts +92 -0
- package/lib/aws/compute/nlb/network-listener-action.js +146 -0
- package/lib/aws/compute/nlb/network-listener-certificate.d.ts +24 -0
- package/lib/aws/compute/nlb/network-listener-certificate.js +25 -0
- package/lib/aws/compute/nlb/network-listener.d.ts +248 -0
- package/lib/aws/compute/nlb/network-listener.js +217 -0
- package/lib/aws/compute/nlb/network-load-balancer.d.ts +315 -0
- package/lib/aws/compute/nlb/network-load-balancer.js +360 -0
- package/lib/aws/compute/nlb/network-target-group.d.ts +153 -0
- package/lib/aws/compute/nlb/network-target-group.js +223 -0
- package/lib/aws/compute/peer.d.ts +64 -0
- package/lib/aws/compute/peer.js +235 -0
- package/lib/aws/compute/placement-group.d.ts +161 -0
- package/lib/aws/compute/placement-group.js +133 -0
- package/lib/aws/compute/port.d.ts +287 -0
- package/lib/aws/compute/port.js +390 -0
- package/lib/aws/compute/prefix-list.d.ts +131 -0
- package/lib/aws/compute/prefix-list.js +114 -0
- package/lib/aws/compute/private/context-stub.d.ts +7 -0
- package/lib/aws/compute/private/context-stub.js +43 -0
- package/lib/aws/compute/private/ebs-util.d.ts +14 -0
- package/lib/aws/compute/private/ebs-util.js +145 -0
- package/lib/aws/compute/private/intrinstics.js +2 -1
- package/lib/aws/compute/private/json-path.js +8 -8
- package/lib/aws/compute/private/util.js +2 -3
- package/lib/aws/compute/route.d.ts +547 -0
- package/lib/aws/compute/route.js +469 -0
- package/lib/aws/compute/security-group.d.ts +414 -0
- package/lib/aws/compute/security-group.js +538 -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.d.ts +2 -2
- package/lib/aws/compute/state-machine.js +14 -12
- 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 +5 -5
- 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/stepfunctions-canned-metrics.generated.d.ts +83 -0
- package/lib/aws/compute/stepfunctions-canned-metrics.generated.js +127 -0
- package/lib/aws/compute/subnet-v2.d.ts +213 -0
- package/lib/aws/compute/subnet-v2.js +405 -0
- package/lib/aws/compute/subnet.d.ts +37 -0
- package/lib/aws/compute/subnet.js +181 -0
- 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/private/task-utils.js +3 -4
- package/lib/aws/compute/tasks/resource-arn-suffix.js +2 -3
- 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 +2 -2
- package/lib/aws/compute/user-data.d.ts +270 -0
- package/lib/aws/compute/user-data.js +487 -0
- package/lib/aws/compute/util.d.ts +1 -1
- package/lib/aws/compute/util.js +4 -5
- package/lib/aws/compute/volume.d.ts +480 -0
- package/lib/aws/compute/volume.js +426 -0
- package/lib/aws/compute/vpc-endpoint-service.d.ts +149 -0
- package/lib/aws/compute/vpc-endpoint-service.js +90 -0
- package/lib/aws/compute/vpc-endpoint.d.ts +742 -0
- package/lib/aws/compute/vpc-endpoint.js +811 -0
- package/lib/aws/compute/vpc-flow-logs.d.ts +551 -0
- package/lib/aws/compute/vpc-flow-logs.js +693 -0
- package/lib/aws/compute/vpc-lookup.d.ts +73 -0
- package/lib/aws/compute/vpc-lookup.js +3 -0
- package/lib/aws/compute/vpc-v2-base.d.ts +353 -0
- package/lib/aws/compute/vpc-v2-base.js +493 -0
- package/lib/aws/compute/vpc-v2.d.ts +385 -0
- package/lib/aws/compute/vpc-v2.js +408 -0
- package/lib/aws/compute/vpc.d.ts +1448 -0
- package/lib/aws/compute/vpc.js +1495 -0
- package/lib/aws/compute/vpn.d.ts +443 -0
- package/lib/aws/compute/vpn.js +397 -0
- package/lib/aws/compute/windows-versions.d.ts +418 -0
- package/lib/aws/compute/windows-versions.js +426 -0
- package/lib/aws/edge/certificate-base.d.ts +20 -0
- package/lib/aws/edge/certificate-base.js +28 -0
- package/lib/aws/edge/certificate.d.ts +23 -2
- package/lib/aws/edge/certificate.js +54 -4
- package/lib/aws/edge/distribution.js +3 -3
- package/lib/aws/edge/dns-alias-record-targets.js +2 -2
- package/lib/aws/edge/dns-record.js +16 -16
- package/lib/aws/edge/dns-zone.d.ts +20 -2
- package/lib/aws/edge/dns-zone.js +25 -10
- package/lib/aws/edge/function.js +2 -2
- package/lib/aws/edge/index.d.ts +1 -0
- package/lib/aws/edge/index.js +2 -1
- package/lib/aws/edge/key-value-store.js +4 -4
- package/lib/aws/edge/origin.js +7 -5
- 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/index.d.ts +1 -0
- package/lib/aws/iam/index.js +2 -1
- package/lib/aws/iam/instance-profile.d.ts +155 -0
- package/lib/aws/iam/instance-profile.js +124 -0
- package/lib/aws/iam/managed-policy.js +1 -1
- package/lib/aws/iam/oidc-provider.js +1 -1
- package/lib/aws/iam/policy-document-config.generated.d.ts +8 -8
- package/lib/aws/iam/policy-document-config.generated.js +1 -1
- package/lib/aws/iam/policy-document.js +1 -1
- package/lib/aws/iam/policy-statement-props.generated.d.ts +8 -8
- package/lib/aws/iam/policy-statement-props.generated.js +1 -1
- package/lib/aws/iam/policy-statement.js +9 -9
- package/lib/aws/iam/policy.js +1 -1
- package/lib/aws/iam/principals.js +26 -26
- package/lib/aws/iam/private/assume-role-policy.js +2 -3
- package/lib/aws/iam/private/comparable-principal.js +2 -3
- package/lib/aws/iam/private/immutable-role.d.ts +2 -1
- package/lib/aws/iam/private/immutable-role.js +3 -3
- package/lib/aws/iam/private/imported-role.d.ts +1 -1
- package/lib/aws/iam/private/imported-role.js +3 -3
- package/lib/aws/iam/private/merge-statements.js +2 -3
- package/lib/aws/iam/private/util.js +4 -4
- package/lib/aws/iam/role.js +1 -1
- package/lib/aws/iam/saml-provider.d.ts +1 -1
- package/lib/aws/iam/saml-provider.js +6 -6
- package/lib/aws/iam/unknown-principal.js +1 -1
- package/lib/aws/iam/utils.js +2 -3
- package/lib/aws/index.d.ts +1 -0
- package/lib/aws/index.js +4 -1
- package/lib/aws/network/simple-ipv4-vpc.js +5 -5
- package/lib/aws/network/subnet-group.js +3 -3
- package/lib/aws/network/subnet.d.ts +1 -1
- package/lib/aws/network/subnet.js +7 -7
- package/lib/aws/notify/archive.js +3 -2
- package/lib/aws/notify/connection.js +5 -4
- package/lib/aws/notify/event-bus.js +5 -4
- package/lib/aws/notify/event-pattern.js +3 -3
- package/lib/aws/notify/index.js +3 -1
- package/lib/aws/notify/input.js +4 -3
- package/lib/aws/notify/kinesis-stream.js +3 -2
- package/lib/aws/notify/on-event-options.js +2 -1
- package/lib/aws/notify/queue-config.generated.d.ts +18 -11
- package/lib/aws/notify/queue-config.generated.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 +3 -2
- package/lib/aws/notify/schedule.js +2 -2
- package/lib/aws/notify/sqs-augmentations.generated.d.ts +125 -0
- package/lib/aws/notify/sqs-augmentations.generated.js +74 -0
- package/lib/aws/notify/target.js +2 -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/targets/util.d.ts +1 -1
- package/lib/aws/notify/targets/util.js +10 -11
- package/lib/aws/notify/util.js +4 -4
- package/lib/aws/provider-config.generated.d.ts +33 -33
- package/lib/aws/provider-config.generated.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.js +1 -1
- package/lib/aws/storage/bucket.d.ts +298 -65
- package/lib/aws/storage/bucket.js +548 -225
- package/lib/aws/storage/cors-config.generated.d.ts +3 -3
- package/lib/aws/storage/cors-config.generated.js +1 -1
- package/lib/aws/storage/cors-rule-config.generated.d.ts +5 -5
- package/lib/aws/storage/cors-rule-config.generated.js +1 -1
- package/lib/aws/storage/index.d.ts +1 -0
- package/lib/aws/storage/index.js +2 -1
- package/lib/aws/storage/lifecycle-config.generated.d.ts +11 -11
- package/lib/aws/storage/lifecycle-config.generated.js +1 -1
- package/lib/aws/storage/notification-targets/function.js +6 -6
- package/lib/aws/storage/notification-targets/queue.js +1 -1
- package/lib/aws/storage/origin-access-identity.d.ts +1 -1
- package/lib/aws/storage/origin-access-identity.js +5 -4
- package/lib/aws/storage/parameter-util.d.ts +12 -0
- package/lib/aws/storage/parameter-util.js +65 -0
- package/lib/aws/storage/parameter.d.ts +526 -0
- package/lib/aws/storage/parameter.js +606 -0
- package/lib/aws/storage/s3-canned-metrics.generated.d.ts +22 -0
- package/lib/aws/storage/s3-canned-metrics.generated.js +23 -0
- package/lib/aws/storage/util.d.ts +25 -3
- package/lib/aws/storage/util.js +84 -17
- package/lib/aws/storage/website-config.generated.d.ts +5 -5
- package/lib/aws/storage/website-config.generated.js +1 -1
- package/lib/aws/util.js +2 -3
- package/lib/construct-base.d.ts +10 -1
- package/lib/construct-base.js +9 -6
- package/lib/duration.js +1 -1
- package/lib/expiration.d.ts +48 -0
- package/lib/expiration.js +68 -0
- package/lib/helpers-internal/index.d.ts +1 -0
- package/lib/helpers-internal/index.js +7 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -1
- package/lib/private/md5.d.ts +4 -0
- package/lib/private/md5.js +14 -0
- package/lib/private/unique-resource-name.js +3 -4
- package/lib/size.js +2 -2
- package/lib/stack-base.d.ts +4 -23
- package/lib/stack-base.js +9 -30
- package/lib/terra-func.d.ts +103 -0
- package/lib/terra-func.js +170 -0
- package/lib/token.js +5 -5
- package/package.json +15 -8
- package/bun.lockb +0 -0
|
@@ -0,0 +1,555 @@
|
|
|
1
|
+
export interface MetricWithDims<D> {
|
|
2
|
+
readonly namespace: string;
|
|
3
|
+
readonly metricName: string;
|
|
4
|
+
readonly statistic: string;
|
|
5
|
+
readonly dimensionsMap: D;
|
|
6
|
+
}
|
|
7
|
+
export declare class EC2CapacityReservationsMetrics {
|
|
8
|
+
static instanceUtilizationAverage(dimensions: {
|
|
9
|
+
CapacityReservationId: string;
|
|
10
|
+
}): MetricWithDims<{
|
|
11
|
+
CapacityReservationId: string;
|
|
12
|
+
}>;
|
|
13
|
+
static usedInstanceCountAverage(dimensions: {
|
|
14
|
+
CapacityReservationId: string;
|
|
15
|
+
}): MetricWithDims<{
|
|
16
|
+
CapacityReservationId: string;
|
|
17
|
+
}>;
|
|
18
|
+
static availableInstanceCountAverage(dimensions: {
|
|
19
|
+
CapacityReservationId: string;
|
|
20
|
+
}): MetricWithDims<{
|
|
21
|
+
CapacityReservationId: string;
|
|
22
|
+
}>;
|
|
23
|
+
static totalInstanceCountAverage(dimensions: {
|
|
24
|
+
CapacityReservationId: string;
|
|
25
|
+
}): MetricWithDims<{
|
|
26
|
+
CapacityReservationId: string;
|
|
27
|
+
}>;
|
|
28
|
+
}
|
|
29
|
+
export declare class EBSMetrics {
|
|
30
|
+
static volumeReadBytesSum(dimensions: {
|
|
31
|
+
VolumeId: string;
|
|
32
|
+
}): MetricWithDims<{
|
|
33
|
+
VolumeId: string;
|
|
34
|
+
}>;
|
|
35
|
+
static volumeWriteBytesSum(dimensions: {
|
|
36
|
+
VolumeId: string;
|
|
37
|
+
}): MetricWithDims<{
|
|
38
|
+
VolumeId: string;
|
|
39
|
+
}>;
|
|
40
|
+
static volumeReadOpsSum(dimensions: {
|
|
41
|
+
VolumeId: string;
|
|
42
|
+
}): MetricWithDims<{
|
|
43
|
+
VolumeId: string;
|
|
44
|
+
}>;
|
|
45
|
+
static volumeTotalReadTimeAverage(dimensions: {
|
|
46
|
+
VolumeId: string;
|
|
47
|
+
}): MetricWithDims<{
|
|
48
|
+
VolumeId: string;
|
|
49
|
+
}>;
|
|
50
|
+
static volumeWriteOpsSum(dimensions: {
|
|
51
|
+
VolumeId: string;
|
|
52
|
+
}): MetricWithDims<{
|
|
53
|
+
VolumeId: string;
|
|
54
|
+
}>;
|
|
55
|
+
static volumeTotalWriteTimeAverage(dimensions: {
|
|
56
|
+
VolumeId: string;
|
|
57
|
+
}): MetricWithDims<{
|
|
58
|
+
VolumeId: string;
|
|
59
|
+
}>;
|
|
60
|
+
static volumeIdleTimeAverage(dimensions: {
|
|
61
|
+
VolumeId: string;
|
|
62
|
+
}): MetricWithDims<{
|
|
63
|
+
VolumeId: string;
|
|
64
|
+
}>;
|
|
65
|
+
static volumeQueueLengthAverage(dimensions: {
|
|
66
|
+
VolumeId: string;
|
|
67
|
+
}): MetricWithDims<{
|
|
68
|
+
VolumeId: string;
|
|
69
|
+
}>;
|
|
70
|
+
static burstBalanceAverage(dimensions: {
|
|
71
|
+
VolumeId: string;
|
|
72
|
+
}): MetricWithDims<{
|
|
73
|
+
VolumeId: string;
|
|
74
|
+
}>;
|
|
75
|
+
}
|
|
76
|
+
export declare class EC2Metrics {
|
|
77
|
+
static cpuCreditUsageAverage(dimensions: {
|
|
78
|
+
InstanceId: string;
|
|
79
|
+
}): MetricWithDims<{
|
|
80
|
+
InstanceId: string;
|
|
81
|
+
}>;
|
|
82
|
+
static cpuCreditBalanceAverage(dimensions: {
|
|
83
|
+
InstanceId: string;
|
|
84
|
+
}): MetricWithDims<{
|
|
85
|
+
InstanceId: string;
|
|
86
|
+
}>;
|
|
87
|
+
static cpuSurplusCreditBalanceAverage(dimensions: {
|
|
88
|
+
InstanceId: string;
|
|
89
|
+
}): MetricWithDims<{
|
|
90
|
+
InstanceId: string;
|
|
91
|
+
}>;
|
|
92
|
+
static cpuSurplusCreditsChargedAverage(dimensions: {
|
|
93
|
+
InstanceId: string;
|
|
94
|
+
}): MetricWithDims<{
|
|
95
|
+
InstanceId: string;
|
|
96
|
+
}>;
|
|
97
|
+
static cpuUtilizationAverage(dimensions: {
|
|
98
|
+
InstanceId: string;
|
|
99
|
+
}): MetricWithDims<{
|
|
100
|
+
InstanceId: string;
|
|
101
|
+
}>;
|
|
102
|
+
static cpuUtilizationAverage(dimensions: {}): MetricWithDims<{}>;
|
|
103
|
+
static cpuUtilizationAverage(dimensions: {
|
|
104
|
+
AutoScalingGroupName: string;
|
|
105
|
+
}): MetricWithDims<{
|
|
106
|
+
AutoScalingGroupName: string;
|
|
107
|
+
}>;
|
|
108
|
+
static cpuUtilizationAverage(dimensions: {
|
|
109
|
+
ImageId: string;
|
|
110
|
+
}): MetricWithDims<{
|
|
111
|
+
ImageId: string;
|
|
112
|
+
}>;
|
|
113
|
+
static cpuUtilizationAverage(dimensions: {
|
|
114
|
+
InstanceType: string;
|
|
115
|
+
}): MetricWithDims<{
|
|
116
|
+
InstanceType: string;
|
|
117
|
+
}>;
|
|
118
|
+
static diskReadBytesAverage(dimensions: {
|
|
119
|
+
InstanceId: string;
|
|
120
|
+
}): MetricWithDims<{
|
|
121
|
+
InstanceId: string;
|
|
122
|
+
}>;
|
|
123
|
+
static diskReadBytesAverage(dimensions: {}): MetricWithDims<{}>;
|
|
124
|
+
static diskReadBytesAverage(dimensions: {
|
|
125
|
+
AutoScalingGroupName: string;
|
|
126
|
+
}): MetricWithDims<{
|
|
127
|
+
AutoScalingGroupName: string;
|
|
128
|
+
}>;
|
|
129
|
+
static diskReadBytesAverage(dimensions: {
|
|
130
|
+
ImageId: string;
|
|
131
|
+
}): MetricWithDims<{
|
|
132
|
+
ImageId: string;
|
|
133
|
+
}>;
|
|
134
|
+
static diskReadBytesAverage(dimensions: {
|
|
135
|
+
InstanceType: string;
|
|
136
|
+
}): MetricWithDims<{
|
|
137
|
+
InstanceType: string;
|
|
138
|
+
}>;
|
|
139
|
+
static diskReadOpsAverage(dimensions: {
|
|
140
|
+
InstanceId: string;
|
|
141
|
+
}): MetricWithDims<{
|
|
142
|
+
InstanceId: string;
|
|
143
|
+
}>;
|
|
144
|
+
static diskReadOpsAverage(dimensions: {}): MetricWithDims<{}>;
|
|
145
|
+
static diskReadOpsAverage(dimensions: {
|
|
146
|
+
AutoScalingGroupName: string;
|
|
147
|
+
}): MetricWithDims<{
|
|
148
|
+
AutoScalingGroupName: string;
|
|
149
|
+
}>;
|
|
150
|
+
static diskReadOpsAverage(dimensions: {
|
|
151
|
+
ImageId: string;
|
|
152
|
+
}): MetricWithDims<{
|
|
153
|
+
ImageId: string;
|
|
154
|
+
}>;
|
|
155
|
+
static diskReadOpsAverage(dimensions: {
|
|
156
|
+
InstanceType: string;
|
|
157
|
+
}): MetricWithDims<{
|
|
158
|
+
InstanceType: string;
|
|
159
|
+
}>;
|
|
160
|
+
static diskWriteBytesAverage(dimensions: {
|
|
161
|
+
InstanceId: string;
|
|
162
|
+
}): MetricWithDims<{
|
|
163
|
+
InstanceId: string;
|
|
164
|
+
}>;
|
|
165
|
+
static diskWriteBytesAverage(dimensions: {}): MetricWithDims<{}>;
|
|
166
|
+
static diskWriteBytesAverage(dimensions: {
|
|
167
|
+
AutoScalingGroupName: string;
|
|
168
|
+
}): MetricWithDims<{
|
|
169
|
+
AutoScalingGroupName: string;
|
|
170
|
+
}>;
|
|
171
|
+
static diskWriteBytesAverage(dimensions: {
|
|
172
|
+
ImageId: string;
|
|
173
|
+
}): MetricWithDims<{
|
|
174
|
+
ImageId: string;
|
|
175
|
+
}>;
|
|
176
|
+
static diskWriteBytesAverage(dimensions: {
|
|
177
|
+
InstanceType: string;
|
|
178
|
+
}): MetricWithDims<{
|
|
179
|
+
InstanceType: string;
|
|
180
|
+
}>;
|
|
181
|
+
static diskWriteOpsAverage(dimensions: {
|
|
182
|
+
InstanceId: string;
|
|
183
|
+
}): MetricWithDims<{
|
|
184
|
+
InstanceId: string;
|
|
185
|
+
}>;
|
|
186
|
+
static diskWriteOpsAverage(dimensions: {}): MetricWithDims<{}>;
|
|
187
|
+
static diskWriteOpsAverage(dimensions: {
|
|
188
|
+
AutoScalingGroupName: string;
|
|
189
|
+
}): MetricWithDims<{
|
|
190
|
+
AutoScalingGroupName: string;
|
|
191
|
+
}>;
|
|
192
|
+
static diskWriteOpsAverage(dimensions: {
|
|
193
|
+
ImageId: string;
|
|
194
|
+
}): MetricWithDims<{
|
|
195
|
+
ImageId: string;
|
|
196
|
+
}>;
|
|
197
|
+
static diskWriteOpsAverage(dimensions: {
|
|
198
|
+
InstanceType: string;
|
|
199
|
+
}): MetricWithDims<{
|
|
200
|
+
InstanceType: string;
|
|
201
|
+
}>;
|
|
202
|
+
static metadataNoTokenSum(dimensions: {
|
|
203
|
+
InstanceId: string;
|
|
204
|
+
}): MetricWithDims<{
|
|
205
|
+
InstanceId: string;
|
|
206
|
+
}>;
|
|
207
|
+
static metadataNoTokenSum(dimensions: {}): MetricWithDims<{}>;
|
|
208
|
+
static networkInAverage(dimensions: {
|
|
209
|
+
InstanceId: string;
|
|
210
|
+
}): MetricWithDims<{
|
|
211
|
+
InstanceId: string;
|
|
212
|
+
}>;
|
|
213
|
+
static networkInAverage(dimensions: {}): MetricWithDims<{}>;
|
|
214
|
+
static networkInAverage(dimensions: {
|
|
215
|
+
AutoScalingGroupName: string;
|
|
216
|
+
}): MetricWithDims<{
|
|
217
|
+
AutoScalingGroupName: string;
|
|
218
|
+
}>;
|
|
219
|
+
static networkInAverage(dimensions: {
|
|
220
|
+
ImageId: string;
|
|
221
|
+
}): MetricWithDims<{
|
|
222
|
+
ImageId: string;
|
|
223
|
+
}>;
|
|
224
|
+
static networkInAverage(dimensions: {
|
|
225
|
+
InstanceType: string;
|
|
226
|
+
}): MetricWithDims<{
|
|
227
|
+
InstanceType: string;
|
|
228
|
+
}>;
|
|
229
|
+
static networkOutAverage(dimensions: {
|
|
230
|
+
InstanceId: string;
|
|
231
|
+
}): MetricWithDims<{
|
|
232
|
+
InstanceId: string;
|
|
233
|
+
}>;
|
|
234
|
+
static networkOutAverage(dimensions: {}): MetricWithDims<{}>;
|
|
235
|
+
static networkOutAverage(dimensions: {
|
|
236
|
+
AutoScalingGroupName: string;
|
|
237
|
+
}): MetricWithDims<{
|
|
238
|
+
AutoScalingGroupName: string;
|
|
239
|
+
}>;
|
|
240
|
+
static networkOutAverage(dimensions: {
|
|
241
|
+
ImageId: string;
|
|
242
|
+
}): MetricWithDims<{
|
|
243
|
+
ImageId: string;
|
|
244
|
+
}>;
|
|
245
|
+
static networkOutAverage(dimensions: {
|
|
246
|
+
InstanceType: string;
|
|
247
|
+
}): MetricWithDims<{
|
|
248
|
+
InstanceType: string;
|
|
249
|
+
}>;
|
|
250
|
+
static networkPacketsInAverage(dimensions: {
|
|
251
|
+
InstanceId: string;
|
|
252
|
+
}): MetricWithDims<{
|
|
253
|
+
InstanceId: string;
|
|
254
|
+
}>;
|
|
255
|
+
static networkPacketsInAverage(dimensions: {}): MetricWithDims<{}>;
|
|
256
|
+
static networkPacketsInAverage(dimensions: {
|
|
257
|
+
AutoScalingGroupName: string;
|
|
258
|
+
}): MetricWithDims<{
|
|
259
|
+
AutoScalingGroupName: string;
|
|
260
|
+
}>;
|
|
261
|
+
static networkPacketsOutAverage(dimensions: {
|
|
262
|
+
InstanceId: string;
|
|
263
|
+
}): MetricWithDims<{
|
|
264
|
+
InstanceId: string;
|
|
265
|
+
}>;
|
|
266
|
+
static networkPacketsOutAverage(dimensions: {}): MetricWithDims<{}>;
|
|
267
|
+
static networkPacketsOutAverage(dimensions: {
|
|
268
|
+
AutoScalingGroupName: string;
|
|
269
|
+
}): MetricWithDims<{
|
|
270
|
+
AutoScalingGroupName: string;
|
|
271
|
+
}>;
|
|
272
|
+
static statusCheckFailedSum(dimensions: {
|
|
273
|
+
InstanceId: string;
|
|
274
|
+
}): MetricWithDims<{
|
|
275
|
+
InstanceId: string;
|
|
276
|
+
}>;
|
|
277
|
+
static statusCheckFailedInstanceSum(dimensions: {
|
|
278
|
+
InstanceId: string;
|
|
279
|
+
}): MetricWithDims<{
|
|
280
|
+
InstanceId: string;
|
|
281
|
+
}>;
|
|
282
|
+
static statusCheckFailedSystemSum(dimensions: {
|
|
283
|
+
InstanceId: string;
|
|
284
|
+
}): MetricWithDims<{
|
|
285
|
+
InstanceId: string;
|
|
286
|
+
}>;
|
|
287
|
+
}
|
|
288
|
+
export declare class CWAgentMetrics {
|
|
289
|
+
static cpuUsageIdleAverage(dimensions: {
|
|
290
|
+
InstanceId: string;
|
|
291
|
+
}): MetricWithDims<{
|
|
292
|
+
InstanceId: string;
|
|
293
|
+
}>;
|
|
294
|
+
static cpuUsageIowaitAverage(dimensions: {
|
|
295
|
+
InstanceId: string;
|
|
296
|
+
}): MetricWithDims<{
|
|
297
|
+
InstanceId: string;
|
|
298
|
+
}>;
|
|
299
|
+
static cpuUsageStealAverage(dimensions: {
|
|
300
|
+
InstanceId: string;
|
|
301
|
+
}): MetricWithDims<{
|
|
302
|
+
InstanceId: string;
|
|
303
|
+
}>;
|
|
304
|
+
static cpuUsageSystemAverage(dimensions: {
|
|
305
|
+
InstanceId: string;
|
|
306
|
+
}): MetricWithDims<{
|
|
307
|
+
InstanceId: string;
|
|
308
|
+
}>;
|
|
309
|
+
static cpuUsageUserAverage(dimensions: {
|
|
310
|
+
InstanceId: string;
|
|
311
|
+
}): MetricWithDims<{
|
|
312
|
+
InstanceId: string;
|
|
313
|
+
}>;
|
|
314
|
+
static diskInodesFreeSum(dimensions: {
|
|
315
|
+
InstanceId: string;
|
|
316
|
+
}): MetricWithDims<{
|
|
317
|
+
InstanceId: string;
|
|
318
|
+
}>;
|
|
319
|
+
static diskInodesTotalSum(dimensions: {
|
|
320
|
+
InstanceId: string;
|
|
321
|
+
}): MetricWithDims<{
|
|
322
|
+
InstanceId: string;
|
|
323
|
+
}>;
|
|
324
|
+
static diskInodesUsedSum(dimensions: {
|
|
325
|
+
InstanceId: string;
|
|
326
|
+
}): MetricWithDims<{
|
|
327
|
+
InstanceId: string;
|
|
328
|
+
}>;
|
|
329
|
+
static diskUsedPercentAverage(dimensions: {
|
|
330
|
+
InstanceId: string;
|
|
331
|
+
}): MetricWithDims<{
|
|
332
|
+
InstanceId: string;
|
|
333
|
+
}>;
|
|
334
|
+
static diskioIoTimeAverage(dimensions: {
|
|
335
|
+
InstanceId: string;
|
|
336
|
+
}): MetricWithDims<{
|
|
337
|
+
InstanceId: string;
|
|
338
|
+
}>;
|
|
339
|
+
static diskioReadBytesAverage(dimensions: {
|
|
340
|
+
InstanceId: string;
|
|
341
|
+
}): MetricWithDims<{
|
|
342
|
+
InstanceId: string;
|
|
343
|
+
}>;
|
|
344
|
+
static diskioReadsAverage(dimensions: {
|
|
345
|
+
InstanceId: string;
|
|
346
|
+
}): MetricWithDims<{
|
|
347
|
+
InstanceId: string;
|
|
348
|
+
}>;
|
|
349
|
+
static diskioWriteBytesAverage(dimensions: {
|
|
350
|
+
InstanceId: string;
|
|
351
|
+
}): MetricWithDims<{
|
|
352
|
+
InstanceId: string;
|
|
353
|
+
}>;
|
|
354
|
+
static diskioWritesAverage(dimensions: {
|
|
355
|
+
InstanceId: string;
|
|
356
|
+
}): MetricWithDims<{
|
|
357
|
+
InstanceId: string;
|
|
358
|
+
}>;
|
|
359
|
+
static memCachedAverage(dimensions: {
|
|
360
|
+
InstanceId: string;
|
|
361
|
+
}): MetricWithDims<{
|
|
362
|
+
InstanceId: string;
|
|
363
|
+
}>;
|
|
364
|
+
static memTotalAverage(dimensions: {
|
|
365
|
+
InstanceId: string;
|
|
366
|
+
}): MetricWithDims<{
|
|
367
|
+
InstanceId: string;
|
|
368
|
+
}>;
|
|
369
|
+
static memUsedAverage(dimensions: {
|
|
370
|
+
InstanceId: string;
|
|
371
|
+
}): MetricWithDims<{
|
|
372
|
+
InstanceId: string;
|
|
373
|
+
}>;
|
|
374
|
+
static memUsedPercentAverage(dimensions: {
|
|
375
|
+
InstanceId: string;
|
|
376
|
+
}): MetricWithDims<{
|
|
377
|
+
InstanceId: string;
|
|
378
|
+
}>;
|
|
379
|
+
static netstatTcpEstablishedSum(dimensions: {
|
|
380
|
+
InstanceId: string;
|
|
381
|
+
}): MetricWithDims<{
|
|
382
|
+
InstanceId: string;
|
|
383
|
+
}>;
|
|
384
|
+
static netstatTcpTimeWaitSum(dimensions: {
|
|
385
|
+
InstanceId: string;
|
|
386
|
+
}): MetricWithDims<{
|
|
387
|
+
InstanceId: string;
|
|
388
|
+
}>;
|
|
389
|
+
static swapUsedPercentAverage(dimensions: {
|
|
390
|
+
InstanceId: string;
|
|
391
|
+
}): MetricWithDims<{
|
|
392
|
+
InstanceId: string;
|
|
393
|
+
}>;
|
|
394
|
+
static tcPv4ConnectionsEstablishedSum(dimensions: {
|
|
395
|
+
InstanceId: string;
|
|
396
|
+
}): MetricWithDims<{
|
|
397
|
+
InstanceId: string;
|
|
398
|
+
}>;
|
|
399
|
+
static tcPv6ConnectionsEstablishedSum(dimensions: {
|
|
400
|
+
InstanceId: string;
|
|
401
|
+
}): MetricWithDims<{
|
|
402
|
+
InstanceId: string;
|
|
403
|
+
}>;
|
|
404
|
+
static memoryCommittedBytesInUseAverage(dimensions: {
|
|
405
|
+
InstanceId: string;
|
|
406
|
+
}): MetricWithDims<{
|
|
407
|
+
InstanceId: string;
|
|
408
|
+
}>;
|
|
409
|
+
static processorIdleTimeAverage(dimensions: {
|
|
410
|
+
InstanceId: string;
|
|
411
|
+
}): MetricWithDims<{
|
|
412
|
+
InstanceId: string;
|
|
413
|
+
}>;
|
|
414
|
+
static processorInterruptTimeAverage(dimensions: {
|
|
415
|
+
InstanceId: string;
|
|
416
|
+
}): MetricWithDims<{
|
|
417
|
+
InstanceId: string;
|
|
418
|
+
}>;
|
|
419
|
+
static processorUserTimeAverage(dimensions: {
|
|
420
|
+
InstanceId: string;
|
|
421
|
+
}): MetricWithDims<{
|
|
422
|
+
InstanceId: string;
|
|
423
|
+
}>;
|
|
424
|
+
static logicalDiskFreeSpaceAverage(dimensions: {
|
|
425
|
+
InstanceId: string;
|
|
426
|
+
}): MetricWithDims<{
|
|
427
|
+
InstanceId: string;
|
|
428
|
+
}>;
|
|
429
|
+
static pagingFileUsageAverage(dimensions: {
|
|
430
|
+
InstanceId: string;
|
|
431
|
+
}): MetricWithDims<{
|
|
432
|
+
InstanceId: string;
|
|
433
|
+
}>;
|
|
434
|
+
}
|
|
435
|
+
export declare class NATGatewayMetrics {
|
|
436
|
+
static activeConnectionCountMaximum(dimensions: {
|
|
437
|
+
NatGatewayId: string;
|
|
438
|
+
}): MetricWithDims<{
|
|
439
|
+
NatGatewayId: string;
|
|
440
|
+
}>;
|
|
441
|
+
static packetsDropCountSum(dimensions: {
|
|
442
|
+
NatGatewayId: string;
|
|
443
|
+
}): MetricWithDims<{
|
|
444
|
+
NatGatewayId: string;
|
|
445
|
+
}>;
|
|
446
|
+
static bytesInFromDestinationSum(dimensions: {
|
|
447
|
+
NatGatewayId: string;
|
|
448
|
+
}): MetricWithDims<{
|
|
449
|
+
NatGatewayId: string;
|
|
450
|
+
}>;
|
|
451
|
+
static bytesInFromSourceSum(dimensions: {
|
|
452
|
+
NatGatewayId: string;
|
|
453
|
+
}): MetricWithDims<{
|
|
454
|
+
NatGatewayId: string;
|
|
455
|
+
}>;
|
|
456
|
+
static bytesOutToDestinationSum(dimensions: {
|
|
457
|
+
NatGatewayId: string;
|
|
458
|
+
}): MetricWithDims<{
|
|
459
|
+
NatGatewayId: string;
|
|
460
|
+
}>;
|
|
461
|
+
static bytesOutToSourceSum(dimensions: {
|
|
462
|
+
NatGatewayId: string;
|
|
463
|
+
}): MetricWithDims<{
|
|
464
|
+
NatGatewayId: string;
|
|
465
|
+
}>;
|
|
466
|
+
static connectionAttemptCountSum(dimensions: {
|
|
467
|
+
NatGatewayId: string;
|
|
468
|
+
}): MetricWithDims<{
|
|
469
|
+
NatGatewayId: string;
|
|
470
|
+
}>;
|
|
471
|
+
static connectionEstablishedCountSum(dimensions: {
|
|
472
|
+
NatGatewayId: string;
|
|
473
|
+
}): MetricWithDims<{
|
|
474
|
+
NatGatewayId: string;
|
|
475
|
+
}>;
|
|
476
|
+
static errorPortAllocationSum(dimensions: {
|
|
477
|
+
NatGatewayId: string;
|
|
478
|
+
}): MetricWithDims<{
|
|
479
|
+
NatGatewayId: string;
|
|
480
|
+
}>;
|
|
481
|
+
static idleTimeoutCountSum(dimensions: {
|
|
482
|
+
NatGatewayId: string;
|
|
483
|
+
}): MetricWithDims<{
|
|
484
|
+
NatGatewayId: string;
|
|
485
|
+
}>;
|
|
486
|
+
static packetsInFromDestinationSum(dimensions: {
|
|
487
|
+
NatGatewayId: string;
|
|
488
|
+
}): MetricWithDims<{
|
|
489
|
+
NatGatewayId: string;
|
|
490
|
+
}>;
|
|
491
|
+
static packetsInFromSourceSum(dimensions: {
|
|
492
|
+
NatGatewayId: string;
|
|
493
|
+
}): MetricWithDims<{
|
|
494
|
+
NatGatewayId: string;
|
|
495
|
+
}>;
|
|
496
|
+
static packetsOutToDestinationSum(dimensions: {
|
|
497
|
+
NatGatewayId: string;
|
|
498
|
+
}): MetricWithDims<{
|
|
499
|
+
NatGatewayId: string;
|
|
500
|
+
}>;
|
|
501
|
+
static packetsOutToSourceSum(dimensions: {
|
|
502
|
+
NatGatewayId: string;
|
|
503
|
+
}): MetricWithDims<{
|
|
504
|
+
NatGatewayId: string;
|
|
505
|
+
}>;
|
|
506
|
+
}
|
|
507
|
+
export declare class TransitGatewayMetrics {
|
|
508
|
+
static bytesInSum(dimensions: {
|
|
509
|
+
TransitGateway: string;
|
|
510
|
+
}): MetricWithDims<{
|
|
511
|
+
TransitGateway: string;
|
|
512
|
+
}>;
|
|
513
|
+
static bytesOutSum(dimensions: {
|
|
514
|
+
TransitGateway: string;
|
|
515
|
+
}): MetricWithDims<{
|
|
516
|
+
TransitGateway: string;
|
|
517
|
+
}>;
|
|
518
|
+
static packetDropCountBlackholeSum(dimensions: {
|
|
519
|
+
TransitGateway: string;
|
|
520
|
+
}): MetricWithDims<{
|
|
521
|
+
TransitGateway: string;
|
|
522
|
+
}>;
|
|
523
|
+
static packetDropCountNoRouteSum(dimensions: {
|
|
524
|
+
TransitGateway: string;
|
|
525
|
+
}): MetricWithDims<{
|
|
526
|
+
TransitGateway: string;
|
|
527
|
+
}>;
|
|
528
|
+
static packetsInSum(dimensions: {
|
|
529
|
+
TransitGateway: string;
|
|
530
|
+
}): MetricWithDims<{
|
|
531
|
+
TransitGateway: string;
|
|
532
|
+
}>;
|
|
533
|
+
static packetsOutSum(dimensions: {
|
|
534
|
+
TransitGateway: string;
|
|
535
|
+
}): MetricWithDims<{
|
|
536
|
+
TransitGateway: string;
|
|
537
|
+
}>;
|
|
538
|
+
}
|
|
539
|
+
export declare class VPNMetrics {
|
|
540
|
+
static tunnelDataInSum(dimensions: {
|
|
541
|
+
VpnId: string;
|
|
542
|
+
}): MetricWithDims<{
|
|
543
|
+
VpnId: string;
|
|
544
|
+
}>;
|
|
545
|
+
static tunnelStateAverage(dimensions: {
|
|
546
|
+
VpnId: string;
|
|
547
|
+
}): MetricWithDims<{
|
|
548
|
+
VpnId: string;
|
|
549
|
+
}>;
|
|
550
|
+
static tunnelDataOutSum(dimensions: {
|
|
551
|
+
VpnId: string;
|
|
552
|
+
}): MetricWithDims<{
|
|
553
|
+
VpnId: string;
|
|
554
|
+
}>;
|
|
555
|
+
}
|