id: 1 unit: constructor() file: src/core/cdk/src/initial-setup.ts start line: 85 end line: 1158 size: 937 LOC McCabe index: 4 number of parameters: 3 id: 2 unit: constructor() file: src/installer/cdk/src/index.ts start line: 67 end line: 686 size: 521 LOC McCabe index: 3 number of parameters: 3 id: 3 unit: constructor() file: src/deployments/cdk/src/common/vpc.ts start line: 177 end line: 741 size: 499 LOC McCabe index: 101 number of parameters: 3 id: 4 unit: export async function deploy() file: src/deployments/cdk/src/apps/phase-1.ts start line: 88 end line: 604 size: 430 LOC McCabe index: 54 number of parameters: 6 id: 5 unit: export async function deploy() file: src/deployments/cdk/src/apps/phase-2.ts start line: 66 end line: 489 size: 346 LOC McCabe index: 30 number of parameters: 8 id: 6 unit: export async function step2() file: src/deployments/cdk/src/deployments/central-endpoints/step-2.ts start line: 57 end line: 408 size: 309 LOC McCabe index: 50 number of parameters: 1 id: 7 unit: def impl() file: reference-artifacts/Custom-Scripts/Update-Scripts/v1.3.8_to_v1.5.0/update.py start line: 0 end line: 0 size: 297 LOC McCabe index: 78 number of parameters: 5 id: 8 unit: constructor() file: src/deployments/cdk/src/common/iam-assets.ts start line: 38 end line: 323 size: 254 LOC McCabe index: 33 number of parameters: 3 id: 9 unit: constructor() file: src/deployments/cdk/src/common/ad-users-groups.ts start line: 48 end line: 332 size: 252 LOC McCabe index: 2 number of parameters: 3 id: 10 unit: def load_to_ddb() file: reference-artifacts/Custom-Scripts/Update-Scripts/v1.3.8_to_v1.5.0/update.py start line: 0 end line: 0 size: 247 LOC McCabe index: 24 number of parameters: 3 id: 11 unit: constructor() file: src/core/cdk/src/tasks/create-stack-set-task.ts start line: 33 end line: 294 size: 232 LOC McCabe index: 1 number of parameters: 3 id: 12 unit: async function assignDynamicCidrs() file: src/core/runtime/src/get-baseline-step.ts start line: 127 end line: 384 size: 205 LOC McCabe index: 64 number of parameters: 1 id: 13 unit: export async function saveNetworkOutputs() file: src/core/runtime/src/save-outputs-to-ssm/network-outputs.ts start line: 55 end line: 275 size: 199 LOC McCabe index: 44 number of parameters: 1 id: 14 unit: export async function step3() file: src/deployments/cdk/src/deployments/central-endpoints/step-3.ts start line: 42 end line: 256 size: 194 LOC McCabe index: 40 number of parameters: 1 id: 15 unit: export async function step3() file: src/deployments/cdk/src/deployments/vpc/step-3.ts start line: 42 end line: 252 size: 190 LOC McCabe index: 32 number of parameters: 1 id: 16 unit: export async function createRule() file: src/deployments/cdk/src/deployments/config/create.ts start line: 47 end line: 251 size: 187 LOC McCabe index: 38 number of parameters: 1 id: 17 unit: export async function step4() file: src/deployments/cdk/src/deployments/central-endpoints/step-4.ts start line: 45 end line: 252 size: 186 LOC McCabe index: 32 number of parameters: 1 id: 18 unit: export async function step2() file: src/deployments/cdk/src/deployments/opensearch-siem/step-2.ts start line: 61 end line: 264 size: 176 LOC McCabe index: 15 number of parameters: 1 id: 19 unit: export async function deploy() file: src/deployments/cdk/src/apps/phase-5.ts start line: 45 end line: 256 size: 168 LOC McCabe index: 17 number of parameters: 5 id: 20 unit: async function createCustomerGateways() file: src/deployments/cdk/src/deployments/firewall/cluster/step-2.ts start line: 116 end line: 310 size: 165 LOC McCabe index: 26 number of parameters: 1 id: 21 unit: export async function deploy() file: src/deployments/cdk/src/apps/phase-0.ts start line: 64 end line: 269 size: 163 LOC McCabe index: 4 number of parameters: 7 id: 22 unit: export async function saveElbOutputs() file: src/core/runtime/src/save-outputs-to-ssm/elb-outputs.ts start line: 43 end line: 248 size: 160 LOC McCabe index: 24 number of parameters: 1 id: 23 unit: async function createFirewallCluster() file: src/deployments/cdk/src/deployments/firewall/cluster/step-3.ts start line: 203 end line: 384 size: 155 LOC McCabe index: 22 number of parameters: 1 id: 24 unit: async function createFirewallCluster() file: src/deployments/cdk/src/deployments/firewall/cluster/step-4.ts start line: 146 end line: 318 size: 147 LOC McCabe index: 11 number of parameters: 1 id: 25 unit: export async function step3() file: src/deployments/cdk/src/deployments/transit-gateway/step-3.ts start line: 36 end line: 192 size: 144 LOC McCabe index: 27 number of parameters: 1 id: 26 unit: constructor() file: src/core/cdk/src/tasks/cdk-bootstrap.ts start line: 41 end line: 188 size: 137 LOC McCabe index: 3 number of parameters: 3 id: 27 unit: export async function saveKmsKeys() file: src/core/runtime/src/save-outputs-to-ssm/encrypt-utils.ts start line: 40 end line: 195 size: 135 LOC McCabe index: 13 number of parameters: 7 id: 28 unit: function createCentralLogBucket() file: src/deployments/cdk/src/deployments/defaults/step-1.ts start line: 181 end line: 331 size: 130 LOC McCabe index: 1 number of parameters: 1 id: 29 unit: export async function compareAcceleratorConfig() file: src/lib/common-config/src/compare/main.ts start line: 23 end line: 181 size: 126 LOC McCabe index: 24 number of parameters: 1 id: 30 unit: export async function step1() file: src/deployments/cdk/src/deployments/opensearch-siem/step-1.ts start line: 47 end line: 188 size: 121 LOC McCabe index: 11 number of parameters: 1 id: 31 unit: constructor() file: src/lib/cdk-constructs/src/database/opensearch.ts start line: 41 end line: 171 size: 120 LOC McCabe index: 1 number of parameters: 3 id: 32 unit: label: tr() file: src/ui/src/pages/wizards/steps/select-security-services.tsx start line: 116 end line: 248 size: 118 LOC McCabe index: 5 number of parameters: 1 id: 33 unit: async createAccount() file: src/lib/common/src/aws/account-vending-machine.ts start line: 38 end line: 163 size: 117 LOC McCabe index: 8 number of parameters: 1 id: 34 unit: description: tr() file: src/ui/src/pages/wizards/steps/select-security-services.tsx start line: 117 end line: 248 size: 117 LOC McCabe index: 5 number of parameters: 1 id: 35 unit: export function ExportModal() file: src/ui/src/components/export-modal.tsx start line: 70 end line: 190 size: 116 LOC McCabe index: 8 number of parameters: 1 id: 36 unit: async function updateCidrs() file: src/core/runtime/src/store-commit-id-step.ts start line: 111 end line: 224 size: 114 LOC McCabe index: 16 number of parameters: 1 id: 37 unit: async function cwlSettingsInLogArchive() file: src/deployments/cdk/src/deployments/central-services/central-logging-s3/step-1.ts start line: 99 end line: 231 size: 114 LOC McCabe index: 2 number of parameters: 1 id: 38 unit: constructor() file: src/core/cdk/src/tasks/create-organization-account-task.ts start line: 32 end line: 155 size: 112 LOC McCabe index: 1 number of parameters: 3 id: 39 unit: constructor() file: src/deployments/cdk/src/common/nfw.ts start line: 54 end line: 180 size: 112 LOC McCabe index: 10 number of parameters: 3 id: 40 unit: export async function deploy() file: src/deployments/cdk/src/apps/phase-3.ts start line: 42 end line: 185 size: 110 LOC McCabe index: 4 number of parameters: 5 id: 41 unit: function createSnsTopics() file: src/deployments/cdk/src/deployments/sns/step-1.ts start line: 150 end line: 280 size: 110 LOC McCabe index: 17 number of parameters: 1 id: 42 unit: constructor() file: src/deployments/cdk/src/common/nacl.ts start line: 38 end line: 147 size: 108 LOC McCabe index: 22 number of parameters: 3 id: 43 unit: export function toJsonDefinition() file: src/lib/docs-gen/src/helpers/json-schema.ts start line: 51 end line: 164 size: 107 LOC McCabe index: 19 number of parameters: 2 id: 44 unit: export async function saveIamPolicy() file: src/core/runtime/src/save-outputs-to-ssm/iam-utils.ts start line: 208 end line: 318 size: 104 LOC McCabe index: 20 number of parameters: 6 id: 45 unit: export async function step1() file: src/deployments/cdk/src/deployments/sns/step-1.ts start line: 40 end line: 144 size: 103 LOC McCabe index: 21 number of parameters: 1 id: 46 unit: export async function createDocument() file: src/deployments/cdk/src/deployments/ssm/create-document.ts start line: 36 end line: 140 size: 101 LOC McCabe index: 17 number of parameters: 1 id: 47 unit: async function onUpdate() file: src/lib/custom-resources/cdk-associate-hosted-zones/runtime/src/index.ts start line: 163 end line: 277 size: 99 LOC McCabe index: 21 number of parameters: 1 id: 48 unit: export async function saveFirewallReplacementOutputs() file: src/core/runtime/src/save-outputs-to-ssm/firewall-outputs.ts start line: 42 end line: 153 size: 99 LOC McCabe index: 15 number of parameters: 1 id: 49 unit: export async function step1() file: src/deployments/cdk/src/deployments/alb/step-1.ts start line: 53 end line: 157 size: 99 LOC McCabe index: 28 number of parameters: 1 id: 50 unit: export function getRemediationParameters() file: src/deployments/cdk/src/deployments/config/create.ts start line: 264 end line: 366 size: 99 LOC McCabe index: 11 number of parameters: 1 id: 51 unit: export function toJsonDefinition() file: src/lib/io-ts-json-schema-gen/src/json-schema.ts start line: 64 end line: 164 size: 95 LOC McCabe index: 20 number of parameters: 2 id: 52 unit: def cleanup_guardduty() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 92 LOC McCabe index: 16 number of parameters: 5 id: 53 unit: async function saveVpcOutputs() file: src/core/runtime/src/save-outputs-to-ssm/network-outputs.ts start line: 277 end line: 370 size: 92 LOC McCabe index: 16 number of parameters: 1 id: 54 unit: async function updateRenamedOrganizationalUnits() file: src/core/runtime/src/ou-validation.ts start line: 537 end line: 637 size: 91 LOC McCabe index: 13 number of parameters: 1 id: 55 unit: export async function step1() file: src/deployments/cdk/src/deployments/artifacts/step-1.ts start line: 30 end line: 138 size: 91 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: async function saveElbOutputsImpl() file: src/core/runtime/src/save-outputs-to-ssm/elb-outputs.ts start line: 250 end line: 341 size: 90 LOC McCabe index: 19 number of parameters: 1 id: 57 unit: export async function addReplacementsToUserData() file: src/deployments/cdk/src/deployments/firewall/cluster/step-4.ts start line: 320 end line: 412 size: 90 LOC McCabe index: 14 number of parameters: 1 id: 58 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 49 end line: 196 size: 89 LOC McCabe index: 23 number of parameters: 1 id: 59 unit: export async function step3() file: src/deployments/cdk/src/deployments/firewall/cluster/step-3.ts start line: 61 end line: 186 size: 89 LOC McCabe index: 28 number of parameters: 1 id: 60 unit: async deployStack() file: src/deployments/cdk/toolkit.ts start line: 200 end line: 295 size: 88 LOC McCabe index: 12 number of parameters: 2 id: 61 unit: export function createAlb() file: src/deployments/cdk/src/deployments/alb/step-1.ts start line: 159 end line: 275 size: 88 LOC McCabe index: 11 number of parameters: 1 id: 62 unit: async function loadAccountsAndOrganizationsFromConfig() file: src/deployments/runtime/src/ou-validation-events/policy-changes.ts start line: 261 end line: 368 size: 88 LOC McCabe index: 16 number of parameters: 1 id: 63 unit: export function createOpenSearchCluster() file: src/deployments/cdk/src/deployments/opensearch-siem/step-2.ts start line: 388 end line: 484 size: 86 LOC McCabe index: 1 number of parameters: 12 id: 64 unit: constructor() file: src/core/cdk/src/tasks/run-across-accounts-task.ts start line: 37 end line: 132 size: 84 LOC McCabe index: 4 number of parameters: 3 id: 65 unit: constructor() file: src/core/cdk/src/tasks/store-outputs-to-ssm-task.ts start line: 35 end line: 127 size: 84 LOC McCabe index: 1 number of parameters: 3 id: 66 unit: constructor() file: src/deployments/cdk/src/common/peering-connection.ts start line: 45 end line: 132 size: 84 LOC McCabe index: 22 number of parameters: 3 id: 67 unit: export async function createAccount() file: src/deployments/cdk/src/deployments/ou-validation-events/create-account.ts start line: 35 end line: 136 size: 82 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: constructor() file: src/deployments/cdk/src/common/alb-ip-forwarding.ts start line: 32 end line: 119 size: 81 LOC McCabe index: 2 number of parameters: 3 id: 69 unit: export async function step1() file: src/deployments/cdk/src/deployments/cloud-trail/step-1.ts start line: 45 end line: 151 size: 80 LOC McCabe index: 8 number of parameters: 1 id: 70 unit: constructor() file: src/core/cdk/src/tasks/create-control-tower-account-task.ts start line: 32 end line: 120 size: 79 LOC McCabe index: 1 number of parameters: 3 id: 71 unit: export async function step5() file: src/deployments/cdk/src/deployments/central-endpoints/step-5.ts start line: 39 end line: 135 size: 79 LOC McCabe index: 12 number of parameters: 1 id: 72 unit: export function ImportModal() file: src/ui/src/components/import-modal.tsx start line: 62 end line: 148 size: 78 LOC McCabe index: 14 number of parameters: 1 id: 73 unit: export function createGlb() file: src/deployments/cdk/src/deployments/alb/step-1.ts start line: 277 end line: 377 size: 78 LOC McCabe index: 8 number of parameters: 1 id: 74 unit: function createFlowLogs() file: src/deployments/cdk/src/deployments/vpc/step-2.ts start line: 43 end line: 129 size: 78 LOC McCabe index: 11 number of parameters: 1 id: 75 unit: export async function step1() file: src/deployments/cdk/src/deployments/transit-gateway/step-1.ts start line: 32 end line: 122 size: 78 LOC McCabe index: 25 number of parameters: 1 id: 76 unit: export async function saveIamOutputs() file: src/core/runtime/src/save-outputs-to-ssm/iam-outputs.ts start line: 49 end line: 140 size: 77 LOC McCabe index: 3 number of parameters: 1 id: 77 unit: export function createAsg() file: src/deployments/cdk/src/deployments/rsyslog/step-2.ts start line: 143 end line: 230 size: 76 LOC McCabe index: 7 number of parameters: 8 id: 78 unit: function createDefaultS3Buckets() file: src/deployments/cdk/src/deployments/defaults/step-2.ts start line: 37 end line: 134 size: 75 LOC McCabe index: 4 number of parameters: 1 id: 79 unit: export async function createPeeringAttachment() file: src/deployments/cdk/src/deployments/transit-gateway/peering.ts start line: 34 end line: 120 size: 75 LOC McCabe index: 10 number of parameters: 1 id: 80 unit: async function removeAccountConfig() file: src/deployments/runtime/src/ou-validation-events/remove-account-from-organization.ts start line: 66 end line: 170 size: 75 LOC McCabe index: 11 number of parameters: 1 id: 81 unit: export async function deploy() file: src/deployments/cdk/src/apps/phase--1.ts start line: 35 end line: 139 size: 74 LOC McCabe index: 1 number of parameters: 3 id: 82 unit: export async function step1() file: src/deployments/cdk/src/deployments/central-endpoints/step-1.ts start line: 36 end line: 122 size: 74 LOC McCabe index: 8 number of parameters: 1 id: 83 unit: export async function createCwlCentralLoggingRoles() file: src/deployments/cdk/src/deployments/iam/cwl-central-logging-roles.ts start line: 28 end line: 117 size: 74 LOC McCabe index: 5 number of parameters: 1 id: 84 unit: export async function saveEventOutputs() file: src/core/runtime/src/save-outputs-to-ssm/event-outputs.ts start line: 38 end line: 124 size: 73 LOC McCabe index: 12 number of parameters: 1 id: 85 unit: export async function deploy() file: src/deployments/cdk/src/apps/phase-4.ts start line: 43 end line: 142 size: 73 LOC McCabe index: 1 number of parameters: 5 id: 86 unit: function createActiveDirectory() file: src/deployments/cdk/src/deployments/mad/step-2.ts start line: 49 end line: 130 size: 72 LOC McCabe index: 9 number of parameters: 1 id: 87 unit: function createCentralBucketCopy() file: src/deployments/cdk/src/deployments/defaults/step-1.ts start line: 89 end line: 176 size: 72 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: constructor() file: src/deployments/cdk/src/common/security-group.ts start line: 88 end line: 164 size: 71 LOC McCabe index: 19 number of parameters: 3 id: 89 unit: export async function step1() file: src/deployments/cdk/src/deployments/mad/step-1.ts start line: 33 end line: 117 size: 71 LOC McCabe index: 7 number of parameters: 1 id: 90 unit: export async function step4() file: src/deployments/cdk/src/deployments/alb/step-4.ts start line: 27 end line: 99 size: 71 LOC McCabe index: 20 number of parameters: 1 id: 91 unit: export async function validateDDBChanges() file: src/lib/common-config/src/compare/validate.ts start line: 561 end line: 635 size: 70 LOC McCabe index: 16 number of parameters: 5 id: 92 unit: async function loadConfigFromS3() file: src/core/runtime/src/get-or-create-config.ts start line: 233 end line: 308 size: 70 LOC McCabe index: 7 number of parameters: 1 id: 93 unit: export async function saveSubnets() file: src/core/runtime/src/save-outputs-to-ssm/network-outputs.ts start line: 440 end line: 512 size: 70 LOC McCabe index: 13 number of parameters: 1 id: 94 unit: export async function step1() file: src/deployments/cdk/src/deployments/ssm/session-manager.ts start line: 42 end line: 125 size: 69 LOC McCabe index: 8 number of parameters: 1 id: 95 unit: export async function step3() file: src/deployments/cdk/src/deployments/defaults/step-3.ts start line: 34 end line: 124 size: 69 LOC McCabe index: 11 number of parameters: 1 id: 96 unit: async function createOrganizstionalUnits() file: src/core/runtime/src/ou-validation.ts start line: 647 end line: 717 size: 67 LOC McCabe index: 8 number of parameters: 3 id: 97 unit: constructor() file: src/deployments/cdk/src/common/vpc-subnet-sharing.ts start line: 77 end line: 158 size: 67 LOC McCabe index: 9 number of parameters: 3 id: 98 unit: function createKeyAndSecretPolicies() file: src/deployments/cdk/src/deployments/mad/step-2.ts start line: 136 end line: 217 size: 66 LOC McCabe index: 7 number of parameters: 1 id: 99 unit: def cleanup() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 65 LOC McCabe index: 11 number of parameters: 0 id: 100 unit: export async function saveIamUsers() file: src/core/runtime/src/save-outputs-to-ssm/iam-utils.ts start line: 64 end line: 134 size: 65 LOC McCabe index: 14 number of parameters: 6 id: 101 unit: export async function saveIamGroups() file: src/core/runtime/src/save-outputs-to-ssm/iam-utils.ts start line: 136 end line: 206 size: 65 LOC McCabe index: 14 number of parameters: 6 id: 102 unit: export async function saveIamRoles() file: src/core/runtime/src/save-outputs-to-ssm/iam-utils.ts start line: 320 end line: 390 size: 65 LOC McCabe index: 14 number of parameters: 6 id: 103 unit: export async function saveSecurityGroups() file: src/core/runtime/src/save-outputs-to-ssm/network-outputs.ts start line: 372 end line: 438 size: 65 LOC McCabe index: 9 number of parameters: 1 id: 104 unit: async function updateVpcCidr() file: src/core/runtime/src/get-baseline-step.ts start line: 407 end line: 471 size: 65 LOC McCabe index: 1 number of parameters: 3 id: 105 unit: async function updateSubnetCidr() file: src/core/runtime/src/get-baseline-step.ts start line: 473 end line: 537 size: 65 LOC McCabe index: 1 number of parameters: 3 id: 106 unit: constructor() file: src/deployments/cdk/src/common/interface-endpoints.ts start line: 41 end line: 123 size: 65 LOC McCabe index: 8 number of parameters: 3 id: 107 unit: export async function step1() file: src/deployments/cdk/src/deployments/rsyslog/step-1.ts start line: 31 end line: 109 size: 65 LOC McCabe index: 7 number of parameters: 1 id: 108 unit: async function validateScpsCount() file: src/core/runtime/src/configuration/load-organizations-config.ts start line: 374 end line: 439 size: 64 LOC McCabe index: 11 number of parameters: 4 id: 109 unit: export function createGeoIpDownloader() file: src/deployments/cdk/src/deployments/opensearch-siem/step-2.ts start line: 266 end line: 336 size: 64 LOC McCabe index: 1 number of parameters: 8 id: 110 unit: function createAesLogBucket() file: src/deployments/cdk/src/deployments/defaults/step-1.ts start line: 336 end line: 412 size: 64 LOC McCabe index: 3 number of parameters: 1 id: 111 unit: function rec() file: src/ui/src/types.ts start line: 208 end line: 284 size: 63 LOC McCabe index: 5 number of parameters: 6 id: 112 unit: export async function step4() file: src/deployments/cdk/src/deployments/firewall/cluster/step-4.ts start line: 49 end line: 141 size: 63 LOC McCabe index: 21 number of parameters: 1 id: 113 unit: async function main() file: src/deployments/cdk/cdk.ts start line: 58 end line: 122 size: 63 LOC McCabe index: 12 number of parameters: 0 id: 114 unit: export async function saveAcm() file: src/core/runtime/src/save-outputs-to-ssm/encrypt-utils.ts start line: 197 end line: 266 size: 62 LOC McCabe index: 10 number of parameters: 7 id: 115 unit: function createDefaultEbsEncryptionKey() file: src/deployments/cdk/src/deployments/defaults/step-1.ts start line: 414 end line: 486 size: 62 LOC McCabe index: 5 number of parameters: 1 id: 116 unit: async function evaluateCompliance() file: reference-artifacts/config-rules/src/ec2-instance-profile-permissions/index.js start line: 47 end line: 110 size: 61 LOC McCabe index: 14 number of parameters: 1 id: 117 unit: async function onDelete() file: src/lib/custom-resources/cdk-associate-hosted-zones/runtime/src/index.ts start line: 279 end line: 345 size: 60 LOC McCabe index: 13 number of parameters: 1 id: 118 unit: constructor() file: src/core/cdk/src/tasks/create-adconnector-task.ts start line: 32 end line: 101 size: 60 LOC McCabe index: 1 number of parameters: 3 id: 119 unit: export async function step2() file: src/deployments/cdk/src/deployments/cloud-watch/step-2.ts start line: 27 end line: 91 size: 60 LOC McCabe index: 23 number of parameters: 1 id: 120 unit: constructor() file: src/core/cdk/src/tasks/store-outputs-task.ts start line: 34 end line: 99 size: 59 LOC McCabe index: 1 number of parameters: 3 id: 121 unit: export async function createConfigServiceRoles() file: src/deployments/cdk/src/deployments/iam/step-1.ts start line: 26 end line: 111 size: 59 LOC McCabe index: 12 number of parameters: 1 id: 122 unit: protected onPrepare() file: src/lib/cdk-constructs/src/s3/bucket-replication.ts start line: 140 end line: 208 size: 58 LOC McCabe index: 4 number of parameters: 0 id: 123 unit: export function useHandleExportSubmit() file: src/ui/src/components/export-modal.tsx start line: 201 end line: 273 size: 58 LOC McCabe index: 3 number of parameters: 1 id: 124 unit: function uploadArtifacts() file: src/deployments/cdk/src/deployments/artifacts/step-1.ts start line: 140 end line: 202 size: 58 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: export async function changePolicy() file: src/deployments/cdk/src/deployments/ou-validation-events/policy-changes.ts start line: 39 end line: 104 size: 58 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: export async function step2() file: src/deployments/cdk/src/deployments/central-services/central-logging-s3/step-2.ts start line: 33 end line: 92 size: 58 LOC McCabe index: 12 number of parameters: 1 id: 127 unit: fileContent: pretty() file: src/core/runtime/src/ou-validation.ts start line: 175 end line: 246 size: 57 LOC McCabe index: 9 number of parameters: 2 id: 128 unit: async function moveAccount() file: src/deployments/cdk/src/deployments/ou-validation-events/step-1.ts start line: 144 end line: 207 size: 57 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: export async function step2() file: src/deployments/cdk/src/deployments/macie/macie.ts start line: 145 end line: 215 size: 57 LOC McCabe index: 7 number of parameters: 1 id: 130 unit: def cleanup_macie() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 56 LOC McCabe index: 11 number of parameters: 5 id: 131 unit: constructor() file: src/core/cdk/src/tasks/create-stack-task.ts start line: 34 end line: 97 size: 55 LOC McCabe index: 7 number of parameters: 3 id: 132 unit: export async function createResourceCleanupRole() file: src/deployments/cdk/src/deployments/iam/cleanup-role.ts start line: 36 end line: 94 size: 54 LOC McCabe index: 1 number of parameters: 1 id: 133 unit: async createPoliciesFromConfiguration() file: src/lib/common/src/scp/index.ts start line: 93 end line: 166 size: 53 LOC McCabe index: 6 number of parameters: 1 id: 134 unit: async function onCreate() file: src/lib/custom-resources/cdk-ssm-session-manager-document/runtime/src/index.ts start line: 62 end line: 121 size: 53 LOC McCabe index: 4 number of parameters: 1 id: 135 unit: private createBootstrapAccountRegionMapperSM() file: src/core/cdk/src/tasks/cdk-bootstrap.ts start line: 190 end line: 249 size: 53 LOC McCabe index: 1 number of parameters: 7 id: 136 unit: export function UnionFormField() file: src/ui/src/components/fields/union.tsx start line: 29 end line: 92 size: 53 LOC McCabe index: 7 number of parameters: 1 id: 137 unit: export async function deploy() file: src/deployments/cdk/src/app.ts start line: 44 end line: 113 size: 53 LOC McCabe index: 14 number of parameters: 1 id: 138 unit: async function createFirewallManager() file: src/deployments/cdk/src/deployments/firewall/manager/step-1.ts start line: 114 end line: 176 size: 53 LOC McCabe index: 7 number of parameters: 1 id: 139 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-disassociate-hosted-zones/runtime/src/index.ts start line: 102 end line: 162 size: 52 LOC McCabe index: 10 number of parameters: 1 id: 140 unit: constructor() file: src/lib/cdk-constructs/src/firewall/instance.ts start line: 74 end line: 132 size: 52 LOC McCabe index: 7 number of parameters: 3 id: 141 unit: async function beforeStart() file: src/core/runtime/src/get-or-create-config.ts start line: 361 end line: 413 size: 52 LOC McCabe index: 20 number of parameters: 6 id: 142 unit: async attachOrDetachPoliciesToOrganizationalUnits() file: src/lib/common/src/scp/index.ts start line: 234 end line: 294 size: 51 LOC McCabe index: 13 number of parameters: 2 id: 143 unit: export async function step3() file: src/deployments/cdk/src/deployments/alb/step-3.ts start line: 27 end line: 79 size: 51 LOC McCabe index: 10 number of parameters: 1 id: 144 unit: export async function step3() file: src/deployments/cdk/src/deployments/cloud-watch/step-3.ts start line: 49 end line: 107 size: 51 LOC McCabe index: 7 number of parameters: 1 id: 145 unit: export async function removeAccount() file: src/deployments/cdk/src/deployments/ou-validation-events/remove-account.ts start line: 33 end line: 91 size: 51 LOC McCabe index: 1 number of parameters: 1 id: 146 unit: async attachOrDetachPoliciesToAccounts() file: src/lib/common/src/scp/index.ts start line: 299 end line: 364 size: 50 LOC McCabe index: 12 number of parameters: 2 id: 147 unit: export async function step1() file: src/deployments/cdk/src/deployments/cloud-watch/step-1.ts start line: 29 end line: 83 size: 50 LOC McCabe index: 13 number of parameters: 1 id: 148 unit: export function createNlb() file: src/deployments/cdk/src/deployments/rsyslog/step-2.ts start line: 86 end line: 141 size: 50 LOC McCabe index: 4 number of parameters: 6 id: 149 unit: export async function step2() file: src/deployments/cdk/src/deployments/cleanup/step-2.ts start line: 32 end line: 93 size: 50 LOC McCabe index: 11 number of parameters: 1 id: 150 unit: async function createOrUpdatePublishDestination() file: src/lib/custom-resources/cdk-guardduty-create-publish/runtime/src/index.ts start line: 89 end line: 140 size: 49 LOC McCabe index: 6 number of parameters: 1 id: 151 unit: async function onCreate() file: src/lib/custom-resources/cdk-cloud-trail/runtime/src/index.ts start line: 52 end line: 135 size: 49 LOC McCabe index: 4 number of parameters: 1 id: 152 unit: def root_cleanup() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 48 LOC McCabe index: 7 number of parameters: 2 id: 153 unit: async function onUpdate() file: src/lib/custom-resources/cdk-create-resolver-rule/runtime/src/index.ts start line: 97 end line: 145 size: 48 LOC McCabe index: 3 number of parameters: 1 id: 154 unit: constructor() file: src/lib/custom-resources/cdk-cur-report-definition/cdk/index.ts start line: 53 end line: 104 size: 48 LOC McCabe index: 1 number of parameters: 3 id: 155 unit: export function getDynamicReplaceableValue() file: src/deployments/cdk/src/common/replacements.ts start line: 25 end line: 74 size: 48 LOC McCabe index: 7 number of parameters: 1 id: 156 unit: export async function step2() file: src/deployments/cdk/src/deployments/firewall/cluster/step-2.ts start line: 49 end line: 111 size: 48 LOC McCabe index: 13 number of parameters: 1 id: 157 unit: export async function step3() file: src/deployments/cdk/src/deployments/macie/macie.ts start line: 217 end line: 273 size: 48 LOC McCabe index: 7 number of parameters: 1 id: 158 unit: def thread_cloudformation_delete() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 47 LOC McCabe index: 13 number of parameters: 5 id: 159 unit: export function createProcessingLambda() file: src/deployments/cdk/src/deployments/opensearch-siem/step-2.ts start line: 338 end line: 386 size: 47 LOC McCabe index: 3 number of parameters: 13 id: 160 unit: export async function step1() file: src/deployments/cdk/src/deployments/secrets/step-1.ts start line: 36 end line: 92 size: 47 LOC McCabe index: 5 number of parameters: 1 id: 161 unit: constructor() file: src/lib/cdk-accelerator/src/stepfunction-tasks/loop-task.ts start line: 70 end line: 124 size: 46 LOC McCabe index: 1 number of parameters: 3 id: 162 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-create-hosted-zone/runtime/src/index.ts start line: 46 end line: 92 size: 46 LOC McCabe index: 3 number of parameters: 1 id: 163 unit: async function onCreate() file: src/lib/custom-resources/cdk-associate-hosted-zones/runtime/src/index.ts start line: 107 end line: 161 size: 46 LOC McCabe index: 8 number of parameters: 1 id: 164 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-opensearch-siem-configure/cdk/index.ts start line: 60 end line: 111 size: 46 LOC McCabe index: 3 number of parameters: 0 id: 165 unit: private get lambdaFunction() file: src/lib/custom-resources/ec2-ebs-default-encryption/lib/index.ts start line: 42 end line: 92 size: 45 LOC McCabe index: 2 number of parameters: 0 id: 166 unit: constructor() file: src/lib/custom-resources/cdk-elb-deletion-protection/cdk/index.ts start line: 30 end line: 76 size: 45 LOC McCabe index: 1 number of parameters: 3 id: 167 unit: constructor() file: src/lib/custom-resources/cdk-iam-password-policy/cdk/index.ts start line: 36 end line: 84 size: 45 LOC McCabe index: 1 number of parameters: 3 id: 168 unit: constructor() file: src/lib/custom-resources/logs-add-subscription-filter/src/index.ts start line: 41 end line: 95 size: 45 LOC McCabe index: 1 number of parameters: 3 id: 169 unit: private get role() file: src/lib/custom-resources/cdk-cloud-trail/cdk/index.ts start line: 69 end line: 113 size: 45 LOC McCabe index: 2 number of parameters: 0 id: 170 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-ec2-ebs-default-encryption/cdk/index.ts start line: 42 end line: 92 size: 45 LOC McCabe index: 2 number of parameters: 0 id: 171 unit: export async function createDnsQueryLogGroup() file: src/deployments/cdk/src/deployments/central-endpoints/dns-query-log-group.ts start line: 37 end line: 87 size: 45 LOC McCabe index: 8 number of parameters: 1 id: 172 unit: def generate_config_impl() file: reference-artifacts/Custom-Scripts/Conformance-Pack-Converter/generate-config-rules.py start line: 0 end line: 0 size: 44 LOC McCabe index: 25 number of parameters: 1 id: 173 unit: constructor() file: src/lib/cdk-accelerator/src/codebuild/cdk-deploy-project.ts start line: 134 end line: 188 size: 44 LOC McCabe index: 1 number of parameters: 3 id: 174 unit: async function onDelete() file: src/lib/custom-resources/cdk-create-resolver-rule/runtime/src/index.ts start line: 147 end line: 205 size: 44 LOC McCabe index: 9 number of parameters: 1 id: 175 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-ec2-keypair/cdk/index.ts start line: 58 end line: 105 size: 44 LOC McCabe index: 2 number of parameters: 0 id: 176 unit: export async function step1() file: src/deployments/cdk/src/deployments/security-hub/step-1.ts start line: 36 end line: 82 size: 44 LOC McCabe index: 8 number of parameters: 1 id: 177 unit: export async function acceptPeeringAttachment() file: src/deployments/cdk/src/deployments/transit-gateway/peering.ts start line: 122 end line: 171 size: 44 LOC McCabe index: 11 number of parameters: 1 id: 178 unit: async function onCreate() file: src/lib/custom-resources/cdk-logs-log-group/runtime/src/index.ts start line: 48 end line: 115 size: 43 LOC McCabe index: 6 number of parameters: 1 id: 179 unit: export function FileInput() file: src/ui/src/components/file-input.tsx start line: 40 end line: 86 size: 43 LOC McCabe index: 2 number of parameters: 1 id: 180 unit: export async function step1() file: src/deployments/cdk/src/deployments/account-warming/step-1.ts start line: 35 end line: 83 size: 43 LOC McCabe index: 7 number of parameters: 1 id: 181 unit: export async function step2() file: src/deployments/cdk/src/deployments/security-hub/step-2.ts start line: 32 end line: 77 size: 43 LOC McCabe index: 9 number of parameters: 1 id: 182 unit: export async function createPublishRole() file: src/deployments/cdk/src/deployments/iam/guardduty-roles.ts start line: 134 end line: 178 size: 43 LOC McCabe index: 1 number of parameters: 1 id: 183 unit: export async function createSnsSubscriberLambdaRole() file: src/deployments/cdk/src/deployments/iam/sns-subscriber-lambda-role.ts start line: 27 end line: 70 size: 43 LOC McCabe index: 15 number of parameters: 1 id: 184 unit: async function onUpdate() file: src/lib/custom-resources/cdk-security-hub-disable-controls/runtime/src/index.ts start line: 81 end line: 139 size: 42 LOC McCabe index: 12 number of parameters: 1 id: 185 unit: export async function step1() file: src/deployments/cdk/src/deployments/firewall/subscription/step-1.ts start line: 35 end line: 84 size: 42 LOC McCabe index: 10 number of parameters: 1 id: 186 unit: export async function step1() file: src/deployments/cdk/src/deployments/macie/macie.ts start line: 92 end line: 143 size: 42 LOC McCabe index: 5 number of parameters: 1 id: 187 unit: export async function step3() file: src/deployments/cdk/src/deployments/guardduty/guardduty.ts start line: 123 end line: 170 size: 42 LOC McCabe index: 7 number of parameters: 1 id: 188 unit: export async function step2() file: src/deployments/cdk/src/deployments/central-services/step-2.ts start line: 58 end line: 118 size: 42 LOC McCabe index: 12 number of parameters: 1 id: 189 unit: def build_stack_data() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 41 LOC McCabe index: 4 number of parameters: 4 id: 190 unit: async load() file: src/lib/common/src/util/common.ts start line: 109 end line: 158 size: 41 LOC McCabe index: 8 number of parameters: 2 id: 191 unit: constructor() file: src/lib/cdk-constructs/src/cognito/cognito.ts start line: 105 end line: 149 size: 41 LOC McCabe index: 1 number of parameters: 3 id: 192 unit: replicateFrom() file: src/lib/cdk-constructs/src/s3/bucket-replication.ts start line: 52 end line: 95 size: 41 LOC McCabe index: 2 number of parameters: 3 id: 193 unit: replicateFrom() file: src/lib/cdk-constructs/src/s3/bucket.ts start line: 61 end line: 104 size: 41 LOC McCabe index: 2 number of parameters: 3 id: 194 unit: async function main() file: src/core/cdk/src/index.ts start line: 25 end line: 74 size: 41 LOC McCabe index: 12 number of parameters: 0 id: 195 unit: export async function step1() file: src/deployments/cdk/src/deployments/cleanup/step-1.ts start line: 35 end line: 85 size: 41 LOC McCabe index: 8 number of parameters: 1 id: 196 unit: export async function validateNfw() file: src/lib/common-config/src/compare/validate.ts start line: 637 end line: 678 size: 40 LOC McCabe index: 12 number of parameters: 2 id: 197 unit: async function onCreate() file: src/lib/custom-resources/cdk-ec2-vpn-tunnel-options/runtime/src/index.ts start line: 41 end line: 89 size: 40 LOC McCabe index: 3 number of parameters: 1 id: 198 unit: export function getSubnetCidrPools() file: src/lib/common-outputs/src/cidr-pools.ts start line: 76 end line: 115 size: 40 LOC McCabe index: 28 number of parameters: 1 id: 199 unit: export function getParameterValue() file: src/deployments/cdk/src/deployments/config/create.ts start line: 398 end line: 437 size: 40 LOC McCabe index: 5 number of parameters: 1 id: 200 unit: constructor() file: src/lib/custom-resources/cdk-ds-log-subscription/cdk/index.ts start line: 32 end line: 74 size: 39 LOC McCabe index: 3 number of parameters: 3 id: 201 unit: export async function createOrganizationalUnit() file: src/deployments/cdk/src/deployments/ou-validation-events/create-organization.ts start line: 29 end line: 75 size: 39 LOC McCabe index: 1 number of parameters: 1 id: 202 unit: export async function step3() file: src/deployments/cdk/src/deployments/cleanup/step-3.ts start line: 35 end line: 83 size: 39 LOC McCabe index: 9 number of parameters: 1 id: 203 unit: const validateAccounts = function() file: src/lib/common-config/src/compare/main.ts start line: 217 end line: 256 size: 38 LOC McCabe index: 11 number of parameters: 0 id: 204 unit: constructor() file: src/lib/custom-resources/cdk-logs-resource-policy/cdk/index.ts start line: 31 end line: 70 size: 38 LOC McCabe index: 1 number of parameters: 3 id: 205 unit: async function onCreate() file: src/lib/custom-resources/cdk-s3-template/runtime/src/index.ts start line: 49 end line: 111 size: 38 LOC McCabe index: 6 number of parameters: 1 id: 206 unit: async function onUpdate() file: src/lib/custom-resources/cdk-associate-resolver-rules/runtime/src/index.ts start line: 77 end line: 129 size: 38 LOC McCabe index: 9 number of parameters: 1 id: 207 unit: export async function createMacieExportConfigRole() file: src/deployments/cdk/src/deployments/iam/macie-roles.ts start line: 115 end line: 153 size: 38 LOC McCabe index: 1 number of parameters: 1 id: 208 unit: async function onUpdate() file: src/lib/custom-resources/cdk-security-hub-enable/runtime/src/index.ts start line: 83 end line: 137 size: 37 LOC McCabe index: 5 number of parameters: 1 id: 209 unit: async function onDelete() file: src/lib/custom-resources/cdk-ec2-modify-transit-gateway-attachment/runtime/src/index.ts start line: 81 end line: 117 size: 37 LOC McCabe index: 5 number of parameters: 1 id: 210 unit: constructor() file: src/lib/cdk-constructs/src/security-hub/security-hub.ts start line: 48 end line: 88 size: 37 LOC McCabe index: 3 number of parameters: 3 id: 211 unit: export function DictionaryFormField() file: src/ui/src/components/fields/dictionary.tsx start line: 31 end line: 70 size: 37 LOC McCabe index: 4 number of parameters: 1 id: 212 unit: budget: createInitialBudget() file: src/ui/src/pages/wizards/components/account-table.tsx start line: 128 end line: 173 size: 37 LOC McCabe index: 14 number of parameters: 2 id: 213 unit: export function createInitialBudget() file: src/ui/src/pages/wizards/components/account-table.tsx start line: 534 end line: 570 size: 37 LOC McCabe index: 1 number of parameters: 2 id: 214 unit: export function createInitialBudget() file: src/ui/src/pages/wizards/components/organizational-unit-table.tsx start line: 538 end line: 574 size: 37 LOC McCabe index: 1 number of parameters: 2 id: 215 unit: private async destroyStack() file: src/deployments/cdk/toolkit.ts start line: 300 end line: 336 size: 37 LOC McCabe index: 4 number of parameters: 1 id: 216 unit: function createVpcFlowLog() file: src/deployments/cdk/src/deployments/vpc/step-2.ts start line: 136 end line: 172 size: 37 LOC McCabe index: 3 number of parameters: 1 id: 217 unit: async function getSsmDocumentsContent() file: src/deployments/cdk/src/deployments/ssm/create-document.ts start line: 142 end line: 180 size: 37 LOC McCabe index: 6 number of parameters: 1 id: 218 unit: def process_delete() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 36 LOC McCabe index: 8 number of parameters: 1 id: 219 unit: async function onCreate() file: src/lib/custom-resources/cdk-create-resolver-rule/runtime/src/index.ts start line: 52 end line: 95 size: 36 LOC McCabe index: 4 number of parameters: 1 id: 220 unit: async function copyObject() file: src/lib/custom-resources/cdk-s3-copy-files/runtime/src/index.ts start line: 139 end line: 190 size: 36 LOC McCabe index: 5 number of parameters: 1 id: 221 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/cdk/index.ts start line: 62 end line: 101 size: 36 LOC McCabe index: 2 number of parameters: 0 id: 222 unit: async function isFileExist() file: src/core/runtime/src/get-or-create-config.ts start line: 309 end line: 344 size: 36 LOC McCabe index: 8 number of parameters: 1 id: 223 unit: async function disableAndDeleteConfigRecorders() file: src/core/runtime/src/create-config-recorder/create.ts start line: 383 end line: 419 size: 36 LOC McCabe index: 7 number of parameters: 1 id: 224 unit: export async function saveEncryptsOutputs() file: src/core/runtime/src/save-outputs-to-ssm/encrypt-outputs.ts start line: 38 end line: 79 size: 36 LOC McCabe index: 2 number of parameters: 1 id: 225 unit: export default observer() file: src/ui/src/pages/wizards/content.tsx start line: 26 end line: 120 size: 36 LOC McCabe index: 1 number of parameters: 1 id: 226 unit: export async function loadAccounts() file: src/deployments/cdk/src/utils/accounts.ts start line: 21 end line: 60 size: 36 LOC McCabe index: 9 number of parameters: 0 id: 227 unit: export async function step1() file: src/deployments/cdk/src/deployments/firewall/manager/step-1.ts start line: 45 end line: 109 size: 36 LOC McCabe index: 10 number of parameters: 1 id: 228 unit: export async function step3() file: src/deployments/cdk/src/deployments/security-hub/step-3.ts start line: 33 end line: 70 size: 36 LOC McCabe index: 8 number of parameters: 1 id: 229 unit: async createOrUpdateQuarantineScp() file: src/lib/common/src/scp/index.ts start line: 52 end line: 86 size: 35 LOC McCabe index: 5 number of parameters: 1 id: 230 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-ec2-modify-transit-gateway-attachment/runtime/src/index.ts start line: 45 end line: 79 size: 35 LOC McCabe index: 5 number of parameters: 1 id: 231 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-acm-import-certificate/cdk/index.ts start line: 89 end line: 127 size: 35 LOC McCabe index: 2 number of parameters: 0 id: 232 unit: function buildRequest() file: src/lib/custom-resources/cdk-ec2-image-finder/runtime/src/index.ts start line: 75 end line: 111 size: 35 LOC McCabe index: 5 number of parameters: 1 id: 233 unit: constructor() file: src/deployments/cdk/src/common/active-directory.ts start line: 36 end line: 77 size: 35 LOC McCabe index: 1 number of parameters: 3 id: 234 unit: export async function step2() file: src/deployments/cdk/src/deployments/rsyslog/step-2.ts start line: 45 end line: 84 size: 35 LOC McCabe index: 8 number of parameters: 1 id: 235 unit: def cleanup_route53_resolver() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 34 LOC McCabe index: 9 number of parameters: 2 id: 236 unit: export async function validateMad() file: src/lib/common-config/src/compare/validate.ts start line: 331 end line: 371 size: 34 LOC McCabe index: 9 number of parameters: 2 id: 237 unit: async renewServiceQuotaIncrease() file: src/lib/common/src/aws/service-quotas.ts start line: 76 end line: 122 size: 34 LOC McCabe index: 7 number of parameters: 1 id: 238 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-opensearch-siem-geoip-init/cdk/index.ts start line: 44 end line: 82 size: 34 LOC McCabe index: 2 number of parameters: 0 id: 239 unit: constructor() file: src/lib/custom-resources/cdk-s3-copy-files/cdk/index.ts start line: 48 end line: 90 size: 34 LOC McCabe index: 4 number of parameters: 3 id: 240 unit: async function importCertificate() file: src/lib/custom-resources/cdk-acm-import-certificate/runtime/src/index.ts start line: 89 end line: 128 size: 34 LOC McCabe index: 7 number of parameters: 1 id: 241 unit: async function cleanupCdkBuckets() file: src/deployments/cdk/tools.ts start line: 22 end line: 60 size: 34 LOC McCabe index: 9 number of parameters: 0 id: 242 unit: export async function putNotificationChannel() file: src/deployments/cdk/src/deployments/fms/put-notification-channel.ts start line: 36 end line: 69 size: 34 LOC McCabe index: 4 number of parameters: 1 id: 243 unit: export async function step3() file: src/deployments/cdk/src/deployments/opensearch-siem/step-3.ts start line: 31 end line: 70 size: 34 LOC McCabe index: 8 number of parameters: 1 id: 244 unit: export async function step1() file: src/deployments/cdk/src/deployments/central-services/central-logging-s3/step-1.ts start line: 44 end line: 93 size: 34 LOC McCabe index: 7 number of parameters: 1 id: 245 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-kms-grant/cdk/index.ts start line: 86 end line: 123 size: 33 LOC McCabe index: 2 number of parameters: 0 id: 246 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-s3-bucket-notifications/cdk/index.ts start line: 51 end line: 88 size: 33 LOC McCabe index: 2 number of parameters: 0 id: 247 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-guardduty-admin-setup/runtime/src/index.ts start line: 59 end line: 96 size: 33 LOC McCabe index: 6 number of parameters: 1 id: 248 unit: constructor() file: src/lib/custom-resources/cdk-ec2-vpn-attachment/cdk/index.ts start line: 29 end line: 63 size: 33 LOC McCabe index: 1 number of parameters: 3 id: 249 unit: async function verifyFirewallFiles() file: src/core/runtime/src/verify-files-step.ts start line: 126 end line: 159 size: 33 LOC McCabe index: 9 number of parameters: 4 id: 250 unit: async function deleteVpc() file: src/core/runtime/src/delete-default-vpc/delete.ts start line: 97 end line: 134 size: 33 LOC McCabe index: 7 number of parameters: 4 id: 251 unit: export async function step2() file: src/deployments/cdk/src/deployments/billing/budget.ts start line: 105 end line: 142 size: 33 LOC McCabe index: 10 number of parameters: 1 id: 252 unit: export function getAccountBuckets() file: src/deployments/cdk/src/deployments/defaults/outputs.ts start line: 126 end line: 162 size: 33 LOC McCabe index: 4 number of parameters: 1 id: 253 unit: function CreateRoute() file: src/deployments/cdk/src/deployments/transit-gateway/step-3.ts start line: 215 end line: 247 size: 33 LOC McCabe index: 3 number of parameters: 1 id: 254 unit: export async function createCwlAddSubscriptionFilterRoles() file: src/deployments/cdk/src/deployments/iam/cwl-add-subscription-filter-role.ts start line: 27 end line: 67 size: 33 LOC McCabe index: 6 number of parameters: 1 id: 255 unit: export async function centralEndpointDeploymentRole() file: src/deployments/cdk/src/deployments/iam/central-endpoints-deployment-roles.ts start line: 47 end line: 82 size: 33 LOC McCabe index: 1 number of parameters: 1 id: 256 unit: def cleanup_directory_sharing_load_config() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 32 LOC McCabe index: 7 number of parameters: 0 id: 257 unit: constructor() file: src/lib/cdk-accelerator/src/codebuild/cdk-deploy-project.ts start line: 85 end line: 124 size: 32 LOC McCabe index: 1 number of parameters: 3 id: 258 unit: constructor() file: src/lib/cdk-accelerator/src/core/secrets-container.ts start line: 49 end line: 82 size: 32 LOC McCabe index: 1 number of parameters: 2 id: 259 unit: async function createOrUpdateReportDefinition() file: src/lib/custom-resources/cdk-cur-report-definition/runtime/src/index.ts start line: 85 end line: 133 size: 32 LOC McCabe index: 4 number of parameters: 1 id: 260 unit: constructor() file: src/lib/custom-resources/cdk-vpc-default-security-group/cdk/index.ts start line: 31 end line: 65 size: 32 LOC McCabe index: 1 number of parameters: 3 id: 261 unit: function getNodeTranslations() file: src/ui/src/components/i18n-context.tsx start line: 70 end line: 103 size: 32 LOC McCabe index: 7 number of parameters: 1 id: 262 unit: ou: String() file: src/ui/src/pages/wizards/components/account-table.tsx start line: 456 end line: 489 size: 32 LOC McCabe index: 1 number of parameters: 1 id: 263 unit: export async function step2() file: src/deployments/cdk/src/deployments/alb/step-2.ts start line: 36 end line: 70 size: 32 LOC McCabe index: 9 number of parameters: 1 id: 264 unit: export function getTargetGroupArn() file: src/deployments/cdk/src/deployments/alb/step-1.ts start line: 379 end line: 411 size: 32 LOC McCabe index: 8 number of parameters: 1 id: 265 unit: async function createBudget() file: src/deployments/cdk/src/deployments/billing/budget.ts start line: 54 end line: 86 size: 32 LOC McCabe index: 3 number of parameters: 2 id: 266 unit: function createCertificate() file: src/deployments/cdk/src/deployments/certificates/step-1.ts start line: 54 end line: 100 size: 32 LOC McCabe index: 3 number of parameters: 1 id: 267 unit: private ensureLambdaFunction() file: src/lib/custom-resources/cdk-s3-template/cdk/index.ts start line: 77 end line: 112 size: 31 LOC McCabe index: 2 number of parameters: 0 id: 268 unit: async function createFirewallEips() file: src/deployments/cdk/src/deployments/firewall/cluster/step-1.ts start line: 74 end line: 111 size: 31 LOC McCabe index: 5 number of parameters: 1 id: 269 unit: function createVpcDnsQueryLogging() file: src/deployments/cdk/src/deployments/vpc/step-4.ts start line: 35 end line: 72 size: 31 LOC McCabe index: 5 number of parameters: 1 id: 270 unit: async function evaluateCompliance() file: reference-artifacts/config-rules/src/ec2-instance-profile/index.js start line: 40 end line: 72 size: 30 LOC McCabe index: 7 number of parameters: 1 id: 271 unit: function buildCloudTrailCreateRequest() file: src/lib/custom-resources/cdk-cloud-trail/runtime/src/index.ts start line: 192 end line: 221 size: 30 LOC McCabe index: 1 number of parameters: 1 id: 272 unit: function App() file: src/ui/src/app.tsx start line: 25 end line: 54 size: 30 LOC McCabe index: 1 number of parameters: 0 id: 273 unit: export function DefaultNavigation() file: src/ui/src/pages/default/navigation.tsx start line: 21 end line: 59 size: 30 LOC McCabe index: 1 number of parameters: 0 id: 274 unit: export async function step2() file: src/deployments/cdk/src/deployments/guardduty/guardduty.ts start line: 88 end line: 121 size: 30 LOC McCabe index: 5 number of parameters: 1 id: 275 unit: export async function createAdminRole() file: src/deployments/cdk/src/deployments/iam/guardduty-roles.ts start line: 49 end line: 81 size: 30 LOC McCabe index: 1 number of parameters: 1 id: 276 unit: async function addQuarantineScp() file: src/deployments/runtime/src/ou-validation-events/create-account/add-quarantine-scp.ts start line: 41 end line: 71 size: 30 LOC McCabe index: 5 number of parameters: 5 id: 277 unit: export function getAssigndVpcSubnetCidrs() file: src/lib/common-config/src/compare/common.ts start line: 225 end line: 253 size: 29 LOC McCabe index: 10 number of parameters: 5 id: 278 unit: export async function validateGlobalOptions() file: src/lib/common-config/src/compare/validate.ts start line: 109 end line: 149 size: 29 LOC McCabe index: 7 number of parameters: 2 id: 279 unit: static async fromStack() file: src/lib/common/src/landing-zone/index.ts start line: 112 end line: 144 size: 29 LOC McCabe index: 4 number of parameters: 1 id: 280 unit: async function onCreate() file: src/lib/custom-resources/cdk-iam-create-role/runtime/src/index.ts start line: 39 end line: 84 size: 29 LOC McCabe index: 2 number of parameters: 1 id: 281 unit: async function onCreate() file: src/lib/custom-resources/cdk-transit-gateway-create-peering/runtime/src/index.ts start line: 43 end line: 71 size: 29 LOC McCabe index: 1 number of parameters: 1 id: 282 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-s3-bucket-notifications/runtime/src/index.ts start line: 57 end line: 99 size: 29 LOC McCabe index: 3 number of parameters: 1 id: 283 unit: async function onUpdate() file: src/lib/custom-resources/cdk-ssm-document-share/runtime/src/index.ts start line: 73 end line: 118 size: 29 LOC McCabe index: 5 number of parameters: 1 id: 284 unit: async function onCreate() file: src/lib/custom-resources/cdk-vpc-default-security-group/runtime/src/index.ts start line: 36 end line: 79 size: 29 LOC McCabe index: 8 number of parameters: 1 id: 285 unit: constructor() file: src/lib/custom-resources/cdk-ec2-image-finder/cdk/index.ts start line: 33 end line: 64 size: 29 LOC McCabe index: 1 number of parameters: 3 id: 286 unit: constructor() file: src/lib/cdk-constructs/src/vpc/nlb.ts start line: 31 end line: 62 size: 29 LOC McCabe index: 1 number of parameters: 3 id: 287 unit: export async function step1() file: src/deployments/cdk/src/deployments/firewall/cluster/step-1.ts start line: 32 end line: 69 size: 29 LOC McCabe index: 10 number of parameters: 1 id: 288 unit: export async function createSecrets() file: src/deployments/cdk/src/deployments/mad/secrets.ts start line: 31 end line: 77 size: 29 LOC McCabe index: 5 number of parameters: 1 id: 289 unit: function createFlowLogRoles() file: src/deployments/cdk/src/deployments/vpc/step-1.ts start line: 35 end line: 85 size: 29 LOC McCabe index: 7 number of parameters: 1 id: 290 unit: def delete_scps() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 28 LOC McCabe index: 4 number of parameters: 2 id: 291 unit: constructor() file: src/lib/cdk-accelerator/src/codebuild/cdk-deploy-project.ts start line: 42 end line: 79 size: 28 LOC McCabe index: 5 number of parameters: 3 id: 292 unit: export function getAssigndVpcCidrs() file: src/lib/common-config/src/compare/common.ts start line: 196 end line: 223 size: 28 LOC McCabe index: 10 number of parameters: 5 id: 293 unit: export async function loadAcceleratorConfigWithS3Attempt() file: src/lib/common-config/src/load.ts start line: 42 end line: 72 size: 28 LOC McCabe index: 4 number of parameters: 1 id: 294 unit: export function replaceDefaults() file: src/lib/common/src/util/common.ts start line: 227 end line: 258 size: 28 LOC McCabe index: 4 number of parameters: 1 id: 295 unit: public iterate() file: src/lib/docs-gen/src/helpers/translation-extract-helper.ts start line: 12 end line: 42 size: 28 LOC McCabe index: 8 number of parameters: 2 id: 296 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-logs-metric-filter/runtime/src/index.ts start line: 49 end line: 93 size: 28 LOC McCabe index: 2 number of parameters: 1 id: 297 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-iam-create-role/runtime/src/index.ts start line: 74 end line: 106 size: 28 LOC McCabe index: 5 number of parameters: 1 id: 298 unit: export async function getTaggedCustomResources() file: src/lib/custom-resources/runtime-cfn-tags/src/index.ts start line: 68 end line: 95 size: 28 LOC McCabe index: 3 number of parameters: 1 id: 299 unit: export async function send() file: src/lib/custom-resources/runtime-cfn-response/src/index.ts start line: 36 end line: 92 size: 28 LOC McCabe index: 3 number of parameters: 3 id: 300 unit: async function onCreate() file: src/lib/custom-resources/cdk-security-hub-accept-invites/runtime/src/index.ts start line: 39 end line: 79 size: 28 LOC McCabe index: 7 number of parameters: 1 id: 301 unit: constructor() file: src/lib/custom-resources/cdk-s3-public-access-block/cdk/index.ts start line: 30 end line: 59 size: 28 LOC McCabe index: 1 number of parameters: 3 id: 302 unit: private ensureLambdaFunction() file: src/lib/custom-resources/cdk-ec2-marketplace-subscription-validation/cdk/index.ts start line: 70 end line: 102 size: 28 LOC McCabe index: 2 number of parameters: 0 id: 303 unit: async function onCreate() file: src/lib/custom-resources/cdk-security-hub-send-invites/runtime/src/index.ts start line: 39 end line: 73 size: 28 LOC McCabe index: 8 number of parameters: 1 id: 304 unit: export function getVpcCidrPools() file: src/lib/common-outputs/src/cidr-pools.ts start line: 47 end line: 74 size: 28 LOC McCabe index: 10 number of parameters: 5 id: 305 unit: export function useReplacements() file: src/ui/src/components/replacements-context.tsx start line: 61 end line: 95 size: 28 LOC McCabe index: 3 number of parameters: 1 id: 306 unit: budgetAmount: Number() file: src/ui/src/pages/wizards/components/account-table.tsx start line: 460 end line: 489 size: 28 LOC McCabe index: 1 number of parameters: 1 id: 307 unit: export async function loadStackOutputs() file: src/deployments/cdk/src/utils/outputs.ts start line: 21 end line: 50 size: 28 LOC McCabe index: 6 number of parameters: 0 id: 308 unit: export function loadContext() file: src/deployments/cdk/src/utils/context.ts start line: 38 end line: 66 size: 28 LOC McCabe index: 3 number of parameters: 0 id: 309 unit: function getHostedZoneIds() file: src/deployments/cdk/src/deployments/central-endpoints/step-4.ts start line: 254 end line: 285 size: 28 LOC McCabe index: 4 number of parameters: 3 id: 310 unit: export async function createMacieRoles() file: src/deployments/cdk/src/deployments/iam/macie-roles.ts start line: 24 end line: 61 size: 28 LOC McCabe index: 3 number of parameters: 1 id: 311 unit: fileContent: pretty() file: src/deployments/runtime/src/ou-validation-events/remove-account-from-organization.ts start line: 121 end line: 149 size: 28 LOC McCabe index: 5 number of parameters: 2 id: 312 unit: export function createName() file: src/lib/cdk-accelerator/src/core/accelerator-name-generator.ts start line: 111 end line: 143 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 313 unit: const validateOus = function() file: src/lib/common-config/src/compare/main.ts start line: 257 end line: 284 size: 27 LOC McCabe index: 7 number of parameters: 0 id: 314 unit: export async function validateOuVpc() file: src/lib/common-config/src/compare/validate.ts start line: 394 end line: 432 size: 27 LOC McCabe index: 7 number of parameters: 2 id: 315 unit: get lambdaFunction() file: src/lib/custom-resources/cdk-s3-copy-files/cdk/index.ts start line: 96 end line: 126 size: 27 LOC McCabe index: 2 number of parameters: 0 id: 316 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-cur-report-definition/cdk/index.ts start line: 110 end line: 140 size: 27 LOC McCabe index: 2 number of parameters: 0 id: 317 unit: constructor() file: src/lib/custom-resources/cdk-ec2-vpn-tunnel-options/cdk/index.ts start line: 55 end line: 85 size: 27 LOC McCabe index: 1 number of parameters: 3 id: 318 unit: for await() file: src/core/runtime/src/store-stack-output-step.ts start line: 46 end line: 73 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 319 unit: amount: Number() file: src/ui/src/pages/wizards/components/organizational-unit-table.tsx start line: 439 end line: 468 size: 27 LOC McCabe index: 1 number of parameters: 1 id: 320 unit: export async function loadLimits() file: src/deployments/cdk/src/utils/limits.ts start line: 23 end line: 53 size: 27 LOC McCabe index: 6 number of parameters: 0 id: 321 unit: export async function loadOrganizations() file: src/deployments/cdk/src/utils/organizations.ts start line: 19 end line: 49 size: 27 LOC McCabe index: 6 number of parameters: 0 id: 322 unit: export async function step1() file: src/deployments/cdk/src/deployments/iam-password-policy/step-1.ts start line: 28 end line: 57 size: 27 LOC McCabe index: 4 number of parameters: 1 id: 323 unit: export function getConfigRuleParameters() file: src/deployments/cdk/src/deployments/config/create.ts start line: 368 end line: 396 size: 27 LOC McCabe index: 2 number of parameters: 1 id: 324 unit: export function getBucket() file: src/deployments/cdk/src/deployments/defaults/outputs.ts start line: 253 end line: 281 size: 27 LOC McCabe index: 3 number of parameters: 1 id: 325 unit: export function createDefaultS3Bucket() file: src/deployments/cdk/src/deployments/defaults/shared.ts start line: 53 end line: 87 size: 27 LOC McCabe index: 1 number of parameters: 1 id: 326 unit: export async function step1() file: src/deployments/cdk/src/deployments/guardduty/guardduty.ts start line: 46 end line: 80 size: 27 LOC McCabe index: 4 number of parameters: 1 id: 327 unit: export async function createAdminSetupRole() file: src/deployments/cdk/src/deployments/iam/guardduty-roles.ts start line: 83 end line: 111 size: 27 LOC McCabe index: 1 number of parameters: 1 id: 328 unit: export async function ssmCreateDocumentRole() file: src/deployments/cdk/src/deployments/iam/ssm-document-roles.ts start line: 42 end line: 70 size: 27 LOC McCabe index: 1 number of parameters: 1 id: 329 unit: export async function createRole() file: src/deployments/cdk/src/deployments/iam/create-role.ts start line: 34 end line: 62 size: 27 LOC McCabe index: 1 number of parameters: 1 id: 330 unit: def cleanup_directory_sharing() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 26 LOC McCabe index: 5 number of parameters: 3 id: 331 unit: def backup_config() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 26 LOC McCabe index: 6 number of parameters: 0 id: 332 unit: async getCredentialsForRoleArn() file: src/lib/common/src/aws/sts.ts start line: 32 end line: 59 size: 26 LOC McCabe index: 4 number of parameters: 2 id: 333 unit: constructor() file: src/lib/custom-resources/cdk-ssm-session-manager-document/cdk/index.ts start line: 37 end line: 64 size: 26 LOC McCabe index: 1 number of parameters: 3 id: 334 unit: constructor() file: src/lib/custom-resources/cdk-ec2-launch-time/cdk/index.ts start line: 30 end line: 58 size: 26 LOC McCabe index: 1 number of parameters: 3 id: 335 unit: async getCredentialsForRoleArn() file: src/lib/custom-resources/cdk-associate-hosted-zones/runtime/src/index.ts start line: 50 end line: 77 size: 26 LOC McCabe index: 4 number of parameters: 2 id: 336 unit: async function centralLoggingSubscriptionUpdate() file: src/lib/custom-resources/logs-add-subscription-filter/runtime/src/index.ts start line: 116 end line: 148 size: 26 LOC McCabe index: 6 number of parameters: 1 id: 337 unit: async function onDelete() file: src/lib/custom-resources/cdk-ssm-create-document/runtime/src/index.ts start line: 93 end line: 131 size: 26 LOC McCabe index: 6 number of parameters: 1 id: 338 unit: async getCredentialsForRoleArn() file: src/lib/custom-resources/cdk-disassociate-hosted-zones/runtime/src/index.ts start line: 45 end line: 72 size: 26 LOC McCabe index: 4 number of parameters: 2 id: 339 unit: async function verifyNfwFiles() file: src/core/runtime/src/verify-files-step.ts start line: 161 end line: 187 size: 26 LOC McCabe index: 7 number of parameters: 4 id: 340 unit: async function createConfigRecorder() file: src/core/runtime/src/create-config-recorder/create.ts start line: 268 end line: 294 size: 26 LOC McCabe index: 2 number of parameters: 1 id: 341 unit: constructor() file: src/deployments/cdk/src/common/flow-log-container.ts start line: 31 end line: 65 size: 26 LOC McCabe index: 2 number of parameters: 3 id: 342 unit: roleName: createRoleName() file: src/deployments/cdk/src/deployments/artifacts/step-1.ts start line: 123 end line: 149 size: 26 LOC McCabe index: 1 number of parameters: 1 id: 343 unit: constructor() file: src/lib/cdk-accelerator/src/stepfunction-tasks/code-task.ts start line: 49 end line: 77 size: 25 LOC McCabe index: 1 number of parameters: 3 id: 344 unit: azs: defaulted() file: src/lib/config/src/config.ts start line: 393 end line: 418 size: 25 LOC McCabe index: 1 number of parameters: 1 id: 345 unit: async isAccountAvailable() file: src/lib/common/src/aws/account-vending-machine.ts start line: 169 end line: 194 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 346 unit: async isAccountAvailableByAccountId() file: src/lib/common/src/aws/account-vending-machine.ts start line: 200 end line: 225 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 347 unit: async searchProvisionedProductsForAllAccounts() file: src/lib/common/src/aws/service-catalog.ts start line: 184 end line: 208 size: 25 LOC McCabe index: 3 number of parameters: 0 id: 348 unit: async searchProvisionedProductsForSingleAccount() file: src/lib/common/src/aws/service-catalog.ts start line: 215 end line: 239 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 349 unit: async function onDelete() file: src/lib/custom-resources/cdk-create-hosted-zone/runtime/src/index.ts start line: 94 end line: 124 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 350 unit: NoncurrentDays: Number() file: src/lib/custom-resources/cdk-s3-put-bucket-versioning/runtime/src/index.ts start line: 91 end line: 119 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 351 unit: async function onDelete() file: src/lib/custom-resources/cdk-s3-bucket-notifications/runtime/src/index.ts start line: 101 end line: 138 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 352 unit: async function onCreate() file: src/lib/custom-resources/cdk-ec2-marketplace-subscription-validation/runtime/src/index.ts start line: 44 end line: 68 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 353 unit: async function listEmptyCdkObjects() file: src/deployments/cdk/tools.ts start line: 62 end line: 89 size: 25 LOC McCabe index: 8 number of parameters: 0 id: 354 unit: export function getEc2InstanceIds() file: src/deployments/cdk/src/deployments/alb/step-1.ts start line: 512 end line: 536 size: 25 LOC McCabe index: 5 number of parameters: 3 id: 355 unit: export async function step2() file: src/deployments/cdk/src/deployments/ssm/increase-parameter-store-throughput.ts start line: 32 end line: 56 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 356 unit: def cleanup_route53_resolver_load_config() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 24 LOC McCabe index: 6 number of parameters: 0 id: 357 unit: async detachPoliciesFromTargets() file: src/lib/common/src/scp/index.ts start line: 171 end line: 198 size: 24 LOC McCabe index: 7 number of parameters: 1 id: 358 unit: async getAccountStatus() file: src/lib/common/src/aws/account-vending-machine.ts start line: 227 end line: 251 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 359 unit: export async function vpcReplacements() file: src/lib/common/src/util/common.ts start line: 265 end line: 292 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 360 unit: constructor() file: src/lib/custom-resources/cdk-r53-dns-endpoint-ips/cdk/index.ts start line: 28 end line: 53 size: 24 LOC McCabe index: 1 number of parameters: 3 id: 361 unit: async function generateKeypair() file: src/lib/custom-resources/cdk-ec2-keypair/runtime/src/index.ts start line: 97 end line: 140 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 362 unit: async function deletePublishDestination() file: src/lib/custom-resources/cdk-guardduty-create-publish/runtime/src/index.ts start line: 142 end line: 168 size: 24 LOC McCabe index: 3 number of parameters: 1 id: 363 unit: async function onCreate() file: src/lib/custom-resources/cdk-security-hub-enable/runtime/src/index.ts start line: 49 end line: 81 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 364 unit: async function onDelete() file: src/lib/custom-resources/cdk-iam-create-role/runtime/src/index.ts start line: 90 end line: 125 size: 24 LOC McCabe index: 6 number of parameters: 1 id: 365 unit: async function onCreate() file: src/lib/custom-resources/cdk-security-hub-disable-controls/runtime/src/index.ts start line: 44 end line: 79 size: 24 LOC McCabe index: 6 number of parameters: 1 id: 366 unit: async function createMembers() file: src/lib/custom-resources/cdk-guardduty-admin-setup/runtime/src/index.ts start line: 112 end line: 135 size: 24 LOC McCabe index: 4 number of parameters: 2 id: 367 unit: async function onCreate() file: src/lib/custom-resources/cdk-ec2-image-finder/runtime/src/index.ts start line: 36 end line: 62 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 368 unit: constructor() file: src/lib/cdk-constructs/src/vpc/glb.ts start line: 40 end line: 66 size: 24 LOC McCabe index: 2 number of parameters: 3 id: 369 unit: async function verifyCertificates() file: src/core/runtime/src/verify-files-step.ts start line: 215 end line: 239 size: 24 LOC McCabe index: 6 number of parameters: 4 id: 370 unit: async function createDeliveryChannel() file: src/core/runtime/src/create-config-recorder/create.ts start line: 296 end line: 320 size: 24 LOC McCabe index: 2 number of parameters: 5 id: 371 unit: type: String() file: src/ui/src/pages/wizards/components/organizational-unit-table.tsx start line: 442 end line: 468 size: 24 LOC McCabe index: 1 number of parameters: 1 id: 372 unit: region: String() file: src/ui/src/pages/wizards/components/cidr-pool-table.tsx start line: 393 end line: 418 size: 24 LOC McCabe index: 1 number of parameters: 1 id: 373 unit: constructor() file: src/deployments/cdk/src/common/json-output.ts start line: 33 end line: 58 size: 24 LOC McCabe index: 2 number of parameters: 3 id: 374 unit: export async function enableMaciePolicy() file: src/deployments/cdk/src/deployments/macie/macie.ts start line: 61 end line: 90 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 375 unit: function CreateTransitGatewayRoute() file: src/deployments/cdk/src/deployments/transit-gateway/step-3.ts start line: 274 end line: 298 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 376 unit: async function centralLoggingShareDataSettings() file: src/deployments/cdk/src/deployments/central-services/step-2.ts start line: 135 end line: 160 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 377 unit: export async function createMacieAdminRole() file: src/deployments/cdk/src/deployments/iam/macie-roles.ts start line: 63 end line: 87 size: 24 LOC McCabe index: 1 number of parameters: 1 id: 378 unit: export async function createMacieEnableRole() file: src/deployments/cdk/src/deployments/iam/macie-roles.ts start line: 89 end line: 113 size: 24 LOC McCabe index: 1 number of parameters: 1 id: 379 unit: async function createRole() file: src/deployments/cdk/src/deployments/iam/ssm-throughput-roles.ts start line: 38 end line: 64 size: 24 LOC McCabe index: 1 number of parameters: 1 id: 380 unit: def thread_guardduty_delete() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 23 LOC McCabe index: 4 number of parameters: 3 id: 381 unit: def thread_cwl_cleanup() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 23 LOC McCabe index: 6 number of parameters: 3 id: 382 unit: export async function validateAccountVpc() file: src/lib/common-config/src/compare/validate.ts start line: 226 end line: 258 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 383 unit: certificates: optional() file: src/lib/config/src/config.ts start line: 644 end line: 671 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 384 unit: export async function loadAccounts() file: src/lib/common/src/util/common.ts start line: 180 end line: 203 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 385 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-macie-enable-admin/runtime/src/index.ts start line: 46 end line: 68 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 386 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-guardduty-enable-admin/runtime/src/index.ts start line: 44 end line: 66 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 387 unit: async function onCreate() file: src/lib/custom-resources/cdk-kms-grant/runtime/src/index.ts start line: 41 end line: 63 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 388 unit: export function getStackJsonOutput() file: src/lib/common-outputs/src/stack-output.ts start line: 61 end line: 84 size: 23 LOC McCabe index: 10 number of parameters: 2 id: 389 unit: async function verifySiemFiles() file: src/core/runtime/src/verify-files-step.ts start line: 189 end line: 213 size: 23 LOC McCabe index: 4 number of parameters: 4 id: 390 unit: export function createReplacements() file: src/ui/src/components/replacements-context.tsx start line: 34 end line: 59 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 391 unit: export default function Breadcrumbs() file: src/ui/src/pages/advanced/breadcrumbs.tsx start line: 23 end line: 47 size: 23 LOC McCabe index: 2 number of parameters: 0 id: 392 unit: scps: configScpList() file: src/ui/src/pages/wizards/components/organizational-unit-table.tsx start line: 443 end line: 468 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 393 unit: export async function loadAcceleratorConfig() file: src/deployments/cdk/src/utils/config.ts start line: 19 end line: 43 size: 23 LOC McCabe index: 6 number of parameters: 0 id: 394 unit: await createFirewallManager() file: src/deployments/cdk/src/deployments/firewall/manager/step-1.ts start line: 85 end line: 107 size: 23 LOC McCabe index: 4 number of parameters: 13 id: 395 unit: export function getBucket() file: src/deployments/cdk/src/deployments/defaults/outputs.ts start line: 169 end line: 193 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 396 unit: export async function createSecrets() file: src/deployments/cdk/src/deployments/iam/secrets.ts start line: 33 end line: 62 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 397 unit: async function createTgwRole() file: src/deployments/cdk/src/deployments/iam/ec2.ts start line: 35 end line: 59 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 398 unit: constructor() file: src/lib/common-types/src/types.ts start line: 124 end line: 145 size: 22 LOC McCabe index: 7 number of parameters: 2 id: 399 unit: export async function validateAccountSubnets() file: src/lib/common-config/src/compare/validate.ts start line: 267 end line: 293 size: 22 LOC McCabe index: 6 number of parameters: 2 id: 400 unit: export async function validateOuSubnets() file: src/lib/common-config/src/compare/validate.ts start line: 441 end line: 467 size: 22 LOC McCabe index: 6 number of parameters: 2 id: 401 unit: vpc: optional() file: src/lib/config/src/config.ts start line: 645 end line: 671 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 402 unit: async scanProvisionedProducts() file: src/lib/common/src/aws/service-catalog.ts start line: 241 end line: 262 size: 22 LOC McCabe index: 3 number of parameters: 0 id: 403 unit: constructor() file: src/lib/custom-resources/cdk-organization/cdk/index.ts start line: 24 end line: 47 size: 22 LOC McCabe index: 1 number of parameters: 2 id: 404 unit: await backOff() file: src/lib/custom-resources/runtime-cfn-response/src/index.ts start line: 63 end line: 87 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 405 unit: function buildCloudTrailUpdateRequest() file: src/lib/custom-resources/cdk-cloud-trail/runtime/src/index.ts start line: 223 end line: 244 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 406 unit: export async function saveIndexOutput() file: src/core/runtime/src/save-outputs-to-ssm/utils.ts start line: 66 end line: 87 size: 22 LOC McCabe index: 1 number of parameters: 4 id: 407 unit: constructor() file: src/deployments/cdk/src/common/transit-gateway-attachment.ts start line: 48 end line: 72 size: 22 LOC McCabe index: 6 number of parameters: 3 id: 408 unit: await createFirewallCluster() file: src/deployments/cdk/src/deployments/firewall/cluster/step-3.ts start line: 162 end line: 183 size: 22 LOC McCabe index: 2 number of parameters: 17 id: 409 unit: export function getBucketDetails() file: src/deployments/cdk/src/deployments/defaults/outputs.ts start line: 195 end line: 217 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 410 unit: export async function step2() file: src/deployments/cdk/src/deployments/transit-gateway/step-2.ts start line: 27 end line: 50 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 411 unit: function CreateAssociations() file: src/deployments/cdk/src/deployments/transit-gateway/step-3.ts start line: 249 end line: 272 size: 22 LOC McCabe index: 3 number of parameters: 6 id: 412 unit: async function centralServicesSettingsInMaster() file: src/deployments/cdk/src/deployments/central-services/step-1.ts start line: 49 end line: 79 size: 22 LOC McCabe index: 8 number of parameters: 1 id: 413 unit: export async function createGuardDutyRoles() file: src/deployments/cdk/src/deployments/iam/guardduty-roles.ts start line: 20 end line: 47 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 414 unit: async function createTgwRole() file: src/deployments/cdk/src/deployments/iam/tgw-create-peering-roles.ts start line: 41 end line: 64 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 415 unit: export async function createCentralEndpointDeploymentRole() file: src/deployments/cdk/src/deployments/iam/central-endpoints-deployment-roles.ts start line: 24 end line: 45 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 416 unit: async function createTgwRole() file: src/deployments/cdk/src/deployments/iam/tgw-accept-peering-roles.ts start line: 40 end line: 63 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 417 unit: deployments: optional() file: src/lib/config/src/config.ts start line: 646 end line: 671 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 418 unit: for await() file: src/lib/common/src/landing-zone/index.ts start line: 39 end line: 61 size: 21 LOC McCabe index: 7 number of parameters: 1 id: 419 unit: export function arrayEqual() file: src/lib/common/src/util/arrays.ts start line: 35 end line: 56 size: 21 LOC McCabe index: 6 number of parameters: 4 id: 420 unit: export function additionalReplacements() file: src/lib/common/src/util/common.ts start line: 205 end line: 225 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 421 unit: async function onCreate() file: src/lib/custom-resources/cdk-ec2-launch-time/runtime/src/index.ts start line: 36 end line: 59 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 422 unit: async function getVpcIds() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 390 end line: 411 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 423 unit: async function onCreate() file: src/lib/custom-resources/cdk-associate-resolver-rules/runtime/src/index.ts start line: 49 end line: 75 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 424 unit: async function onDelete() file: src/lib/custom-resources/cdk-associate-resolver-rules/runtime/src/index.ts start line: 131 end line: 157 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 425 unit: async function onDelete() file: src/lib/custom-resources/cdk-ssm-document-share/runtime/src/index.ts start line: 120 end line: 147 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 426 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-opensearch-siem-configure/runtime/src/index.ts start line: 79 end line: 111 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 427 unit: export async function getTemplateBody() file: src/core/runtime/src/create-stack-set/create-stack-set.ts start line: 133 end line: 156 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 428 unit: function getAvailableCidr() file: src/core/runtime/src/get-baseline-step.ts start line: 385 end line: 405 size: 21 LOC McCabe index: 6 number of parameters: 2 id: 429 unit: export function useStorage() file: src/ui/src/utils/hooks.tsx start line: 22 end line: 44 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 430 unit: static fromOutput() file: src/deployments/cdk/src/deployments/vpc/outputs.ts start line: 102 end line: 122 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 431 unit: export async function step1() file: src/deployments/cdk/src/deployments/ou-validation-events/step-1.ts start line: 55 end line: 142 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 432 unit: export function getBucket() file: src/deployments/cdk/src/deployments/defaults/outputs.ts start line: 224 end line: 246 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 433 unit: export function createDefaultS3Key() file: src/deployments/cdk/src/deployments/defaults/shared.ts start line: 27 end line: 48 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 434 unit: def thread_macie_delete() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 20 LOC McCabe index: 3 number of parameters: 3 id: 435 unit: alb: optional() file: src/lib/config/src/config.ts start line: 647 end line: 671 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 436 unit: async createOrUpdateStackSet() file: src/lib/common/src/aws/cloudformation.ts start line: 194 end line: 213 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 437 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-s3-put-bucket-versioning/runtime/src/index.ts start line: 113 end line: 132 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 438 unit: function buildPolicyDocument() file: src/lib/custom-resources/cdk-iam-create-role/runtime/src/index.ts start line: 153 end line: 172 size: 20 LOC McCabe index: 1 number of parameters: 2 id: 439 unit: async function onCreate() file: src/lib/custom-resources/cdk-transit-gateway-accept-peering/runtime/src/index.ts start line: 39 end line: 77 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 440 unit: constructor() file: src/lib/custom-resources/cdk-s3-template/cdk/index.ts start line: 36 end line: 59 size: 20 LOC McCabe index: 1 number of parameters: 3 id: 441 unit: async function updateMemberDataSource() file: src/lib/custom-resources/cdk-guardduty-admin-setup/runtime/src/index.ts start line: 180 end line: 210 size: 20 LOC McCabe index: 5 number of parameters: 3 id: 442 unit: async function enableMacie() file: src/lib/custom-resources/cdk-macie-enable/runtime/src/index.ts start line: 76 end line: 96 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 443 unit: async function centralLoggingSubscription() file: src/lib/custom-resources/logs-add-subscription-filter/runtime/src/index.ts start line: 91 end line: 114 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 444 unit: async function getKmsKeyPolicy() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/runtime/src/index.ts start line: 97 end line: 116 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 445 unit: function buildEventSelectorsRequest() file: src/lib/custom-resources/cdk-cloud-trail/runtime/src/index.ts start line: 171 end line: 190 size: 20 LOC McCabe index: 2 number of parameters: 3 id: 446 unit: async function main() file: src/installer/cdk/src/index.ts start line: 37 end line: 58 size: 20 LOC McCabe index: 7 number of parameters: 0 id: 447 unit: static async create() file: src/deployments/cdk/toolkit.ts start line: 82 end line: 103 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 448 unit: async bootstrapEnvironment() file: src/deployments/cdk/toolkit.ts start line: 114 end line: 135 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 449 unit: async deployAllStacks() file: src/deployments/cdk/toolkit.ts start line: 158 end line: 183 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 450 unit: export function getVpcSharedAccountKeys() file: src/deployments/cdk/src/common/vpc-subnet-sharing.ts start line: 51 end line: 71 size: 20 LOC McCabe index: 5 number of parameters: 3 id: 451 unit: function grantGetSecretValue() file: src/deployments/cdk/src/deployments/mad/step-2.ts start line: 222 end line: 241 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 452 unit: export async function logArchiveReadOnlyAccess() file: src/deployments/cdk/src/deployments/s3/log-archive-read-access.ts start line: 29 end line: 51 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 453 unit: export function getLambdaFunctionArn() file: src/deployments/cdk/src/deployments/alb/step-1.ts start line: 449 end line: 469 size: 20 LOC McCabe index: 1 number of parameters: 5 id: 454 unit: export async function step1() file: src/deployments/cdk/src/deployments/reports/step-1.ts start line: 27 end line: 52 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 455 unit: function CreateRoutes() file: src/deployments/cdk/src/deployments/transit-gateway/step-3.ts start line: 194 end line: 213 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 456 unit: export async function step1() file: src/deployments/cdk/src/deployments/certificates/step-1.ts start line: 30 end line: 52 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 457 unit: async function createRole() file: src/deployments/cdk/src/deployments/iam/s3-put-replication-role.ts start line: 34 end line: 54 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 458 unit: export function getIamUserPasswordSecretValue() file: src/deployments/cdk/src/deployments/iam/outputs.ts start line: 46 end line: 65 size: 20 LOC McCabe index: 1 number of parameters: 5 id: 459 unit: async function createRole() file: src/deployments/cdk/src/deployments/iam/log-group-role.ts start line: 34 end line: 54 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 460 unit: async function startStateMachine() file: src/deployments/runtime/src/ou-validation-events/move-account-organization.ts start line: 419 end line: 441 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 461 unit: def generate_config() file: reference-artifacts/Custom-Scripts/Conformance-Pack-Converter/generate-config-rules.py start line: 0 end line: 0 size: 19 LOC McCabe index: 7 number of parameters: 3 id: 462 unit: def delete_s3_bucket() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 19 LOC McCabe index: 3 number of parameters: 3 id: 463 unit: def thread_parameter_store() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 19 LOC McCabe index: 3 number of parameters: 3 id: 464 unit: function addNameTagAsIdWithSuffix() file: src/lib/cdk-accelerator/src/core/name-tagger.ts start line: 29 end line: 51 size: 19 LOC McCabe index: 5 number of parameters: 3 id: 465 unit: export function matchEditedConfigPath() file: src/lib/common-config/src/compare/common.ts start line: 33 end line: 51 size: 19 LOC McCabe index: 7 number of parameters: 4 id: 466 unit: export function matchEditedConfigPathValues() file: src/lib/common-config/src/compare/common.ts start line: 121 end line: 139 size: 19 LOC McCabe index: 7 number of parameters: 4 id: 467 unit: guardduty: defaulted() file: src/lib/config/src/config.ts start line: 749 end line: 767 size: 19 LOC McCabe index: 1 number of parameters: 2 id: 468 unit: async listPrincipalsForPortfolio() file: src/lib/common/src/aws/service-catalog.ts start line: 66 end line: 86 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 469 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-opensearch-siem-geoip-init/runtime/src/index.ts start line: 55 end line: 80 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 470 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-ec2-modify-transit-gateway-attachment/cdk/index.ts start line: 51 end line: 71 size: 19 LOC McCabe index: 2 number of parameters: 0 id: 471 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-ec2-modify-vpc-endpoint-service-permissions/cdk/index.ts start line: 50 end line: 70 size: 19 LOC McCabe index: 2 number of parameters: 0 id: 472 unit: constructor() file: src/lib/custom-resources/cdk-ec2-disable-api-termination/cdk/index.ts start line: 30 end line: 50 size: 19 LOC McCabe index: 1 number of parameters: 3 id: 473 unit: async function onUpdate() file: src/lib/custom-resources/cdk-ssm-create-document/runtime/src/index.ts start line: 66 end line: 91 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 474 unit: constructor() file: src/lib/cdk-constructs/src/s3/bucket.ts start line: 38 end line: 59 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 475 unit: async function verifyConfigRuleFiles() file: src/core/runtime/src/verify-files-step.ts start line: 302 end line: 321 size: 19 LOC McCabe index: 6 number of parameters: 3 id: 476 unit: function NodeEditLink() file: src/ui/src/components/node-edit-link.tsx start line: 25 end line: 46 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 477 unit: export function SimpleFormFieldWrapper() file: src/ui/src/components/node-field.tsx start line: 64 end line: 83 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 478 unit: export function removeDisabledObjects() file: src/ui/src/pages/wizards/util.tsx start line: 62 end line: 81 size: 19 LOC McCabe index: 7 number of parameters: 3 id: 479 unit: async function createRole() file: src/deployments/cdk/src/deployments/iam/logs-metric-filter-role.ts start line: 34 end line: 53 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 480 unit: def remove_permissions_special_case() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 18 LOC McCabe index: 5 number of parameters: 3 id: 481 unit: export async function validateTgw() file: src/lib/common-config/src/compare/validate.ts start line: 301 end line: 322 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 482 unit: export async function loadAcceleratorConfig() file: src/lib/common-config/src/load.ts start line: 23 end line: 40 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 483 unit: type: defaulted() file: src/lib/config/src/config.ts start line: 527 end line: 546 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 484 unit: budget: optional() file: src/lib/config/src/config.ts start line: 649 end line: 671 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 485 unit: private lambdaFunction() file: src/lib/custom-resources/cdk-macie-export-config/cdk/index.ts start line: 47 end line: 66 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 486 unit: private lambdaFunction() file: src/lib/custom-resources/cdk-ssm-session-manager-document/cdk/index.ts start line: 66 end line: 85 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 487 unit: private lambdaFunction() file: src/lib/custom-resources/cdk-guardduty-create-publish/cdk/index.ts start line: 50 end line: 69 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 488 unit: private lambdaFunction() file: src/lib/custom-resources/cdk-macie-update-config/cdk/index.ts start line: 45 end line: 64 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 489 unit: private lambdaFunction() file: src/lib/custom-resources/cdk-macie-enable-admin/cdk/index.ts start line: 45 end line: 64 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 490 unit: private lambdaFunction() file: src/lib/custom-resources/cdk-security-hub-enable/cdk/index.ts start line: 45 end line: 64 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 491 unit: async function onDelete() file: src/lib/custom-resources/cdk-security-hub-enable/runtime/src/index.ts start line: 139 end line: 164 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 492 unit: private ensureRole() file: src/lib/custom-resources/cdk-cfn-sleep/cdk/index.ts start line: 73 end line: 91 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 493 unit: private lambdaFunction() file: src/lib/custom-resources/cdk-guardduty-get-detector/cdk/index.ts start line: 52 end line: 71 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 494 unit: private lambdaFunction() file: src/lib/custom-resources/cdk-guardduty-enable-admin/cdk/index.ts start line: 47 end line: 66 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 495 unit: private lambdaFunction() file: src/lib/custom-resources/cdk-iam-create-role/cdk/index.ts start line: 55 end line: 74 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 496 unit: protected onPrepare() file: src/lib/custom-resources/cdk-acm-import-certificate/cdk/index.ts start line: 68 end line: 87 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 497 unit: private lambdaFunction() file: src/lib/custom-resources/cdk-macie-create-member/cdk/index.ts start line: 47 end line: 66 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 498 unit: private lambdaFunction() file: src/lib/custom-resources/cdk-ssm-document-share/cdk/index.ts start line: 47 end line: 66 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 499 unit: private lambdaFunction() file: src/lib/custom-resources/cdk-security-hub-accept-invites/cdk/index.ts start line: 46 end line: 65 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 500 unit: private ensureLambdaFunction() file: src/lib/custom-resources/cdk-security-hub-disable-controls/cdk/index.ts start line: 50 end line: 69 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 501 unit: private lambdaFunction() file: src/lib/custom-resources/cdk-guardduty-admin-setup/cdk/index.ts start line: 60 end line: 79 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 502 unit: async function isConfigurationAutoEnabled() file: src/lib/custom-resources/cdk-guardduty-admin-setup/runtime/src/index.ts start line: 161 end line: 178 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 503 unit: async function onDelete() file: src/lib/custom-resources/cdk-guardduty-admin-setup/runtime/src/index.ts start line: 282 end line: 299 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 504 unit: private lambdaFunction() file: src/lib/custom-resources/cdk-macie-enable/cdk/index.ts start line: 48 end line: 67 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 505 unit: private lambdaFunction() file: src/lib/custom-resources/cdk-macie-update-session/cdk/index.ts start line: 48 end line: 67 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 506 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-logs-log-group/cdk/index.ts start line: 114 end line: 133 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 507 unit: async function putKmsKeyPolicy() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/runtime/src/index.ts start line: 118 end line: 135 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 508 unit: private lambdaFunction() file: src/lib/custom-resources/cdk-ssm-create-document/cdk/index.ts start line: 54 end line: 73 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 509 unit: function buildDeleteIngressRequest() file: src/lib/custom-resources/cdk-vpc-default-security-group/runtime/src/index.ts start line: 112 end line: 130 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 510 unit: private lambdaFunction() file: src/lib/custom-resources/cdk-security-hub-send-invites/cdk/index.ts start line: 51 end line: 70 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 511 unit: async getProvider() file: src/lib/cdk-plugin-assume-role/src/assume-role-provider-source.ts start line: 40 end line: 62 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 512 unit: export function createStructuredOutputFinder() file: src/lib/common-outputs/src/structured-output.ts start line: 42 end line: 60 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 513 unit: constructor() file: src/lib/cdk-constructs/src/route53/resolver-rule.ts start line: 32 end line: 51 size: 18 LOC McCabe index: 1 number of parameters: 3 id: 514 unit: async function verifyRdgwFiles() file: src/core/runtime/src/verify-files-step.ts start line: 106 end line: 124 size: 18 LOC McCabe index: 2 number of parameters: 4 id: 515 unit: async function verifySsmDocumentFiles() file: src/core/runtime/src/verify-files-step.ts start line: 282 end line: 300 size: 18 LOC McCabe index: 1 number of parameters: 3 id: 516 unit: export function getSharedAccountKeys() file: src/deployments/cdk/src/common/vpc-subnet-sharing.ts start line: 28 end line: 49 size: 18 LOC McCabe index: 3 number of parameters: 4 id: 517 unit: export function createTargetGroupForInstance() file: src/deployments/cdk/src/deployments/alb/step-1.ts start line: 471 end line: 495 size: 18 LOC McCabe index: 1 number of parameters: 5 id: 518 unit: async function downloadCustomRules() file: src/deployments/cdk/src/deployments/config/create.ts start line: 439 end line: 456 size: 18 LOC McCabe index: 2 number of parameters: 5 id: 519 unit: export async function step1() file: src/deployments/cdk/src/deployments/key-pair/step-1.ts start line: 28 end line: 46 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 520 unit: export async function enableGuardDutyPolicy() file: src/deployments/cdk/src/deployments/guardduty/guardduty.ts start line: 172 end line: 192 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 521 unit: export async function createMacieUpdateConfigRole() file: src/deployments/cdk/src/deployments/iam/macie-roles.ts start line: 155 end line: 173 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 522 unit: export async function createMacieUpdateSessionRole() file: src/deployments/cdk/src/deployments/iam/macie-roles.ts start line: 175 end line: 193 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 523 unit: export async function createMacieCreateMember() file: src/deployments/cdk/src/deployments/iam/macie-roles.ts start line: 195 end line: 213 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 524 unit: export async function createGetDetectorRole() file: src/deployments/cdk/src/deployments/iam/guardduty-roles.ts start line: 113 end line: 132 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 525 unit: export async function createSecurityHubRole() file: src/deployments/cdk/src/deployments/iam/securityhub-roles.ts start line: 34 end line: 56 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 526 unit: async function createRole() file: src/deployments/cdk/src/deployments/iam/fms.ts start line: 38 end line: 57 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 527 unit: fileContent: pretty() file: src/deployments/runtime/src/ou-validation-events/move-account-organization.ts start line: 272 end line: 290 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 528 unit: function addAccelProtectedTag() file: src/lib/cdk-accelerator/src/core/accelerator-protected-tagger.ts start line: 27 end line: 45 size: 17 LOC McCabe index: 4 number of parameters: 3 id: 529 unit: function scopeValidation() file: src/lib/common-config/src/compare/main.ts start line: 183 end line: 294 size: 17 LOC McCabe index: 5 number of parameters: 5 id: 530 unit: const validateNewAccounts = function() file: src/lib/common-config/src/compare/main.ts start line: 190 end line: 206 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 531 unit: accounts: optional() file: src/lib/config/src/config.ts start line: 813 end line: 831 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 532 unit: async prepare() file: src/lib/common/src/util/common.ts start line: 72 end line: 106 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 533 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-create-resolver-rule/cdk/index.ts start line: 62 end line: 80 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 534 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-create-hosted-zone/cdk/index.ts start line: 56 end line: 74 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 535 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-guardduty-create-publish/runtime/src/index.ts start line: 65 end line: 87 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 536 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-ssm-increase-throughput/cdk/index.ts start line: 41 end line: 59 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 537 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-s3-put-bucket-versioning/cdk/index.ts start line: 50 end line: 68 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 538 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-s3-put-bucket-versioning/runtime/src/index.ts start line: 54 end line: 103 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 539 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-s3-put-bucket-versioning/runtime/src/index.ts start line: 74 end line: 96 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 540 unit: private ensureLambdaFunction() file: src/lib/custom-resources/cdk-cfn-sleep/cdk/index.ts start line: 52 end line: 71 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 541 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-logs-metric-filter/cdk/index.ts start line: 57 end line: 75 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 542 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-fms-notification-channel/cdk/index.ts start line: 48 end line: 66 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 543 unit: constructor() file: src/lib/custom-resources/cdk-iam-create-role/cdk/index.ts start line: 35 end line: 53 size: 17 LOC McCabe index: 1 number of parameters: 3 id: 544 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-resource-cleanup/cdk/index.ts start line: 56 end line: 74 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 545 unit: private ensureLambdaFunction() file: src/lib/custom-resources/cdk-transit-gateway-create-peering/cdk/index.ts start line: 67 end line: 85 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 546 unit: constructor() file: src/lib/custom-resources/cdk-kms-grant/cdk/index.ts start line: 54 end line: 72 size: 17 LOC McCabe index: 1 number of parameters: 3 id: 547 unit: private ensureLambdaFunction() file: src/lib/custom-resources/cdk-transit-gateway-accept-peering/cdk/index.ts start line: 53 end line: 71 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 548 unit: function buildDescribeTransitGatewayAttachmentsResult() file: src/lib/custom-resources/cdk-transit-gateway-accept-peering/runtime/src/index.ts start line: 90 end line: 107 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 549 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-associate-hosted-zones/cdk/index.ts start line: 59 end line: 77 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 550 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-associate-resolver-rules/cdk/index.ts start line: 50 end line: 68 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 551 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-ec2-accept-vpc-endpoint-connection/cdk/index.ts start line: 50 end line: 68 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 552 unit: async function describeStandardsControls() file: src/lib/custom-resources/cdk-security-hub-disable-controls/runtime/src/index.ts start line: 169 end line: 185 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 553 unit: async function deleteMembers() file: src/lib/custom-resources/cdk-guardduty-admin-setup/runtime/src/index.ts start line: 232 end line: 254 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 554 unit: async function listMembers() file: src/lib/custom-resources/cdk-guardduty-admin-setup/runtime/src/index.ts start line: 256 end line: 272 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 555 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-cloud-trail/cdk/index.ts start line: 49 end line: 67 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 556 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-s3-put-bucket-replication/cdk/index.ts start line: 51 end line: 69 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 557 unit: private get lambdaFunction() file: src/lib/custom-resources/cdk-disassociate-hosted-zones/cdk/index.ts start line: 55 end line: 73 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 558 unit: constructor() file: src/lib/cdk-constructs/src/firewall/manager.ts start line: 38 end line: 56 size: 17 LOC McCabe index: 2 number of parameters: 3 id: 559 unit: private addVpcReplacements() file: src/lib/cdk-constructs/src/firewall/instance.ts start line: 222 end line: 247 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 560 unit: async function getFailedState() file: src/core/runtime/src/notify-statemachine-failure.ts start line: 85 end line: 101 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 561 unit: export async function loadAccounts() file: src/core/runtime/src/utils/load-accounts.ts start line: 17 end line: 33 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 562 unit: function createReplacement() file: src/ui/src/components/replacements-context.tsx start line: 157 end line: 173 size: 17 LOC McCabe index: 2 number of parameters: 3 id: 563 unit: cgwBgpAsn1: optional() file: src/deployments/cdk/src/deployments/firewall/cluster/outputs.ts start line: 61 end line: 79 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 564 unit: export function additionalReplacements() file: src/deployments/cdk/src/deployments/firewall/cluster/step-3.ts start line: 386 end line: 402 size: 17 LOC McCabe index: 6 number of parameters: 1 id: 565 unit: function getMadConfigRootPasswordSecretArn() file: src/deployments/cdk/src/deployments/mad/step-2.ts start line: 243 end line: 259 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 566 unit: function blockS3PublicAccess() file: src/deployments/cdk/src/deployments/defaults/step-1.ts start line: 66 end line: 84 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 567 unit: totalHeapSize: convertToMegabytes() file: src/deployments/cdk/cdk.ts start line: 43 end line: 60 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 568 unit: async function isAcceleratorScp() file: src/deployments/runtime/src/ou-validation-events/policy-changes.ts start line: 232 end line: 248 size: 17 LOC McCabe index: 5 number of parameters: 2 id: 569 unit: def remove_elb_termination_block() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 16 LOC McCabe index: 4 number of parameters: 3 id: 570 unit: export function deletedConfigDependencyArray() file: src/lib/common-config/src/compare/common.ts start line: 53 end line: 68 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 571 unit: export function matchBooleanConfigDependency() file: src/lib/common-config/src/compare/common.ts start line: 103 end line: 119 size: 16 LOC McCabe index: 10 number of parameters: 3 id: 572 unit: export function matchConfigDependencyArray() file: src/lib/common-config/src/compare/common.ts start line: 164 end line: 179 size: 16 LOC McCabe index: 6 number of parameters: 3 id: 573 unit: regions: optional() file: src/lib/config/src/config.ts start line: 814 end line: 831 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 574 unit: async provisionProduct() file: src/lib/common/src/aws/service-catalog.ts start line: 143 end line: 158 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 575 unit: async putBucketKmsEncryption() file: src/lib/common/src/aws/s3.ts start line: 52 end line: 68 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 576 unit: async describeStack() file: src/lib/common/src/aws/cloudformation.ts start line: 67 end line: 83 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 577 unit: async describeStackSet() file: src/lib/common/src/aws/cloudformation.ts start line: 121 end line: 136 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 578 unit: async createAccount() file: src/lib/common/src/aws/organizations.ts start line: 307 end line: 322 size: 16 LOC McCabe index: 1 number of parameters: 3 id: 579 unit: async getOrganizationParents() file: src/lib/common/src/aws/organizations.ts start line: 386 end line: 401 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 580 unit: async function configExport() file: src/lib/custom-resources/cdk-macie-export-config/runtime/src/index.ts start line: 66 end line: 82 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 581 unit: async function getVpcIds() file: src/lib/custom-resources/cdk-create-resolver-rule/runtime/src/index.ts start line: 207 end line: 224 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 582 unit: constructor() file: src/lib/custom-resources/cdk-resource-cleanup/cdk/index.ts start line: 37 end line: 54 size: 16 LOC McCabe index: 1 number of parameters: 3 id: 583 unit: export function createCustomResourceTags() file: src/lib/custom-resources/runtime-cfn-tags/src/index.ts start line: 29 end line: 44 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 584 unit: constructor() file: src/lib/custom-resources/cdk-transit-gateway-create-peering/cdk/index.ts start line: 37 end line: 54 size: 16 LOC McCabe index: 1 number of parameters: 3 id: 585 unit: private createDisableApiTerminationDefinition() file: src/lib/custom-resources/cdk-ec2-disable-api-termination/cdk/index.ts start line: 52 end line: 67 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 586 unit: constructor() file: src/lib/custom-resources/cdk-guardduty-admin-setup/cdk/index.ts start line: 40 end line: 58 size: 16 LOC McCabe index: 1 number of parameters: 3 id: 587 unit: async function getLogGroups() file: src/lib/custom-resources/logs-add-subscription-filter/runtime/src/index.ts start line: 188 end line: 203 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 588 unit: async function getBucketPolicy() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/runtime/src/index.ts start line: 66 end line: 81 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 589 unit: async function constructPolicy() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/runtime/src/index.ts start line: 142 end line: 157 size: 16 LOC McCabe index: 4 number of parameters: 3 id: 590 unit: constructor() file: src/lib/custom-resources/cdk-ec2-marketplace-subscription-validation/cdk/index.ts start line: 35 end line: 53 size: 16 LOC McCabe index: 1 number of parameters: 3 id: 591 unit: function buildDeleteEgressRequest() file: src/lib/custom-resources/cdk-vpc-default-security-group/runtime/src/index.ts start line: 135 end line: 150 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 592 unit: constructor() file: src/lib/cdk-constructs/src/vpc/alb.ts start line: 31 end line: 49 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 593 unit: logToBucket() file: src/lib/cdk-constructs/src/vpc/alb.ts start line: 51 end line: 66 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 594 unit: function updateAccountConfig() file: src/core/runtime/src/ou-validation.ts start line: 342 end line: 357 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 595 unit: async function createAggregator() file: src/core/runtime/src/create-config-recorder/create.ts start line: 339 end line: 362 size: 16 LOC McCabe index: 2 number of parameters: 5 id: 596 unit: async function deleteAggregator() file: src/core/runtime/src/create-config-recorder/create.ts start line: 364 end line: 381 size: 16 LOC McCabe index: 2 number of parameters: 4 id: 597 unit: export function useValidation() file: src/ui/src/components/fields/validation.tsx start line: 37 end line: 54 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 598 unit: export function useMobXSyncToStorage() file: src/ui/src/components/mobx-sync-storage.tsx start line: 27 end line: 42 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 599 unit: export default function EditorPage() file: src/ui/src/pages/editor/index.tsx start line: 22 end line: 43 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 600 unit: export function useEnableNode() file: src/ui/src/pages/wizards/util.tsx start line: 26 end line: 43 size: 16 LOC McCabe index: 5 number of parameters: 3 id: 601 unit: roleName: createRoleName() file: src/deployments/cdk/src/deployments/alb/step-1.ts start line: 425 end line: 441 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 602 unit: async function convertCostTypes() file: src/deployments/cdk/src/deployments/billing/budget.ts start line: 37 end line: 52 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 603 unit: totalHeapSizeExecutable: convertToMegabytes() file: src/deployments/cdk/cdk.ts start line: 44 end line: 60 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 604 unit: constructor() file: src/lib/common-types/src/types.ts start line: 53 end line: 67 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 605 unit: createSecret() file: src/lib/cdk-accelerator/src/core/secrets-container.ts start line: 87 end line: 103 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 606 unit: export function deletedSubAccount() file: src/lib/common-config/src/compare/common.ts start line: 17 end line: 31 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 607 unit: type: optional() file: src/lib/config/src/config.ts start line: 219 end line: 235 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 608 unit: deleted: defaulted() file: src/lib/config/src/config.ts start line: 652 end line: 671 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 609 unit: cwl: defaulted() file: src/lib/config/src/config.ts start line: 753 end line: 767 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 610 unit: namespace: optional() file: src/lib/config/src/config.ts start line: 815 end line: 831 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 611 unit: async getOutputValue() file: src/lib/common/src/aws/dynamodb.ts start line: 84 end line: 98 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 612 unit: async searchProvisionedProducts() file: src/lib/common/src/aws/service-catalog.ts start line: 164 end line: 178 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 613 unit: async describeDefaultVpcs() file: src/lib/common/src/aws/ec2.ts start line: 68 end line: 82 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 614 unit: async describeInternetGatewaysByVpc() file: src/lib/common/src/aws/ec2.ts start line: 113 end line: 127 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 615 unit: async findSharedAccounts() file: src/lib/common/src/aws/directory-service.ts start line: 89 end line: 103 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 616 unit: async listOrganizationalUnits() file: src/lib/common/src/aws/organizations.ts start line: 114 end line: 133 size: 15 LOC McCabe index: 3 number of parameters: 0 id: 617 unit: async function onDelete() file: src/lib/custom-resources/cdk-s3-put-bucket-versioning/runtime/src/index.ts start line: 105 end line: 151 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 618 unit: async function enableOrgAdmin() file: src/lib/custom-resources/cdk-macie-enable-admin/runtime/src/index.ts start line: 84 end line: 98 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 619 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-logs-metric-filter/runtime/src/index.ts start line: 69 end line: 83 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 620 unit: async function onDelete() file: src/lib/custom-resources/cdk-logs-metric-filter/runtime/src/index.ts start line: 95 end line: 115 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 621 unit: for await() file: src/lib/custom-resources/cdk-s3-copy-files/runtime/src/index.ts start line: 102 end line: 117 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 622 unit: async function getS3Body() file: src/lib/custom-resources/cdk-acm-import-certificate/runtime/src/index.ts start line: 144 end line: 158 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 623 unit: async function getS3Body() file: src/lib/custom-resources/cdk-opensearch-siem-configure/runtime/src/index.ts start line: 62 end line: 76 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 624 unit: function buildDescribeSecurityGroupsRequest() file: src/lib/custom-resources/cdk-vpc-default-security-group/runtime/src/index.ts start line: 92 end line: 107 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 625 unit: private ensureLambda() file: src/lib/cdk-constructs/src/config/custom-rule.ts start line: 46 end line: 63 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 626 unit: dnsSupport: enableDisableProperty() file: src/lib/cdk-constructs/src/vpc/transit-gateway.ts start line: 37 end line: 53 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 627 unit: value: String() file: src/lib/cdk-constructs/src/vpc/glb.ts start line: 57 end line: 73 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 628 unit: async function verifyIamPolicyFiles() file: src/core/runtime/src/verify-files-step.ts start line: 89 end line: 104 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 629 unit: await beforeStart() file: src/core/runtime/src/get-or-create-config.ts start line: 60 end line: 74 size: 15 LOC McCabe index: 7 number of parameters: 6 id: 630 unit: async function enableConfigRecorder() file: src/core/runtime/src/create-config-recorder/create.ts start line: 322 end line: 337 size: 15 LOC McCabe index: 2 number of parameters: 4 id: 631 unit: export async function loadOutputs() file: src/core/runtime/src/utils/load-outputs.ts start line: 17 end line: 31 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 632 unit: export function isRawType() file: src/ui/src/types.ts start line: 110 end line: 124 size: 15 LOC McCabe index: 11 number of parameters: 1 id: 633 unit: export default function Breadcrumbs() file: src/ui/src/pages/editor/breadcrumbs.tsx start line: 21 end line: 35 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 634 unit: cidr: configCidrList() file: src/ui/src/pages/wizards/components/vpc-table.tsx start line: 283 end line: 299 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 635 unit: Subnet shared() file: src/ui/src/pages/wizards/components/vpc-table.tsx start line: 421 end line: 436 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 636 unit: async function main() file: src/deployments/cdk/tools.ts start line: 91 end line: 109 size: 15 LOC McCabe index: 4 number of parameters: 0 id: 637 unit: export function configureS3LoggingNotifications() file: src/deployments/cdk/src/deployments/opensearch-siem/step-3.ts start line: 72 end line: 86 size: 15 LOC McCabe index: 2 number of parameters: 4 id: 638 unit: await changePolicy() file: src/deployments/cdk/src/deployments/ou-validation-events/step-1.ts start line: 105 end line: 119 size: 15 LOC McCabe index: 1 number of parameters: 14 id: 639 unit: totalPhysicalSize: convertToMegabytes() file: src/deployments/cdk/cdk.ts start line: 45 end line: 60 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 640 unit: def remove_permission_boundaries() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 641 unit: def cleanup_cwl() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 642 unit: def cleanup_parameter_store() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 643 unit: def cleanup_dynamodb() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 644 unit: function getSize() file: src/lib/common-types/src/types.ts start line: 98 end line: 111 size: 14 LOC McCabe index: 6 number of parameters: 1 id: 645 unit: export function deletedConfigEntry() file: src/lib/common-config/src/compare/common.ts start line: 181 end line: 194 size: 14 LOC McCabe index: 5 number of parameters: 3 id: 646 unit: subnets: optional() file: src/lib/config/src/config.ts start line: 270 end line: 285 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 647 unit: certificates: optional() file: src/lib/config/src/config.ts start line: 675 end line: 693 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 648 unit: statistic: optional() file: src/lib/config/src/config.ts start line: 816 end line: 831 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 649 unit: async associateVPCWithHostedZone() file: src/lib/common/src/aws/route53.ts start line: 69 end line: 82 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 650 unit: async createVPCAssociationAuthorization() file: src/lib/common/src/aws/route53.ts start line: 91 end line: 104 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 651 unit: async deleteVPCAssociationAuthorization() file: src/lib/common/src/aws/route53.ts start line: 113 end line: 126 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 652 unit: async listPortfolios() file: src/lib/common/src/aws/service-catalog.ts start line: 50 end line: 64 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 653 unit: async associateRoleWithPortfolio() file: src/lib/common/src/aws/service-catalog.ts start line: 98 end line: 111 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 654 unit: async createPolicy() file: src/lib/common/src/aws/organizations.ts start line: 195 end line: 208 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 655 unit: async updatePolicy() file: src/lib/common/src/aws/organizations.ts start line: 217 end line: 230 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 656 unit: async getOrganizationalUnitWithPath() file: src/lib/common/src/aws/organizations.ts start line: 370 end line: 384 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 657 unit: async getFromFile() file: src/lib/common/src/util/common.ts start line: 160 end line: 173 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 658 unit: private generateTitle() file: src/lib/docs-gen/src/helpers/translation-extract-helper.ts start line: 43 end line: 57 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 659 unit: constructor() file: src/lib/custom-resources/cdk-guardduty-create-publish/cdk/index.ts start line: 34 end line: 48 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 660 unit: async function isGuardDutyAdminEnabled() file: src/lib/custom-resources/cdk-guardduty-enable-admin/runtime/src/index.ts start line: 67 end line: 81 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 661 unit: async function enableOrgAdmin() file: src/lib/custom-resources/cdk-guardduty-enable-admin/runtime/src/index.ts start line: 87 end line: 101 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 662 unit: async function deleteS3Markers() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 266 end line: 288 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 663 unit: async function deleteS3Versions() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 324 end line: 346 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 664 unit: async function onCreate() file: src/lib/custom-resources/cdk-s3-copy-files/runtime/src/index.ts start line: 47 end line: 66 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 665 unit: export function errorHandler() file: src/lib/custom-resources/runtime-cfn-response/src/index.ts start line: 103 end line: 128 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 666 unit: async function getSubscriptionFilters() file: src/lib/custom-resources/logs-add-subscription-filter/runtime/src/index.ts start line: 205 end line: 219 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 667 unit: protected onPrepare() file: src/lib/custom-resources/cdk-logs-log-group/cdk/index.ts start line: 84 end line: 98 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 668 unit: protected onPrepare() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/cdk/index.ts start line: 46 end line: 60 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 669 unit: async function onDelete() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/runtime/src/index.ts start line: 210 end line: 225 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 670 unit: protected async assumeRole() file: src/lib/cdk-plugin-assume-role/src/assume-role-provider-source.ts start line: 64 end line: 78 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 671 unit: vpnEcmpSupport: enableDisableProperty() file: src/lib/cdk-constructs/src/vpc/transit-gateway.ts start line: 38 end line: 53 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 672 unit: async function verifyFiles() file: src/core/runtime/src/verify-files-step.ts start line: 253 end line: 266 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 673 unit: vpnBgpAsn1: optional() file: src/deployments/cdk/src/deployments/firewall/cluster/outputs.ts start line: 64 end line: 79 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 674 unit: export function getMadUserPasswordSecretArn() file: src/deployments/cdk/src/deployments/mad/outputs.ts start line: 52 end line: 65 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 675 unit: accountKey: validateOrGetAccountId() file: src/deployments/cdk/src/deployments/alb/step-1.ts start line: 237 end line: 254 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 676 unit: export function createLambdaRole() file: src/deployments/cdk/src/deployments/alb/step-1.ts start line: 416 end line: 447 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 677 unit: export function createTargetGroupForLambda() file: src/deployments/cdk/src/deployments/alb/step-1.ts start line: 497 end line: 510 size: 14 LOC McCabe index: 1 number of parameters: 4 id: 678 unit: costTypes: await convertCostTypes() file: src/deployments/cdk/src/deployments/billing/budget.ts start line: 81 end line: 114 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 679 unit: function getVpcFlowLogConfiguration() file: src/deployments/cdk/src/deployments/vpc/step-2.ts start line: 180 end line: 196 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 680 unit: function getOrCreateFlowLogContainer() file: src/deployments/cdk/src/deployments/vpc/step-1.ts start line: 71 end line: 84 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 681 unit: export function createIamUserPasswordSecretName() file: src/deployments/cdk/src/deployments/iam/outputs.ts start line: 31 end line: 44 size: 14 LOC McCabe index: 1 number of parameters: 4 id: 682 unit: export async function createSSMDocumentRoles() file: src/deployments/cdk/src/deployments/iam/ssm-document-roles.ts start line: 27 end line: 40 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 683 unit: totalAvailableSize: convertToMegabytes() file: src/deployments/cdk/cdk.ts start line: 46 end line: 60 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 684 unit: iam: optional() file: src/lib/config/src/config.ts start line: 676 end line: 693 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 685 unit: period: optional() file: src/lib/config/src/config.ts start line: 817 end line: 831 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 686 unit: constructor() file: src/lib/custom-resources/cdk-ec2-keypair/cdk/index.ts start line: 33 end line: 48 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 687 unit: async function isMacieAdminEnabled() file: src/lib/custom-resources/cdk-macie-enable-admin/runtime/src/index.ts start line: 70 end line: 82 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 688 unit: constructor() file: src/lib/custom-resources/cdk-logs-metric-filter/cdk/index.ts start line: 41 end line: 55 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 689 unit: async function onDelete() file: src/lib/custom-resources/cdk-fms-notification-channel/runtime/src/index.ts start line: 82 end line: 94 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 690 unit: async function deleteS3Objects() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 213 end line: 234 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 691 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-iam-password-policy/runtime/src/index.ts start line: 39 end line: 51 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 692 unit: constructor() file: src/lib/custom-resources/cdk-ssm-document-share/cdk/index.ts start line: 33 end line: 45 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 693 unit: async function onCreate() file: src/lib/custom-resources/cdk-ssm-document-share/runtime/src/index.ts start line: 51 end line: 71 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 694 unit: async function putBucketPolicy() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/runtime/src/index.ts start line: 83 end line: 95 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 695 unit: async function updateBucketPolicy() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/runtime/src/index.ts start line: 159 end line: 171 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 696 unit: async function updateKeyPolicy() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/runtime/src/index.ts start line: 173 end line: 185 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 697 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-cloud-trail/runtime/src/index.ts start line: 76 end line: 88 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 698 unit: constructor() file: src/lib/cdk-constructs/src/config/custom-rule.ts start line: 32 end line: 44 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 699 unit: defaultRouteTableAssociation: enableDisableProperty() file: src/lib/cdk-constructs/src/vpc/transit-gateway.ts start line: 39 end line: 53 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 700 unit: function listIamPolicyFileNames() file: src/core/runtime/src/verify-files-step.ts start line: 268 end line: 280 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 701 unit: async function loadAccounts() file: src/core/runtime/src/ou-validation.ts start line: 358 end line: 370 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 702 unit: async function validateExecution() file: src/core/runtime/src/get-or-create-config.ts start line: 346 end line: 359 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 703 unit: constructor() file: src/deployments/cdk/src/common/account-stacks.ts start line: 39 end line: 52 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 704 unit: constructor() file: src/deployments/cdk/src/common/add-tags-to-resources-output.ts start line: 47 end line: 62 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 705 unit: await moveAccount() file: src/deployments/cdk/src/deployments/ou-validation-events/step-1.ts start line: 90 end line: 102 size: 13 LOC McCabe index: 1 number of parameters: 12 id: 706 unit: export async function step1() file: src/deployments/cdk/src/deployments/defaults/step-1.ts start line: 51 end line: 64 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 707 unit: export async function createTgwPeeringRoles() file: src/deployments/cdk/src/deployments/iam/tgw-create-peering-roles.ts start line: 25 end line: 39 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 708 unit: export async function createTgwAcceptPeeringRoles() file: src/deployments/cdk/src/deployments/iam/tgw-accept-peering-roles.ts start line: 25 end line: 38 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 709 unit: usedHeapSize: convertToMegabytes() file: src/deployments/cdk/cdk.ts start line: 47 end line: 60 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 710 unit: def cleanup_ad_connectors() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 711 unit: function stringify() file: src/lib/common-types/src/reporter.ts start line: 19 end line: 30 size: 12 LOC McCabe index: 6 number of parameters: 1 id: 712 unit: constructor() file: src/lib/cdk-accelerator/src/core/key-pair.ts start line: 28 end line: 40 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 713 unit: port: optional() file: src/lib/config/src/config.ts start line: 222 end line: 235 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 714 unit: alb: optional() file: src/lib/config/src/config.ts start line: 677 end line: 693 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 715 unit: async getServiceQuotaOrDefault() file: src/lib/common/src/aws/service-quotas.ts start line: 44 end line: 55 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 716 unit: async getParameterHistory() file: src/lib/common/src/aws/ssm.ts start line: 39 end line: 50 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 717 unit: async putParameter() file: src/lib/common/src/aws/ssm.ts start line: 52 end line: 63 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 718 unit: async getADConnectors() file: src/lib/common/src/aws/directory-service.ts start line: 110 end line: 121 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 719 unit: async associateResolverRule() file: src/lib/common/src/aws/r53resolver.ts start line: 43 end line: 54 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 720 unit: async function onEvent() file: src/lib/custom-resources/cdk-macie-export-config/runtime/src/index.ts start line: 34 end line: 47 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 721 unit: constructor() file: src/lib/custom-resources/cdk-create-resolver-rule/cdk/index.ts start line: 44 end line: 56 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 722 unit: async function onEvent() file: src/lib/custom-resources/cdk-create-resolver-rule/runtime/src/index.ts start line: 37 end line: 50 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 723 unit: async function onEvent() file: src/lib/custom-resources/cdk-opensearch-siem-geoip-init/runtime/src/index.ts start line: 34 end line: 47 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 724 unit: async function onEvent() file: src/lib/custom-resources/ec2-ebs-default-encryption/lambda/src/index.ts start line: 28 end line: 41 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 725 unit: async function onEvent() file: src/lib/custom-resources/cdk-ec2-keypair/runtime/src/index.ts start line: 35 end line: 48 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 726 unit: async function onEvent() file: src/lib/custom-resources/cdk-ssm-session-manager-document/runtime/src/index.ts start line: 36 end line: 49 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 727 unit: constructor() file: src/lib/custom-resources/cdk-create-hosted-zone/cdk/index.ts start line: 38 end line: 50 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 728 unit: async function onEvent() file: src/lib/custom-resources/cdk-create-hosted-zone/runtime/src/index.ts start line: 31 end line: 44 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 729 unit: async function onEvent() file: src/lib/custom-resources/cdk-guardduty-create-publish/runtime/src/index.ts start line: 35 end line: 48 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 730 unit: async function onEvent() file: src/lib/custom-resources/cdk-ssm-increase-throughput/runtime/src/index.ts start line: 24 end line: 37 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 731 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-ssm-increase-throughput/runtime/src/index.ts start line: 39 end line: 56 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 732 unit: constructor() file: src/lib/custom-resources/cdk-s3-put-bucket-versioning/cdk/index.ts start line: 36 end line: 48 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 733 unit: async function onEvent() file: src/lib/custom-resources/cdk-s3-put-bucket-versioning/runtime/src/index.ts start line: 34 end line: 47 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 734 unit: async function onEvent() file: src/lib/custom-resources/cdk-macie-update-config/runtime/src/index.ts start line: 32 end line: 45 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 735 unit: constructor() file: src/lib/custom-resources/cdk-macie-enable-admin/cdk/index.ts start line: 30 end line: 43 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 736 unit: async function onEvent() file: src/lib/custom-resources/cdk-macie-enable-admin/runtime/src/index.ts start line: 31 end line: 44 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 737 unit: async function onEvent() file: src/lib/custom-resources/cdk-security-hub-enable/runtime/src/index.ts start line: 34 end line: 47 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 738 unit: async function onEvent() file: src/lib/custom-resources/cdk-cfn-sleep/runtime/src/index.ts start line: 27 end line: 40 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 739 unit: async function onEvent() file: src/lib/custom-resources/cdk-logs-metric-filter/runtime/src/index.ts start line: 34 end line: 47 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 740 unit: constructor() file: src/lib/custom-resources/cdk-ec2-modify-transit-gateway-attachment/cdk/index.ts start line: 37 end line: 49 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 741 unit: async function onEvent() file: src/lib/custom-resources/cdk-ec2-modify-transit-gateway-attachment/runtime/src/index.ts start line: 30 end line: 43 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 742 unit: constructor() file: src/lib/custom-resources/cdk-fms-notification-channel/cdk/index.ts start line: 33 end line: 46 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 743 unit: async function onEvent() file: src/lib/custom-resources/cdk-fms-notification-channel/runtime/src/index.ts start line: 34 end line: 47 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 744 unit: constructor() file: src/lib/custom-resources/cdk-guardduty-enable-admin/cdk/index.ts start line: 32 end line: 45 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 745 unit: async function onEvent() file: src/lib/custom-resources/cdk-iam-create-role/runtime/src/index.ts start line: 24 end line: 37 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 746 unit: function buildCreateRoleRequest() file: src/lib/custom-resources/cdk-iam-create-role/runtime/src/index.ts start line: 127 end line: 144 size: 12 LOC McCabe index: 1 number of parameters: 5 id: 747 unit: async function onEvent() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 34 end line: 47 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 748 unit: async function onEvent() file: src/lib/custom-resources/cdk-s3-copy-files/runtime/src/index.ts start line: 30 end line: 43 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 749 unit: constructor() file: src/lib/custom-resources/cdk-ec2-modify-vpc-endpoint-service-permissions/cdk/index.ts start line: 36 end line: 48 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 750 unit: async function onEvent() file: src/lib/custom-resources/cdk-ec2-modify-vpc-endpoint-service-permissions/runtime/src/index.ts start line: 34 end line: 47 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 751 unit: async function onUpdate() file: src/lib/custom-resources/cdk-ec2-modify-vpc-endpoint-service-permissions/runtime/src/index.ts start line: 65 end line: 84 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 752 unit: export async function getLatestTaggedCustomResource() file: src/lib/custom-resources/runtime-cfn-tags/src/index.ts start line: 55 end line: 66 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 753 unit: async function onEvent() file: src/lib/custom-resources/cdk-transit-gateway-create-peering/runtime/src/index.ts start line: 28 end line: 41 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 754 unit: async function onEvent() file: src/lib/custom-resources/cdk-kms-grant/runtime/src/index.ts start line: 26 end line: 39 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 755 unit: constructor() file: src/lib/custom-resources/cdk-transit-gateway-accept-peering/cdk/index.ts start line: 34 end line: 47 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 756 unit: async function onEvent() file: src/lib/custom-resources/cdk-transit-gateway-accept-peering/runtime/src/index.ts start line: 24 end line: 37 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 757 unit: async function onEvent() file: src/lib/custom-resources/cdk-s3-bucket-notifications/runtime/src/index.ts start line: 37 end line: 50 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 758 unit: constructor() file: src/lib/custom-resources/cdk-associate-hosted-zones/cdk/index.ts start line: 45 end line: 57 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 759 unit: async function onEvent() file: src/lib/custom-resources/cdk-associate-hosted-zones/runtime/src/index.ts start line: 92 end line: 105 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 760 unit: async function onEvent() file: src/lib/custom-resources/cdk-s3-template/runtime/src/index.ts start line: 32 end line: 45 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 761 unit: function replaceAll() file: src/lib/custom-resources/cdk-s3-template/runtime/src/index.ts start line: 121 end line: 132 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 762 unit: async function onEvent() file: src/lib/custom-resources/cdk-acm-import-certificate/runtime/src/index.ts start line: 44 end line: 57 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 763 unit: async function onEvent() file: src/lib/custom-resources/cdk-macie-create-member/runtime/src/index.ts start line: 33 end line: 46 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 764 unit: constructor() file: src/lib/custom-resources/cdk-associate-resolver-rules/cdk/index.ts start line: 36 end line: 48 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 765 unit: async function onEvent() file: src/lib/custom-resources/cdk-associate-resolver-rules/runtime/src/index.ts start line: 34 end line: 47 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 766 unit: constructor() file: src/lib/custom-resources/cdk-ec2-accept-vpc-endpoint-connection/cdk/index.ts start line: 36 end line: 48 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 767 unit: async function onEvent() file: src/lib/custom-resources/cdk-ec2-accept-vpc-endpoint-connection/runtime/src/index.ts start line: 34 end line: 47 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 768 unit: async function onEvent() file: src/lib/custom-resources/cdk-ssm-document-share/runtime/src/index.ts start line: 36 end line: 49 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 769 unit: async function onEvent() file: src/lib/custom-resources/cdk-opensearch-siem-configure/runtime/src/index.ts start line: 42 end line: 55 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 770 unit: constructor() file: src/lib/custom-resources/cdk-security-hub-accept-invites/cdk/index.ts start line: 32 end line: 44 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 771 unit: async function onEvent() file: src/lib/custom-resources/cdk-security-hub-accept-invites/runtime/src/index.ts start line: 24 end line: 37 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 772 unit: async function onEvent() file: src/lib/custom-resources/cdk-security-hub-disable-controls/runtime/src/index.ts start line: 29 end line: 42 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 773 unit: async function describeStandards() file: src/lib/custom-resources/cdk-security-hub-disable-controls/runtime/src/index.ts start line: 141 end line: 153 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 774 unit: async function getEnabledStandards() file: src/lib/custom-resources/cdk-security-hub-disable-controls/runtime/src/index.ts start line: 155 end line: 167 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 775 unit: async function onEvent() file: src/lib/custom-resources/cdk-guardduty-admin-setup/runtime/src/index.ts start line: 44 end line: 57 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 776 unit: async function getDetectorId() file: src/lib/custom-resources/cdk-guardduty-admin-setup/runtime/src/index.ts start line: 98 end line: 109 size: 12 LOC McCabe index: 5 number of parameters: 0 id: 777 unit: async function onEvent() file: src/lib/custom-resources/cdk-macie-enable/runtime/src/index.ts start line: 44 end line: 57 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 778 unit: async function onEvent() file: src/lib/custom-resources/cdk-macie-update-session/runtime/src/index.ts start line: 35 end line: 48 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 779 unit: async function onEvent() file: src/lib/custom-resources/logs-add-subscription-filter/runtime/src/index.ts start line: 36 end line: 49 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 780 unit: async function onDelete() file: src/lib/custom-resources/logs-add-subscription-filter/runtime/src/index.ts start line: 65 end line: 78 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 781 unit: async function onEvent() file: src/lib/custom-resources/cdk-logs-log-group/runtime/src/index.ts start line: 33 end line: 46 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 782 unit: constructor() file: src/lib/custom-resources/cdk-ssm-create-document/cdk/index.ts start line: 36 end line: 48 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 783 unit: async function onEvent() file: src/lib/custom-resources/cdk-ssm-create-document/runtime/src/index.ts start line: 35 end line: 48 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 784 unit: async function onEvent() file: src/lib/custom-resources/cdk-ec2-marketplace-subscription-validation/runtime/src/index.ts start line: 29 end line: 42 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 785 unit: async function onEvent() file: src/lib/custom-resources/cdk-cloud-trail/runtime/src/index.ts start line: 37 end line: 50 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 786 unit: constructor() file: src/lib/custom-resources/cdk-s3-put-bucket-replication/cdk/index.ts start line: 37 end line: 49 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 787 unit: async function onEvent() file: src/lib/custom-resources/cdk-s3-put-bucket-replication/runtime/src/index.ts start line: 36 end line: 49 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 788 unit: async function onEvent() file: src/lib/custom-resources/cdk-ec2-ebs-default-encryption/runtime/src/index.ts start line: 28 end line: 41 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 789 unit: constructor() file: src/lib/custom-resources/cdk-disassociate-hosted-zones/cdk/index.ts start line: 41 end line: 53 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 790 unit: async function onEvent() file: src/lib/custom-resources/cdk-disassociate-hosted-zones/runtime/src/index.ts start line: 87 end line: 100 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 791 unit: constructor() file: src/lib/custom-resources/cdk-security-hub-send-invites/cdk/index.ts start line: 37 end line: 49 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 792 unit: async function onEvent() file: src/lib/custom-resources/cdk-security-hub-send-invites/runtime/src/index.ts start line: 24 end line: 37 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 793 unit: export function parseValueFromOutput() file: src/lib/common-outputs/src/structured-output.ts start line: 87 end line: 98 size: 12 LOC McCabe index: 5 number of parameters: 2 id: 794 unit: vpc: optional() file: src/lib/common-outputs/src/transit-gateway.ts start line: 51 end line: 65 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 795 unit: constructor() file: src/lib/cdk-constructs/src/billing/budget.ts start line: 28 end line: 41 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 796 unit: constructor() file: src/lib/cdk-constructs/src/vpc/transit-gateway.ts start line: 33 end line: 45 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 797 unit: defaultRouteTablePropagation: enableDisableProperty() file: src/lib/cdk-constructs/src/vpc/transit-gateway.ts start line: 40 end line: 53 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 798 unit: function copyOmitEmpty() file: src/lib/config-i18n/src/translations.ts start line: 338 end line: 349 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 799 unit: async function verifyScpFiles() file: src/core/runtime/src/verify-files-step.ts start line: 74 end line: 87 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 800 unit: export function ScrollToTop() file: src/ui/src/components/scroll-to-top.tsx start line: 20 end line: 34 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 801 unit: function hasCredentials() file: src/ui/src/pages/wizards/steps/configure-global-settings.tsx start line: 344 end line: 355 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 802 unit: constructor() file: src/deployments/cdk/toolkit.ts start line: 65 end line: 80 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 803 unit: userData: await addReplacementsToUserData() file: src/deployments/cdk/src/deployments/firewall/cluster/step-4.ts start line: 125 end line: 136 size: 12 LOC McCabe index: 2 number of parameters: 11 id: 804 unit: export function getMadRootPasswordSecretArn() file: src/deployments/cdk/src/deployments/mad/outputs.ts start line: 36 end line: 47 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 805 unit: await createAccount() file: src/deployments/cdk/src/deployments/ou-validation-events/step-1.ts start line: 77 end line: 88 size: 12 LOC McCabe index: 1 number of parameters: 11 id: 806 unit: export async function getFrequency() file: src/deployments/cdk/src/deployments/macie/macie.ts start line: 282 end line: 293 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 807 unit: function createRole() file: src/deployments/cdk/src/deployments/iam/sns-subscriber-lambda-role.ts start line: 72 end line: 91 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 808 unit: export async function createSsmThroughputRole() file: src/deployments/cdk/src/deployments/iam/ssm-throughput-roles.ts start line: 25 end line: 36 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 809 unit: heapSizeLimit: convertToMegabytes() file: src/deployments/cdk/cdk.ts start line: 48 end line: 60 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 810 unit: async function addQuarantineScp() file: src/deployments/runtime/src/ou-validation-events/create-organization.ts start line: 64 end line: 76 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 811 unit: constructor() file: src/lib/common-types/src/types.ts start line: 155 end line: 165 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 812 unit: protocol: optional() file: src/lib/config/src/config.ts start line: 457 end line: 469 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 813 unit: vpc: optional() file: src/lib/config/src/config.ts start line: 678 end line: 693 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 814 unit: async scan() file: src/lib/common/src/aws/dynamodb.ts start line: 42 end line: 54 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 815 unit: async isEmpty() file: src/lib/common/src/aws/dynamodb.ts start line: 56 end line: 66 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 816 unit: async findProduct() file: src/lib/common/src/aws/service-catalog.ts start line: 117 end line: 127 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 817 unit: async putInsightSelectors() file: src/lib/common/src/aws/cloud-trail.ts start line: 46 end line: 56 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 818 unit: export function throttlingBackOff() file: src/lib/common/src/aws/backoff.ts start line: 19 end line: 29 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 819 unit: async updateStack() file: src/lib/common/src/aws/cloudformation.ts start line: 104 end line: 114 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 820 unit: async createOrganizationalUnit() file: src/lib/common/src/aws/organizations.ts start line: 51 end line: 61 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 821 unit: async registerDelegatedAdministrator() file: src/lib/common/src/aws/organizations.ts start line: 283 end line: 300 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 822 unit: async getFile() file: src/lib/common/src/aws/codecommit.ts start line: 43 end line: 53 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 823 unit: async createBranch() file: src/lib/common/src/aws/codecommit.ts start line: 131 end line: 141 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 824 unit: export function pretty() file: src/lib/common/src/util/prettier.ts start line: 18 end line: 28 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 825 unit: constructor() file: src/lib/custom-resources/ec2-ebs-default-encryption/lib/index.ts start line: 28 end line: 40 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 826 unit: async function onDelete() file: src/lib/custom-resources/cdk-ec2-keypair/runtime/src/index.ts start line: 85 end line: 95 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 827 unit: async function onDelete() file: src/lib/custom-resources/cdk-ssm-increase-throughput/runtime/src/index.ts start line: 58 end line: 74 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 828 unit: export function throttlingBackOff() file: src/lib/custom-resources/cdk-cfn-utils/cdk/index.ts start line: 21 end line: 31 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 829 unit: constructor() file: src/lib/custom-resources/cdk-security-hub-enable/cdk/index.ts start line: 32 end line: 43 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 830 unit: constructor() file: src/lib/custom-resources/cdk-cfn-sleep/cdk/index.ts start line: 30 end line: 42 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 831 unit: constructor() file: src/lib/custom-resources/cdk-guardduty-get-detector/cdk/index.ts start line: 31 end line: 43 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 832 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-guardduty-get-detector/runtime/src/index.ts start line: 42 end line: 52 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 833 unit: async function getDetectorId() file: src/lib/custom-resources/cdk-guardduty-get-detector/runtime/src/index.ts start line: 54 end line: 64 size: 11 LOC McCabe index: 5 number of parameters: 0 id: 834 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-transit-gateway-accept-peering/runtime/src/index.ts start line: 63 end line: 73 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 835 unit: constructor() file: src/lib/custom-resources/cdk-s3-bucket-notifications/cdk/index.ts start line: 37 end line: 49 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 836 unit: async function onUpdate() file: src/lib/custom-resources/cdk-ec2-accept-vpc-endpoint-connection/runtime/src/index.ts start line: 65 end line: 82 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 837 unit: constructor() file: src/lib/custom-resources/cdk-opensearch-siem-configure/cdk/index.ts start line: 46 end line: 58 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 838 unit: constructor() file: src/lib/custom-resources/cdk-security-hub-disable-controls/cdk/index.ts start line: 33 end line: 44 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 839 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-guardduty-admin-setup/runtime/src/index.ts start line: 141 end line: 151 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 840 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-guardduty-admin-setup/runtime/src/index.ts start line: 191 end line: 201 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 841 unit: async function configSession() file: src/lib/custom-resources/cdk-macie-update-session/runtime/src/index.ts start line: 68 end line: 78 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 842 unit: async function onCreate() file: src/lib/custom-resources/cdk-cur-report-definition/runtime/src/index.ts start line: 41 end line: 52 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 843 unit: async function onUpdate() file: src/lib/custom-resources/cdk-cur-report-definition/runtime/src/index.ts start line: 54 end line: 65 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 844 unit: async function onDelete() file: src/lib/custom-resources/cdk-cur-report-definition/runtime/src/index.ts start line: 67 end line: 83 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 845 unit: async function removeSubscriptionFilter() file: src/lib/custom-resources/logs-add-subscription-filter/runtime/src/index.ts start line: 150 end line: 168 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 846 unit: async function onDelete() file: src/lib/custom-resources/cdk-logs-log-group/runtime/src/index.ts start line: 121 end line: 138 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 847 unit: async function onEvent() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/runtime/src/index.ts start line: 52 end line: 64 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 848 unit: async function onDelete() file: src/lib/custom-resources/cdk-cloud-trail/runtime/src/index.ts start line: 141 end line: 158 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 849 unit: async function onDelete() file: src/lib/custom-resources/cdk-s3-put-bucket-replication/runtime/src/index.ts start line: 78 end line: 95 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 850 unit: constructor() file: src/lib/custom-resources/cdk-ec2-ebs-default-encryption/cdk/index.ts start line: 28 end line: 40 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 851 unit: export function throttlingBackOff() file: src/lib/cdk-plugin-assume-role/src/backoff.ts start line: 19 end line: 29 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 852 unit: export function createMadUserPasswordSecretName() file: src/lib/common-outputs/src/mad.ts start line: 38 end line: 48 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 853 unit: export function findValuesFromOutputs() file: src/lib/common-outputs/src/structured-output.ts start line: 75 end line: 85 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 854 unit: constructIndex: optional() file: src/lib/common-outputs/src/transit-gateway.ts start line: 52 end line: 65 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 855 unit: export function translation() file: src/lib/config-i18n/src/translations.ts start line: 302 end line: 328 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 856 unit: await saveElbOutputs() file: src/core/runtime/src/save-outputs-to-ssm/index.ts start line: 106 end line: 116 size: 11 LOC McCabe index: 1 number of parameters: 10 id: 857 unit: export async function loadOrganizations() file: src/core/runtime/src/utils/load-organizations.ts start line: 17 end line: 27 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 858 unit: export function useStateInput() file: src/ui/src/components/fields/input.tsx start line: 37 end line: 47 size: 11 LOC McCabe index: 1 number of parameters: 5 id: 859 unit: function createReplacementsFromConfig() file: src/ui/src/components/replacements-context.tsx start line: 100 end line: 110 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 860 unit: guiCidr: makeCidrList() file: src/ui/src/pages/wizards/components/vpc-table.tsx start line: 129 end line: 141 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 861 unit: async synth() file: src/deployments/cdk/toolkit.ts start line: 141 end line: 151 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 862 unit: iamInstanceProfile: createIamInstanceProfileName() file: src/deployments/cdk/src/common/ad-users-groups.ts start line: 134 end line: 144 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 863 unit: function prepareGroups() file: src/deployments/cdk/src/common/ad-users-groups.ts start line: 335 end line: 345 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 864 unit: export function findChildOfType() file: src/deployments/cdk/src/utils/cdk.ts start line: 26 end line: 36 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 865 unit: customerGatewayId: optional() file: src/deployments/cdk/src/deployments/firewall/cluster/outputs.ts start line: 82 end line: 98 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 866 unit: accountKey: validateOrGetAccountId() file: src/deployments/cdk/src/deployments/alb/step-1.ts start line: 322 end line: 334 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 867 unit: await removeAccount() file: src/deployments/cdk/src/deployments/ou-validation-events/step-1.ts start line: 122 end line: 132 size: 11 LOC McCabe index: 1 number of parameters: 10 id: 868 unit: export async function createFmsCustomResourceRole() file: src/deployments/cdk/src/deployments/iam/fms.ts start line: 26 end line: 36 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 869 unit: export function getInvoker() file: src/deployments/runtime/src/ou-validation-events/utils.ts start line: 15 end line: 25 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 870 unit: def get_accounts() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 871 unit: def remove_ecr_repository() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 872 unit: export function createLogGroupName() file: src/lib/cdk-accelerator/src/core/accelerator-name-generator.ts start line: 40 end line: 49 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 873 unit: export function editedConfigArray() file: src/lib/common-config/src/compare/common.ts start line: 70 end line: 79 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 874 unit: export function editedConfigDependency() file: src/lib/common-config/src/compare/common.ts start line: 81 end line: 90 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 875 unit: export function matchEditedConfigDependency() file: src/lib/common-config/src/compare/common.ts start line: 92 end line: 101 size: 10 LOC McCabe index: 6 number of parameters: 3 id: 876 unit: export function matchEditedConfigPathDisabled() file: src/lib/common-config/src/compare/common.ts start line: 141 end line: 151 size: 10 LOC McCabe index: 7 number of parameters: 3 id: 877 unit: export function matchConfigPath() file: src/lib/common-config/src/compare/common.ts start line: 153 end line: 162 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 878 unit: const validateGlobalOptions = function() file: src/lib/common-config/src/compare/main.ts start line: 207 end line: 216 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 879 unit: export async function validateDeleteAccountConfig() file: src/lib/common-config/src/compare/validate.ts start line: 159 end line: 169 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 880 unit: export async function validateShareToAccounts() file: src/lib/common-config/src/compare/validate.ts start line: 490 end line: 500 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 881 unit: export async function validateNacls() file: src/lib/common-config/src/compare/validate.ts start line: 509 end line: 519 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 882 unit: function createContext() file: src/lib/io-ts-json-schema-gen/src/json-schema.ts start line: 27 end line: 46 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 883 unit: toPort: optional() file: src/lib/config/src/config.ts start line: 224 end line: 235 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 884 unit: port: optional() file: src/lib/config/src/config.ts start line: 458 end line: 469 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 885 unit: license: optional() file: src/lib/config/src/config.ts start line: 535 end line: 546 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 886 unit: threshold: optional() file: src/lib/config/src/config.ts start line: 820 end line: 831 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 887 unit: constructor() file: src/lib/common/src/aws/dynamodb.ts start line: 22 end line: 32 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 888 unit: async listHostedZones() file: src/lib/common/src/aws/route53.ts start line: 51 end line: 60 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 889 unit: async describeTrails() file: src/lib/common/src/aws/cloud-trail.ts start line: 31 end line: 40 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 890 unit: async listStackInstances() file: src/lib/common/src/aws/cloudformation.ts start line: 138 end line: 147 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 891 unit: async getOrganizationalUnit() file: src/lib/common/src/aws/organizations.ts start line: 35 end line: 44 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 892 unit: async createAccountStatus() file: src/lib/common/src/aws/organizations.ts start line: 328 end line: 337 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 893 unit: async getAccount() file: src/lib/common/src/aws/organizations.ts start line: 353 end line: 362 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 894 unit: async getBranch() file: src/lib/common/src/aws/codecommit.ts start line: 82 end line: 91 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 895 unit: async createRepository() file: src/lib/common/src/aws/codecommit.ts start line: 97 end line: 106 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 896 unit: async updateDefaultBranch() file: src/lib/common/src/aws/codecommit.ts start line: 148 end line: 157 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 897 unit: function createContext() file: src/lib/docs-gen/src/helpers/json-schema.ts start line: 14 end line: 33 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 898 unit: private generateProperty() file: src/lib/docs-gen/src/helpers/translation-extract-helper.ts start line: 65 end line: 74 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 899 unit: constructor() file: src/lib/custom-resources/cdk-macie-export-config/cdk/index.ts start line: 34 end line: 45 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 900 unit: constructor() file: src/lib/custom-resources/cdk-opensearch-siem-geoip-init/cdk/index.ts start line: 32 end line: 42 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 901 unit: function getPropertiesFromEvent() file: src/lib/custom-resources/cdk-ssm-session-manager-document/runtime/src/index.ts start line: 51 end line: 60 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 902 unit: constructor() file: src/lib/custom-resources/cdk-macie-update-config/cdk/index.ts start line: 32 end line: 43 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 903 unit: async function configExport() file: src/lib/custom-resources/cdk-macie-update-config/runtime/src/index.ts start line: 70 end line: 80 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 904 unit: async function onEvent() file: src/lib/custom-resources/cdk-guardduty-get-detector/runtime/src/index.ts start line: 29 end line: 40 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 905 unit: async function onUpdate() file: src/lib/custom-resources/cdk-fms-notification-channel/runtime/src/index.ts start line: 65 end line: 80 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 906 unit: async function onEvent() file: src/lib/custom-resources/cdk-guardduty-enable-admin/runtime/src/index.ts start line: 31 end line: 42 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 907 unit: function buildRequest() file: src/lib/custom-resources/cdk-ec2-launch-time/runtime/src/index.ts start line: 72 end line: 83 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 908 unit: function getPropertiesFromEvent() file: src/lib/custom-resources/cdk-s3-copy-files/runtime/src/index.ts start line: 83 end line: 92 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 909 unit: constructor() file: src/lib/custom-resources/cdk-macie-create-member/cdk/index.ts start line: 34 end line: 45 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 910 unit: async function updateConfig() file: src/lib/custom-resources/cdk-guardduty-admin-setup/runtime/src/index.ts start line: 138 end line: 158 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 911 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-guardduty-admin-setup/runtime/src/index.ts start line: 214 end line: 223 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 912 unit: constructor() file: src/lib/custom-resources/cdk-macie-enable/cdk/index.ts start line: 35 end line: 46 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 913 unit: constructor() file: src/lib/custom-resources/cdk-macie-update-session/cdk/index.ts start line: 35 end line: 46 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 914 unit: async function onEvent() file: src/lib/custom-resources/cdk-cur-report-definition/runtime/src/index.ts start line: 29 end line: 39 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 915 unit: async function createOrUpdateBucketPolicy() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/runtime/src/index.ts start line: 187 end line: 197 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 916 unit: function buildInsightSelectorsRequest() file: src/lib/custom-resources/cdk-cloud-trail/runtime/src/index.ts start line: 160 end line: 169 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 917 unit: function getPropertiesFromEvent() file: src/lib/custom-resources/cdk-cloud-trail/runtime/src/index.ts start line: 246 end line: 255 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 918 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-s3-put-bucket-replication/runtime/src/index.ts start line: 56 end line: 76 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 919 unit: roleName: createRoleName() file: src/core/cdk/src/initial-setup.ts start line: 191 end line: 203 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 920 unit: async function verifyRsyslogFiles() file: src/core/runtime/src/verify-files-step.ts start line: 241 end line: 251 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 921 unit: function validateOrganizationSpecificConfiguration() file: src/core/runtime/src/configuration/load-control-tower-config.ts start line: 273 end line: 282 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 922 unit: function validateOrganizationSpecificConfiguration() file: src/core/runtime/src/configuration/load-organizations-config.ts start line: 363 end line: 372 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 923 unit: await saveElbOutputsImpl() file: src/core/runtime/src/save-outputs-to-ssm/elb-outputs.ts start line: 86 end line: 95 size: 10 LOC McCabe index: 2 number of parameters: 9 id: 924 unit: await saveElbOutputsImpl() file: src/core/runtime/src/save-outputs-to-ssm/elb-outputs.ts start line: 99 end line: 108 size: 10 LOC McCabe index: 2 number of parameters: 9 id: 925 unit: await saveIamOutputs() file: src/core/runtime/src/save-outputs-to-ssm/index.ts start line: 81 end line: 90 size: 10 LOC McCabe index: 1 number of parameters: 9 id: 926 unit: await saveNetworkOutputs() file: src/core/runtime/src/save-outputs-to-ssm/index.ts start line: 94 end line: 103 size: 10 LOC McCabe index: 1 number of parameters: 9 id: 927 unit: await saveEventOutputs() file: src/core/runtime/src/save-outputs-to-ssm/index.ts start line: 119 end line: 128 size: 10 LOC McCabe index: 1 number of parameters: 9 id: 928 unit: await saveEncryptsOutputs() file: src/core/runtime/src/save-outputs-to-ssm/index.ts start line: 131 end line: 140 size: 10 LOC McCabe index: 1 number of parameters: 9 id: 929 unit: await saveFirewallReplacementOutputs() file: src/core/runtime/src/save-outputs-to-ssm/index.ts start line: 143 end line: 152 size: 10 LOC McCabe index: 1 number of parameters: 9 id: 930 unit: await updateSubnetCidr() file: src/core/runtime/src/get-baseline-step.ts start line: 244 end line: 253 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 931 unit: await updateSubnetCidr() file: src/core/runtime/src/get-baseline-step.ts start line: 354 end line: 363 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 932 unit: export function validationAsErrorText() file: src/ui/src/components/fields/validation.tsx start line: 56 end line: 65 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 933 unit: export function useCodeCommitInputs() file: src/ui/src/components/codecommit-file-picker.tsx start line: 31 end line: 40 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 934 unit: export async function fulfillAll() file: src/deployments/cdk/promise.ts start line: 3 end line: 12 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 935 unit: deploymentLog() file: src/deployments/cdk/toolkit.ts start line: 184 end line: 194 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 936 unit: constructor() file: src/deployments/cdk/src/common/account-stacks.ts start line: 63 end line: 73 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 937 unit: export function getVpcConfig() file: src/deployments/cdk/src/common/get-all-vpcs.ts start line: 16 end line: 25 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 938 unit: constructor() file: src/deployments/cdk/src/common/structured-output.ts start line: 49 end line: 59 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 939 unit: serviceName: interfaceVpcEndpointForRegionAndEndpointName() file: src/deployments/cdk/src/common/interface-endpoints.ts start line: 87 end line: 97 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 940 unit: function zoneNameForRegionAndEndpointName() file: src/deployments/cdk/src/common/interface-endpoints.ts start line: 151 end line: 160 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 941 unit: eipIpAddress: optional() file: src/deployments/cdk/src/deployments/firewall/cluster/outputs.ts start line: 43 end line: 58 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 942 unit: cgwBgpAsn2: optional() file: src/deployments/cdk/src/deployments/firewall/cluster/outputs.ts start line: 68 end line: 79 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 943 unit: vpnConnectionId: optional() file: src/deployments/cdk/src/deployments/firewall/cluster/outputs.ts start line: 83 end line: 98 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 944 unit: export function createTargetGroupForInstance() file: src/deployments/cdk/src/deployments/rsyslog/step-2.ts start line: 232 end line: 241 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 945 unit: export function createRuleName() file: src/deployments/cdk/src/deployments/central-endpoints/step-2.ts start line: 414 end line: 423 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 946 unit: mallocedMemory: convertToMegabytes() file: src/deployments/cdk/cdk.ts start line: 50 end line: 60 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 947 unit: export function parse() file: src/lib/common-types/src/parse.ts start line: 18 end line: 26 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 948 unit: constructor() file: src/lib/cdk-accelerator/src/core/accelerator-stack.ts start line: 26 end line: 37 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 949 unit: protected onPrepare() file: src/lib/cdk-accelerator/src/core/secrets-container.ts start line: 109 end line: 117 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 950 unit: export async function validateRenameAccountConfig() file: src/lib/common-config/src/compare/validate.ts start line: 178 end line: 187 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 951 unit: export async function validateAccountWarming() file: src/lib/common-config/src/compare/validate.ts start line: 543 end line: 552 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 952 unit: getOrCreateDefinition() file: src/lib/io-ts-json-schema-gen/src/json-schema.ts start line: 36 end line: 44 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 953 unit: export function toJsonSchema() file: src/lib/io-ts-json-schema-gen/src/json-schema.ts start line: 51 end line: 59 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 954 unit: fromPort: optional() file: src/lib/config/src/config.ts start line: 225 end line: 235 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 955 unit: resolvers: optional() file: src/lib/config/src/config.ts start line: 275 end line: 285 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 956 unit: asn: optional() file: src/lib/config/src/config.ts start line: 352 end line: 360 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 957 unit: tgw: optional() file: src/lib/config/src/config.ts start line: 587 end line: 597 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 958 unit: async restoreSecret() file: src/lib/common/src/aws/secrets-manager.ts start line: 34 end line: 42 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 959 unit: async getHostedZone() file: src/lib/common/src/aws/route53.ts start line: 36 end line: 44 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 960 unit: async listRequestedServiceQuotaChangeHistoryByQuota() file: src/lib/common/src/aws/service-quotas.ts start line: 60 end line: 68 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 961 unit: async findProvisioningArtifact() file: src/lib/common/src/aws/service-catalog.ts start line: 133 end line: 141 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 962 unit: async getParameter() file: src/lib/common/src/aws/ssm.ts start line: 29 end line: 37 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 963 unit: async listStackSetOperations() file: src/lib/common/src/aws/cloudformation.ts start line: 149 end line: 157 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 964 unit: async listAccountsForParent() file: src/lib/common/src/aws/organizations.ts start line: 94 end line: 102 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 965 unit: async listParents() file: src/lib/common/src/aws/organizations.ts start line: 104 end line: 112 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 966 unit: async listOrganizationalUnitsForParent() file: src/lib/common/src/aws/organizations.ts start line: 135 end line: 143 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 967 unit: async batchGetRepositories() file: src/lib/common/src/aws/codecommit.ts start line: 67 end line: 75 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 968 unit: export function arrayMax() file: src/lib/common/src/util/arrays.ts start line: 18 end line: 26 size: 9 LOC McCabe index: 4 number of parameters: 3 id: 969 unit: export function getFormattedObject() file: src/lib/common/src/util/common.ts start line: 27 end line: 35 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 970 unit: fileContent: pretty() file: src/lib/common/src/util/common.ts start line: 117 end line: 125 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 971 unit: export async function loadAssignedVpcCidrPool() file: src/lib/common/src/util/common.ts start line: 294 end line: 302 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 972 unit: export async function loadAssignedSubnetCidrPool() file: src/lib/common/src/util/common.ts start line: 304 end line: 312 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 973 unit: export async function loadCidrPools() file: src/lib/common/src/util/common.ts start line: 314 end line: 322 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 974 unit: getOrCreateDefinition() file: src/lib/docs-gen/src/helpers/json-schema.ts start line: 23 end line: 31 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 975 unit: export function toJsonSchema() file: src/lib/docs-gen/src/helpers/json-schema.ts start line: 38 end line: 46 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 976 unit: async function onCreate() file: src/lib/custom-resources/ec2-ebs-default-encryption/lambda/src/index.ts start line: 43 end line: 58 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 977 unit: async function onCreate() file: src/lib/custom-resources/cdk-fms-notification-channel/runtime/src/index.ts start line: 49 end line: 63 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 978 unit: async function bucketExists() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 198 end line: 211 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 979 unit: async function onUpdate() file: src/lib/custom-resources/cdk-s3-copy-files/runtime/src/index.ts start line: 68 end line: 77 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 980 unit: async function copyFiles() file: src/lib/custom-resources/cdk-s3-copy-files/runtime/src/index.ts start line: 94 end line: 119 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 981 unit: async function bucketExists() file: src/lib/custom-resources/cdk-s3-copy-files/runtime/src/index.ts start line: 192 end line: 205 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 982 unit: async function onCreate() file: src/lib/custom-resources/cdk-ec2-modify-vpc-endpoint-service-permissions/runtime/src/index.ts start line: 49 end line: 63 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 983 unit: async function onDelete() file: src/lib/custom-resources/cdk-ec2-modify-vpc-endpoint-service-permissions/runtime/src/index.ts start line: 86 end line: 100 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 984 unit: export function getResourceLastUpdateTime() file: src/lib/custom-resources/runtime-cfn-tags/src/index.ts start line: 97 end line: 105 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 985 unit: async function onDelete() file: src/lib/custom-resources/cdk-kms-grant/runtime/src/index.ts start line: 69 end line: 86 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 986 unit: async function onCreate() file: src/lib/custom-resources/cdk-iam-password-policy/runtime/src/index.ts start line: 36 end line: 58 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 987 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-s3-template/runtime/src/index.ts start line: 97 end line: 105 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 988 unit: async function onCreate() file: src/lib/custom-resources/cdk-acm-import-certificate/runtime/src/index.ts start line: 59 end line: 67 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 989 unit: async function onUpdate() file: src/lib/custom-resources/cdk-acm-import-certificate/runtime/src/index.ts start line: 69 end line: 77 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 990 unit: async function onCreate() file: src/lib/custom-resources/cdk-ec2-accept-vpc-endpoint-connection/runtime/src/index.ts start line: 49 end line: 63 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 991 unit: function() file: src/lib/custom-resources/cdk-opensearch-siem-configure/runtime/src/index.ts start line: 153 end line: 161 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 992 unit: async function updateS3Protection() file: src/lib/custom-resources/cdk-guardduty-admin-setup/runtime/src/index.ts start line: 212 end line: 230 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 993 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-macie-update-session/runtime/src/index.ts start line: 56 end line: 66 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 994 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-s3-put-bucket-replication/runtime/src/index.ts start line: 61 end line: 69 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 995 unit: async function onCreate() file: src/lib/custom-resources/cdk-ec2-ebs-default-encryption/runtime/src/index.ts start line: 43 end line: 58 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 996 unit: addRouteTable() file: src/lib/cdk-constructs/src/vpc/transit-gateway.ts start line: 51 end line: 60 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 997 unit: constructor() file: src/lib/cdk-constructs/src/iam/instance-profile.ts start line: 30 end line: 40 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 998 unit: export async function getOutput() file: src/core/runtime/src/save-outputs-to-ssm/utils.ts start line: 40 end line: 48 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 999 unit: await updateVpcCidr() file: src/core/runtime/src/get-baseline-step.ts start line: 204 end line: 212 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 1000 unit: export function AutosuggestStringFormField() file: src/ui/src/components/fields/string.tsx start line: 32 end line: 41 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1001 unit: export function StringFormField() file: src/ui/src/components/fields/string.tsx start line: 111 end line: 120 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1002 unit: protected createStackLogicalId() file: src/deployments/cdk/src/common/account-stacks.ts start line: 196 end line: 206 size: 9 LOC McCabe index: 4 number of parameters: 3 id: 1003 unit: export function tryGetQuotaByAccountRegionAndLimit() file: src/deployments/cdk/src/utils/limits.ts start line: 64 end line: 72 size: 9 LOC McCabe index: 3 number of parameters: 4 id: 1004 unit: await runner() file: src/deployments/cdk/src/app.ts start line: 87 end line: 95 size: 9 LOC McCabe index: 1 number of parameters: 8 id: 1005 unit: eipAllocationId: optional() file: src/deployments/cdk/src/deployments/firewall/cluster/outputs.ts start line: 44 end line: 58 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1006 unit: vpnTunnelOptions: optional() file: src/deployments/cdk/src/deployments/firewall/cluster/outputs.ts start line: 84 end line: 98 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1007 unit: await createFirewallCluster() file: src/deployments/cdk/src/deployments/firewall/cluster/step-4.ts start line: 118 end line: 138 size: 9 LOC McCabe index: 1 number of parameters: 5 id: 1008 unit: await downloadCustomRules() file: src/deployments/cdk/src/deployments/config/create.ts start line: 72 end line: 81 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 1009 unit: export async function step1() file: src/deployments/cdk/src/deployments/billing/budget.ts start line: 91 end line: 100 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 1010 unit: export function fromBucketAttributes() file: src/deployments/cdk/src/deployments/defaults/outputs.ts start line: 41 end line: 49 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 1011 unit: region: optional() file: src/deployments/cdk/src/deployments/defaults/outputs.ts start line: 60 end line: 70 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1012 unit: await cwlSettingsInLogArchive() file: src/deployments/cdk/src/deployments/central-services/central-logging-s3/step-1.ts start line: 83 end line: 91 size: 9 LOC McCabe index: 1 number of parameters: 8 id: 1013 unit: peakMallocedMemory: convertToMegabytes() file: src/deployments/cdk/cdk.ts start line: 51 end line: 60 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 1014 unit: async function isControlTowerSCP() file: src/deployments/runtime/src/ou-validation-events/policy-changes.ts start line: 250 end line: 259 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 1015 unit: def cleanup_ecr() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1016 unit: def sts_credentials() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1017 unit: constructor() file: src/lib/common-types/src/types.ts start line: 71 end line: 78 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 1018 unit: constructor() file: src/lib/common-types/src/types.ts start line: 86 end line: 93 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 1019 unit: static of() file: src/lib/cdk-accelerator/src/core/accelerator-stack.ts start line: 39 end line: 46 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1020 unit: function prepareString() file: src/lib/cdk-accelerator/src/core/accelerator-name-generator.ts start line: 158 end line: 166 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 1021 unit: public: defaulted() file: src/lib/config/src/config.ts start line: 242 end line: 252 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1022 unit: features: optional() file: src/lib/config/src/config.ts start line: 353 end line: 360 size: 8 LOC McCabe index: 1 number of parameters: 6 id: 1023 unit: mad: optional() file: src/lib/config/src/config.ts start line: 588 end line: 597 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1024 unit: scps: optional() file: src/lib/config/src/config.ts start line: 659 end line: 671 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1025 unit: async describeConfigurationAggregators() file: src/lib/common/src/aws/configservice.ts start line: 97 end line: 104 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1026 unit: async DescribeDeliveryChannelStatus() file: src/lib/common/src/aws/configservice.ts start line: 125 end line: 132 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1027 unit: async DescribeConfigurationRecorderStatus() file: src/lib/common/src/aws/configservice.ts start line: 140 end line: 147 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1028 unit: async objectExists() file: src/lib/common/src/aws/s3.ts start line: 27 end line: 34 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1029 unit: async getPolicyByName() file: src/lib/common/src/aws/organizations.ts start line: 63 end line: 76 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1030 unit: function randomString() file: src/lib/common/src/util/common.ts start line: 330 end line: 337 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 1031 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-macie-export-config/runtime/src/index.ts start line: 55 end line: 64 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1032 unit: async function onDelete() file: src/lib/custom-resources/cdk-opensearch-siem-geoip-init/runtime/src/index.ts start line: 82 end line: 93 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1033 unit: async function onUpdate() file: src/lib/custom-resources/cdk-ec2-keypair/runtime/src/index.ts start line: 67 end line: 83 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1034 unit: constructor() file: src/lib/custom-resources/cdk-ssm-increase-throughput/cdk/index.ts start line: 32 end line: 39 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 1035 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-s3-put-bucket-versioning/runtime/src/index.ts start line: 59 end line: 66 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1036 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-s3-put-bucket-versioning/runtime/src/index.ts start line: 137 end line: 144 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1037 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-macie-update-config/runtime/src/index.ts start line: 59 end line: 68 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1038 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 153 end line: 160 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1039 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 217 end line: 224 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1040 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 271 end line: 278 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1041 unit: for await() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 293 end line: 300 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 1042 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 329 end line: 336 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1043 unit: for await() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 351 end line: 358 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 1044 unit: async function deleteBucket() file: src/lib/custom-resources/cdk-s3-copy-files/runtime/src/index.ts start line: 207 end line: 219 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1045 unit: export function addCustomResourceTags() file: src/lib/custom-resources/runtime-cfn-tags/src/index.ts start line: 46 end line: 53 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 1046 unit: function getLogGroupName() file: src/lib/custom-resources/cdk-ds-log-subscription/cdk/index.ts start line: 77 end line: 84 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 1047 unit: function getDirectoryId() file: src/lib/custom-resources/cdk-ds-log-subscription/cdk/index.ts start line: 86 end line: 93 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 1048 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-macie-create-member/runtime/src/index.ts start line: 54 end line: 63 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1049 unit: async function createMember() file: src/lib/custom-resources/cdk-macie-create-member/runtime/src/index.ts start line: 65 end line: 80 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1050 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-macie-create-member/runtime/src/index.ts start line: 67 end line: 74 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1051 unit: async function onDelete() file: src/lib/custom-resources/cdk-opensearch-siem-configure/runtime/src/index.ts start line: 113 end line: 124 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1052 unit: async function onCreateOrUpdate() file: src/lib/custom-resources/cdk-macie-enable/runtime/src/index.ts start line: 65 end line: 74 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1053 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-macie-update-session/runtime/src/index.ts start line: 81 end line: 88 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1054 unit: async function addSubscriptionFilter() file: src/lib/custom-resources/logs-add-subscription-filter/runtime/src/index.ts start line: 170 end line: 186 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 1055 unit: await throttlingBackOff() file: src/lib/custom-resources/logs-add-subscription-filter/runtime/src/index.ts start line: 173 end line: 180 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1056 unit: async function putLogRetentionPolicy() file: src/lib/custom-resources/logs-add-subscription-filter/runtime/src/index.ts start line: 221 end line: 234 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 1057 unit: await throttlingBackOff() file: src/lib/custom-resources/logs-add-subscription-filter/runtime-event-trigger/src/index.ts start line: 53 end line: 60 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1058 unit: async function putLogRetentionPolicy() file: src/lib/custom-resources/logs-add-subscription-filter/runtime-event-trigger/src/index.ts start line: 76 end line: 89 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 1059 unit: async function onCreate() file: src/lib/custom-resources/cdk-ssm-create-document/runtime/src/index.ts start line: 50 end line: 64 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1060 unit: constructor() file: src/lib/custom-resources/cdk-cloud-trail/cdk/index.ts start line: 39 end line: 47 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 1061 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-cloud-trail/runtime/src/index.ts start line: 119 end line: 128 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1062 unit: export function getStackOutput() file: src/lib/common-outputs/src/stack-output.ts start line: 45 end line: 52 size: 8 LOC McCabe index: 3 number of parameters: 3 id: 1063 unit: initialSubnets: defaulted() file: src/lib/common-outputs/src/vpc.ts start line: 76 end line: 85 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1064 unit: hostedZoneId: optional() file: src/lib/common-outputs/src/elb.ts start line: 39 end line: 48 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1065 unit: export function getAccountId() file: src/lib/common-outputs/src/accounts.ts start line: 31 end line: 38 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1066 unit: export function getAccountArn() file: src/lib/common-outputs/src/accounts.ts start line: 40 end line: 47 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1067 unit: serviceName: optional() file: src/lib/common-outputs/src/hosted-zone.ts start line: 29 end line: 38 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1068 unit: export function getOrganizationalUnitIdByPath() file: src/lib/common-outputs/src/organizations.ts start line: 21 end line: 28 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1069 unit: constructor() file: src/lib/cdk-constructs/src/cognito/cognito.ts start line: 67 end line: 76 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 1070 unit: constructor() file: src/lib/cdk-constructs/src/cognito/cognito.ts start line: 86 end line: 95 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 1071 unit: autoAcceptSharedAttachments: enableDisableProperty() file: src/lib/cdk-constructs/src/vpc/transit-gateway.ts start line: 41 end line: 53 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1072 unit: async function loadOrganizations() file: src/core/runtime/src/ou-validation.ts start line: 372 end line: 379 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1073 unit: await assignDynamicCidrs() file: src/core/runtime/src/get-baseline-step.ts start line: 99 end line: 106 size: 8 LOC McCabe index: 1 number of parameters: 7 id: 1074 unit: await updateVpcCidr() file: src/core/runtime/src/get-baseline-step.ts start line: 298 end line: 305 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1075 unit: export function usePathHistory() file: src/ui/src/utils/hooks.tsx start line: 46 end line: 58 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 1076 unit: export function EnumFormField() file: src/ui/src/components/fields/enum.tsx start line: 28 end line: 35 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1077 unit: export function LiteralFormField() file: src/ui/src/components/fields/literal.tsx start line: 23 end line: 30 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1078 unit: export function BooleanFormField() file: src/ui/src/components/fields/boolean.tsx start line: 25 end line: 32 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1079 unit: export function NumberFormField() file: src/ui/src/components/fields/number.tsx start line: 25 end line: 32 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1080 unit: export function setDisabled() file: src/ui/src/pages/wizards/util.tsx start line: 50 end line: 57 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 1081 unit: label: tr() file: src/ui/src/pages/wizards/steps/configure-global-settings.tsx start line: 289 end line: 296 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1082 unit: label: tr() file: src/ui/src/pages/wizards/steps/configure-global-settings.tsx start line: 297 end line: 304 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1083 unit: label: tr() file: src/ui/src/pages/wizards/steps/select-security-services.tsx start line: 108 end line: 115 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1084 unit: Transit gateway attached() file: src/ui/src/pages/wizards/components/vpc-table.tsx start line: 428 end line: 436 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1085 unit: private async deleteAssemblyDir() file: src/deployments/cdk/toolkit.ts start line: 337 end line: 344 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1086 unit: constructor() file: src/deployments/cdk/src/common/transit-gateway-sharing.ts start line: 24 end line: 32 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 1087 unit: export function tryGetQuotaByAccountAndLimit() file: src/deployments/cdk/src/utils/limits.ts start line: 55 end line: 62 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 1088 unit: await createCustomerGateways() file: src/deployments/cdk/src/deployments/firewall/cluster/step-2.ts start line: 101 end line: 108 size: 8 LOC McCabe index: 1 number of parameters: 7 id: 1089 unit: await createOrganizationalUnit() file: src/deployments/cdk/src/deployments/ou-validation-events/step-1.ts start line: 134 end line: 141 size: 8 LOC McCabe index: 1 number of parameters: 7 id: 1090 unit: logGroupName: createLogGroupName() file: src/deployments/cdk/src/deployments/ssm/session-manager.ts start line: 94 end line: 102 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1091 unit: encryptionKeyName: optional() file: src/deployments/cdk/src/deployments/defaults/outputs.ts start line: 61 end line: 70 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1092 unit: encryptionKeyName: optional() file: src/deployments/cdk/src/deployments/defaults/outputs.ts start line: 75 end line: 84 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1093 unit: await centralLoggingShareDataSettings() file: src/deployments/cdk/src/deployments/central-services/step-2.ts start line: 109 end line: 116 size: 8 LOC McCabe index: 1 number of parameters: 7 id: 1094 unit: async function centralLoggingMonitoringEnable() file: src/deployments/cdk/src/deployments/central-services/step-2.ts start line: 123 end line: 130 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1095 unit: export async function createS3PutReplicationRole() file: src/deployments/cdk/src/deployments/iam/s3-put-replication-role.ts start line: 24 end line: 32 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1096 unit: export async function createLogGroupRole() file: src/deployments/cdk/src/deployments/iam/log-group-role.ts start line: 24 end line: 32 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1097 unit: export async function createEc2OperationsRoles() file: src/deployments/cdk/src/deployments/iam/ec2.ts start line: 25 end line: 33 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1098 unit: export async function createSecurityHubRoles() file: src/deployments/cdk/src/deployments/iam/securityhub-roles.ts start line: 24 end line: 32 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1099 unit: export async function createCleanupRoles() file: src/deployments/cdk/src/deployments/iam/cleanup-role.ts start line: 26 end line: 34 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1100 unit: export async function createLogsMetricFilterRole() file: src/deployments/cdk/src/deployments/iam/logs-metric-filter-role.ts start line: 24 end line: 32 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1101 unit: export async function createIamRole() file: src/deployments/cdk/src/deployments/iam/create-role.ts start line: 24 end line: 32 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1102 unit: await updateListenerRule() file: src/deployments/runtime/src/alb-to-alb-target/alb-target-record-monitor.ts start line: 323 end line: 330 size: 8 LOC McCabe index: 2 number of parameters: 4 id: 1103 unit: export function enums() file: src/lib/common-types/src/types.ts start line: 192 end line: 198 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1104 unit: constructor() file: src/lib/cdk-accelerator/src/core/accelerator-protected-tagger.ts start line: 53 end line: 59 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1105 unit: export function createSecretPrefix() file: src/lib/cdk-accelerator/src/core/accelerator-name-generator.ts start line: 51 end line: 57 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1106 unit: export function getAccountNames() file: src/lib/common-config/src/compare/config-diff.ts start line: 52 end line: 58 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1107 unit: private: defaulted() file: src/lib/config/src/config.ts start line: 243 end line: 252 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1108 unit: chain: optional() file: src/lib/config/src/config.ts start line: 325 end line: 335 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1109 unit: azs: defaulted() file: src/lib/config/src/config.ts start line: 506 end line: 513 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1110 unit: rsyslog: optional() file: src/lib/config/src/config.ts start line: 589 end line: 597 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1111 unit: macie: defaulted() file: src/lib/config/src/config.ts start line: 761 end line: 767 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1112 unit: type: defaulted() file: src/lib/config/src/config.ts start line: 872 end line: 879 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1113 unit: export async function listWithNextToken() file: src/lib/common/src/aws/next-token.ts start line: 23 end line: 29 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1114 unit: async getSecret() file: src/lib/common/src/aws/secrets-manager.ts start line: 64 end line: 71 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1115 unit: await throttlingBackOff() file: src/lib/common/src/aws/service-quotas.ts start line: 105 end line: 111 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1116 unit: async modifyEbsDefaultKmsKeyId() file: src/lib/common/src/aws/ec2.ts start line: 57 end line: 63 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1117 unit: async listSubnets() file: src/lib/common/src/aws/ec2.ts start line: 159 end line: 165 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1118 unit: async getCredentialsForAccountAndRole() file: src/lib/common/src/aws/sts.ts start line: 61 end line: 67 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1119 unit: async createOrUpdateStack() file: src/lib/common/src/aws/cloudformation.ts start line: 85 end line: 91 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1120 unit: async listRoots() file: src/lib/common/src/aws/organizations.ts start line: 78 end line: 84 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1121 unit: async listAccounts() file: src/lib/common/src/aws/organizations.ts start line: 86 end line: 92 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1122 unit: async listPolicies() file: src/lib/common/src/aws/organizations.ts start line: 145 end line: 151 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1123 unit: async listPoliciesForTarget() file: src/lib/common/src/aws/organizations.ts start line: 157 end line: 163 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1124 unit: async listTargetsForPolicy() file: src/lib/common/src/aws/organizations.ts start line: 169 end line: 175 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1125 unit: export function collect() file: src/lib/common/src/util/generator.ts start line: 14 end line: 20 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1126 unit: private translate() file: src/lib/docs-gen/src/helpers/translation-extract-helper.ts start line: 58 end line: 64 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1127 unit: async function deleteKeypair() file: src/lib/custom-resources/cdk-ec2-keypair/runtime/src/index.ts start line: 142 end line: 159 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1128 unit: function getPropertiesFromEvent() file: src/lib/custom-resources/cdk-macie-update-config/runtime/src/index.ts start line: 51 end line: 57 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1129 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-s3-copy-files/runtime/src/index.ts start line: 163 end line: 169 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1130 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ec2-modify-vpc-endpoint-service-permissions/runtime/src/index.ts start line: 72 end line: 78 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1131 unit: async getCredentialsForAccountAndRole() file: src/lib/custom-resources/cdk-associate-hosted-zones/runtime/src/index.ts start line: 79 end line: 85 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1132 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-s3-template/runtime/src/index.ts start line: 80 end line: 86 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1133 unit: constructor() file: src/lib/custom-resources/cdk-acm-import-certificate/cdk/index.ts start line: 47 end line: 55 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1134 unit: function getPropertiesFromEvent() file: src/lib/custom-resources/cdk-acm-import-certificate/runtime/src/index.ts start line: 130 end line: 136 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1135 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ssm-document-share/runtime/src/index.ts start line: 56 end line: 62 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1136 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ssm-document-share/runtime/src/index.ts start line: 85 end line: 91 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1137 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ssm-document-share/runtime/src/index.ts start line: 102 end line: 108 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1138 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ssm-document-share/runtime/src/index.ts start line: 133 end line: 139 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1139 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-security-hub-disable-controls/runtime/src/index.ts start line: 64 end line: 70 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1140 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-security-hub-disable-controls/runtime/src/index.ts start line: 104 end line: 110 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1141 unit: function getPropertiesFromEvent() file: src/lib/custom-resources/cdk-guardduty-admin-setup/runtime/src/index.ts start line: 274 end line: 280 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1142 unit: function getPropertiesFromEvent() file: src/lib/custom-resources/cdk-macie-update-session/runtime/src/index.ts start line: 93 end line: 99 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1143 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-logs-log-group/runtime/src/index.ts start line: 74 end line: 80 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1144 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ssm-create-document/runtime/src/index.ts start line: 52 end line: 58 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1145 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ssm-create-document/runtime/src/index.ts start line: 108 end line: 114 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1146 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-vpc-default-security-group/runtime/src/index.ts start line: 67 end line: 73 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1147 unit: async getCredentialsForAccountAndRole() file: src/lib/custom-resources/cdk-disassociate-hosted-zones/runtime/src/index.ts start line: 74 end line: 80 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1148 unit: export function findValueFromOutputs() file: src/lib/common-outputs/src/structured-output.ts start line: 67 end line: 73 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1149 unit: nfw: optional() file: src/lib/common-outputs/src/vpc.ts start line: 77 end line: 85 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1150 unit: vpcName: optional() file: src/lib/common-outputs/src/hosted-zone.ts start line: 30 end line: 38 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1151 unit: constructor() file: src/lib/cdk-constructs/src/s3/bucket-replication.ts start line: 43 end line: 50 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1152 unit: constructor() file: src/lib/cdk-constructs/src/autoscaling/launch-configuration.ts start line: 34 end line: 41 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 1153 unit: fileContent: pretty() file: src/core/runtime/src/ou-validation.ts start line: 195 end line: 201 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1154 unit: async function createSuspendedOu() file: src/core/runtime/src/ou-validation.ts start line: 639 end line: 645 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1155 unit: await updateCidrs() file: src/core/runtime/src/store-commit-id-step.ts start line: 91 end line: 97 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 1156 unit: export async function getIndexOutput() file: src/core/runtime/src/save-outputs-to-ssm/utils.ts start line: 50 end line: 56 size: 7 LOC McCabe index: 3 number of parameters: 3 id: 1157 unit: export async function getIamSsmOutput() file: src/core/runtime/src/save-outputs-to-ssm/utils.ts start line: 58 end line: 64 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 1158 unit: function poolFromCidr() file: src/core/runtime/src/get-baseline-step.ts start line: 539 end line: 545 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 1159 unit: export function getTypeTree() file: src/ui/src/types.ts start line: 206 end line: 290 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1160 unit: export function getNodeAtPath() file: src/ui/src/types.ts start line: 292 end line: 298 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1161 unit: export function createAggregatedRenderer() file: src/ui/src/components/fields/field.tsx start line: 126 end line: 132 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1162 unit: export function useObservable() file: src/ui/src/components/accelerator-config-context.tsx start line: 48 end line: 54 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1163 unit: function tr() file: src/ui/src/components/i18n-context.tsx start line: 62 end line: 68 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 1164 unit: description: tr() file: src/ui/src/pages/wizards/steps/configure-global-settings.tsx start line: 290 end line: 296 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1165 unit: description: tr() file: src/ui/src/pages/wizards/steps/configure-global-settings.tsx start line: 298 end line: 304 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1166 unit: description: tr() file: src/ui/src/pages/wizards/steps/select-security-services.tsx start line: 109 end line: 115 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1167 unit: export default function WizardsPage() file: src/ui/src/pages/wizards/index.tsx start line: 17 end line: 23 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1168 unit: export function getVpcNodes() file: src/ui/src/pages/wizards/components/vpc-table.tsx start line: 436 end line: 442 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1169 unit: export default function HomePage() file: src/ui/src/pages/home/index.tsx start line: 17 end line: 23 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1170 unit: function toCloudFormationTags() file: src/deployments/cdk/toolkit.ts start line: 368 end line: 375 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1171 unit: await logArchiveReadOnlyAccess() file: src/deployments/cdk/src/apps/phase-2.ts start line: 445 end line: 451 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 1172 unit: protected createStackName() file: src/deployments/cdk/src/common/account-stacks.ts start line: 186 end line: 194 size: 7 LOC McCabe index: 3 number of parameters: 3 id: 1173 unit: constructor() file: src/deployments/cdk/src/common/structured-output.ts start line: 33 end line: 40 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1174 unit: static fromOutputs() file: src/deployments/cdk/src/common/structured-output.ts start line: 62 end line: 68 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1175 unit: function aliasTargetForServiceNameAndEndpoint() file: src/deployments/cdk/src/common/interface-endpoints.ts start line: 134 end line: 141 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1176 unit: function recordSetNameForRegionAndEndpointName() file: src/deployments/cdk/src/common/interface-endpoints.ts start line: 171 end line: 179 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1177 unit: vpnBgpAsn2: optional() file: src/deployments/cdk/src/deployments/firewall/cluster/outputs.ts start line: 71 end line: 79 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1178 unit: iamInstanceProfile: instanceRoleName ? createIamInstanceProfileName() file: src/deployments/cdk/src/deployments/firewall/cluster/step-4.ts start line: 200 end line: 207 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 1179 unit: healthCheckPort: String() file: src/deployments/cdk/src/deployments/alb/step-1.ts start line: 486 end line: 492 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1180 unit: encryptionKeyId: optional() file: src/deployments/cdk/src/deployments/defaults/outputs.ts start line: 62 end line: 70 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1181 unit: encryptionKeyId: optional() file: src/deployments/cdk/src/deployments/defaults/outputs.ts start line: 76 end line: 84 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1182 unit: validationMethod: validationMethodFromConfig() file: src/deployments/cdk/src/deployments/certificates/step-1.ts start line: 81 end line: 89 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1183 unit: export function createIamRoleOutput() file: src/deployments/cdk/src/deployments/iam/outputs.ts start line: 67 end line: 73 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1184 unit: await registerTargets() file: src/deployments/runtime/src/alb-to-alb-target/alb-ip-monitor.ts start line: 149 end line: 156 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1185 unit: fileContent: pretty() file: src/deployments/runtime/src/ou-validation-events/move-account-organization.ts start line: 358 end line: 368 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1186 unit: def stack_exists() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 1187 unit: function installPackageManagerCommands() file: src/lib/cdk-accelerator/src/codebuild/cdk-deploy-project.ts start line: 194 end line: 199 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1188 unit: function installDependenciesCommands() file: src/lib/cdk-accelerator/src/codebuild/cdk-deploy-project.ts start line: 204 end line: 210 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1189 unit: constructor() file: src/lib/cdk-accelerator/src/core/cfn-include.ts start line: 24 end line: 30 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 1190 unit: export function createRoleName() file: src/lib/cdk-accelerator/src/core/accelerator-name-generator.ts start line: 19 end line: 24 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1191 unit: export function createEncryptionKeyName() file: src/lib/cdk-accelerator/src/core/accelerator-name-generator.ts start line: 26 end line: 31 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1192 unit: export function createKeyPairName() file: src/lib/cdk-accelerator/src/core/accelerator-name-generator.ts start line: 33 end line: 38 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1193 unit: export function createSnsTopicName() file: src/lib/cdk-accelerator/src/core/accelerator-name-generator.ts start line: 59 end line: 64 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1194 unit: export function createPolicyName() file: src/lib/cdk-accelerator/src/core/accelerator-name-generator.ts start line: 66 end line: 71 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1195 unit: function priorityByOuType() file: src/lib/common-config/src/index.ts start line: 450 end line: 456 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1196 unit: export async function validateAccountEmail() file: src/lib/common-config/src/compare/validate.ts start line: 196 end line: 202 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1197 unit: export async function validateAccountOu() file: src/lib/common-config/src/compare/validate.ts start line: 211 end line: 217 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1198 unit: export async function validateVgw() file: src/lib/common-config/src/compare/validate.ts start line: 380 end line: 385 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1199 unit: export async function validateShareToOu() file: src/lib/common-config/src/compare/validate.ts start line: 476 end line: 481 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1200 unit: export async function validateAccountOptInVpc() file: src/lib/common-config/src/compare/validate.ts start line: 528 end line: 534 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1201 unit: az: optional() file: src/lib/config/src/config.ts start line: 50 end line: 56 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1202 unit: nacls: optional() file: src/lib/config/src/config.ts start line: 109 end line: 117 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1203 unit: zones: optional() file: src/lib/config/src/config.ts start line: 278 end line: 285 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1204 unit: users: optional() file: src/lib/config/src/config.ts start line: 313 end line: 320 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1205 unit: san: optional() file: src/lib/config/src/config.ts start line: 340 end line: 349 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1206 unit: adc: optional() file: src/lib/config/src/config.ts start line: 590 end line: 597 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1207 unit: remediation: optional() file: src/lib/config/src/config.ts start line: 865 end line: 870 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1208 unit: async findLandingZoneStack() file: src/lib/common/src/landing-zone/index.ts start line: 34 end line: 63 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1209 unit: static loadLandingZoneConfig() file: src/lib/common/src/landing-zone/index.ts start line: 95 end line: 104 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1210 unit: email: optional() file: src/lib/common/src/landing-zone/config.ts start line: 20 end line: 25 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1211 unit: additionalReplacements: additionalReplacements() file: src/lib/common/src/scp/index.ts start line: 129 end line: 136 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1212 unit: async listScps() file: src/lib/common/src/scp/index.ts start line: 412 end line: 417 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1213 unit: constructor() file: src/lib/common/src/aws/secrets-manager.ts start line: 23 end line: 28 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1214 unit: public constructor() file: src/lib/common/src/aws/service-quotas.ts start line: 32 end line: 37 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1215 unit: public constructor() file: src/lib/common/src/aws/resource-tagging.ts start line: 21 end line: 26 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1216 unit: constructor() file: src/lib/common/src/aws/ssm.ts start line: 22 end line: 27 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1217 unit: public constructor() file: src/lib/common/src/aws/configservice.ts start line: 37 end line: 42 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1218 unit: async DescribeConfigurationRecorder() file: src/lib/common/src/aws/configservice.ts start line: 112 end line: 117 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1219 unit: public constructor() file: src/lib/common/src/aws/ec2.ts start line: 34 end line: 39 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1220 unit: async enableEbsEncryptionByDefault() file: src/lib/common/src/aws/ec2.ts start line: 45 end line: 50 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1221 unit: await throttlingBackOff() file: src/lib/common/src/aws/ec2.ts start line: 133 end line: 138 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1222 unit: async createServiceLinkedRole() file: src/lib/common/src/aws/iam.ts start line: 31 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1223 unit: public constructor() file: src/lib/common/src/aws/fms.ts start line: 20 end line: 25 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1224 unit: public constructor() file: src/lib/common/src/aws/stepfunctions.ts start line: 31 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1225 unit: constructor() file: src/lib/common/src/aws/sns.ts start line: 21 end line: 26 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1226 unit: public constructor() file: src/lib/common/src/aws/cloudformation.ts start line: 29 end line: 34 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1227 unit: public constructor() file: src/lib/common/src/aws/organizations.ts start line: 28 end line: 33 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1228 unit: for await() file: src/lib/common/src/aws/organizations.ts start line: 69 end line: 74 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 1229 unit: async describePolicy() file: src/lib/common/src/aws/organizations.ts start line: 181 end line: 186 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1230 unit: await throttlingBackOff() file: src/lib/common/src/aws/organizations.ts start line: 238 end line: 243 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1231 unit: await throttlingBackOff() file: src/lib/common/src/aws/organizations.ts start line: 254 end line: 259 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1232 unit: await throttlingBackOff() file: src/lib/common/src/aws/organizations.ts start line: 285 end line: 290 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1233 unit: public constructor() file: src/lib/common/src/aws/codecommit.ts start line: 31 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1234 unit: export function getStringFromObject() file: src/lib/common/src/util/common.ts start line: 38 end line: 43 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1235 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-create-resolver-rule/runtime/src/index.ts start line: 77 end line: 82 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1236 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-create-resolver-rule/runtime/src/index.ts start line: 182 end line: 187 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1237 unit: async function onCreate() file: src/lib/custom-resources/cdk-ec2-keypair/runtime/src/index.ts start line: 56 end line: 65 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1238 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ec2-keypair/runtime/src/index.ts start line: 108 end line: 113 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1239 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ec2-keypair/runtime/src/index.ts start line: 130 end line: 135 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1240 unit: async function onDelete() file: src/lib/custom-resources/cdk-guardduty-create-publish/runtime/src/index.ts start line: 56 end line: 63 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1241 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ssm-increase-throughput/runtime/src/index.ts start line: 41 end line: 46 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1242 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ssm-increase-throughput/runtime/src/index.ts start line: 61 end line: 66 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1243 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-logs-metric-filter/runtime/src/index.ts start line: 102 end line: 107 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1244 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-fms-notification-channel/runtime/src/index.ts start line: 52 end line: 57 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1245 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-fms-notification-channel/runtime/src/index.ts start line: 69 end line: 74 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1246 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-iam-create-role/runtime/src/index.ts start line: 49 end line: 54 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1247 unit: PolicyDocument: buildPolicyDocument() file: src/lib/custom-resources/cdk-iam-create-role/runtime/src/index.ts start line: 53 end line: 58 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 1248 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-iam-create-role/runtime/src/index.ts start line: 104 end line: 109 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1249 unit: AssumeRolePolicyDocument: buildPolicyDocument() file: src/lib/custom-resources/cdk-iam-create-role/runtime/src/index.ts start line: 136 end line: 141 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1250 unit: function buildAttachPolicyRequest() file: src/lib/custom-resources/cdk-iam-create-role/runtime/src/index.ts start line: 146 end line: 151 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1251 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 72 end line: 77 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1252 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-s3-copy-files/runtime/src/index.ts start line: 178 end line: 183 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1253 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ec2-modify-vpc-endpoint-service-permissions/runtime/src/index.ts start line: 52 end line: 57 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1254 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ec2-modify-vpc-endpoint-service-permissions/runtime/src/index.ts start line: 92 end line: 97 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1255 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-kms-grant/runtime/src/index.ts start line: 78 end line: 83 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1256 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-s3-bucket-notifications/runtime/src/index.ts start line: 86 end line: 91 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1257 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-s3-bucket-notifications/runtime/src/index.ts start line: 126 end line: 131 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1258 unit: function toBoolean() file: src/lib/custom-resources/cdk-iam-password-policy/runtime/src/index.ts start line: 68 end line: 73 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1259 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-associate-resolver-rules/runtime/src/index.ts start line: 54 end line: 59 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1260 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-associate-resolver-rules/runtime/src/index.ts start line: 86 end line: 91 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1261 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-associate-resolver-rules/runtime/src/index.ts start line: 107 end line: 112 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1262 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-associate-resolver-rules/runtime/src/index.ts start line: 141 end line: 146 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1263 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ec2-accept-vpc-endpoint-connection/runtime/src/index.ts start line: 52 end line: 57 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1264 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ec2-accept-vpc-endpoint-connection/runtime/src/index.ts start line: 71 end line: 76 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1265 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-security-hub-accept-invites/runtime/src/index.ts start line: 69 end line: 74 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1266 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-security-hub-disable-controls/runtime/src/index.ts start line: 125 end line: 130 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1267 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-guardduty-admin-setup/runtime/src/index.ts start line: 238 end line: 243 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1268 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-cur-report-definition/runtime/src/index.ts start line: 120 end line: 125 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1269 unit: async function onCreate() file: src/lib/custom-resources/logs-add-subscription-filter/runtime/src/index.ts start line: 51 end line: 56 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1270 unit: async function onUpdate() file: src/lib/custom-resources/logs-add-subscription-filter/runtime/src/index.ts start line: 58 end line: 63 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1271 unit: await throttlingBackOff() file: src/lib/custom-resources/logs-add-subscription-filter/runtime/src/index.ts start line: 153 end line: 158 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1272 unit: await throttlingBackOff() file: src/lib/custom-resources/logs-add-subscription-filter/runtime/src/index.ts start line: 223 end line: 228 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1273 unit: await throttlingBackOff() file: src/lib/custom-resources/logs-add-subscription-filter/runtime-event-trigger/src/index.ts start line: 78 end line: 83 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1274 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-logs-log-group/runtime/src/index.ts start line: 64 end line: 69 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1275 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-logs-log-group/runtime/src/index.ts start line: 97 end line: 102 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1276 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ssm-create-document/runtime/src/index.ts start line: 80 end line: 85 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1277 unit: static getDefaultAssumeRoleDuration() file: src/lib/cdk-plugin-assume-role/src/assume-role-plugin.ts start line: 35 end line: 40 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 1278 unit: aliasTargetDns: optional() file: src/lib/common-outputs/src/hosted-zone.ts start line: 31 end line: 38 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1279 unit: get dns() file: src/lib/cdk-constructs/src/vpc/glb.ts start line: 87 end line: 92 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 1280 unit: rootConfig: getStringFromObject() file: src/core/runtime/src/ou-validation.ts start line: 635 end line: 641 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1281 unit: export function emptyStringAsUndefined() file: src/ui/src/utils.ts start line: 19 end line: 24 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 1282 unit: export function valueAsArray() file: src/ui/src/utils.ts start line: 29 end line: 34 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1283 unit: export function toArray() file: src/ui/src/utils/cast.ts start line: 16 end line: 21 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1284 unit: export function toObject() file: src/ui/src/utils/cast.ts start line: 23 end line: 28 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1285 unit: cancelButton: tr() file: src/ui/src/pages/wizards/content.tsx start line: 98 end line: 103 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1286 unit: function tagsForStack() file: src/deployments/cdk/toolkit.ts start line: 352 end line: 360 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1287 unit: function interfaceVpcEndpointForRegionAndEndpointName() file: src/deployments/cdk/src/common/interface-endpoints.ts start line: 143 end line: 149 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1288 unit: function getZoneAliasTargetIndex() file: src/deployments/cdk/src/common/interface-endpoints.ts start line: 162 end line: 169 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1289 unit: function validateOrGetAccountId() file: src/deployments/cdk/src/deployments/alb/step-1.ts start line: 581 end line: 586 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1290 unit: export async function getValidRegions() file: src/deployments/cdk/src/deployments/macie/macie.ts start line: 275 end line: 280 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1291 unit: export async function getValidRegions() file: src/deployments/cdk/src/deployments/guardduty/guardduty.ts start line: 194 end line: 199 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1292 unit: function validationMethodFromConfig() file: src/deployments/cdk/src/deployments/certificates/step-1.ts start line: 102 end line: 107 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1293 unit: export async function step1() file: src/deployments/cdk/src/deployments/central-services/step-1.ts start line: 31 end line: 44 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1294 unit: await centralServicesSettingsInMaster() file: src/deployments/cdk/src/deployments/central-services/step-1.ts start line: 37 end line: 42 size: 6 LOC McCabe index: 1 number of parameters: 5 id: 1295 unit: roleName: createRoleName() file: src/deployments/cdk/src/deployments/central-services/central-logging-s3/step-1-bkp.ts start line: 48 end line: 55 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1296 unit: def configure_args() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1297 unit: function getMessage() file: src/lib/common-types/src/reporter.ts start line: 36 end line: 40 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1298 unit: value: optional() file: src/lib/config/src/config.ts start line: 71 end line: 76 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1299 unit: account: optional() file: src/lib/config/src/config.ts start line: 88 end line: 93 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1300 unit: name: optional() file: src/lib/config/src/config.ts start line: 126 end line: 131 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1301 unit: account: optional() file: src/lib/config/src/config.ts start line: 209 end line: 214 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1302 unit: policies: optional() file: src/lib/config/src/config.ts start line: 314 end line: 320 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1303 unit: firewalls: optional() file: src/lib/config/src/config.ts start line: 591 end line: 597 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1304 unit: cloudwatch: optional() file: src/lib/config/src/config.ts start line: 920 end line: 924 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1305 unit: static createLandingZoneConfig() file: src/lib/common/src/landing-zone/index.ts start line: 106 end line: 110 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1306 unit: public constructor() file: src/lib/common/src/aws/route53.ts start line: 30 end line: 34 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1307 unit: public constructor() file: src/lib/common/src/aws/acm.ts start line: 21 end line: 25 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1308 unit: public constructor() file: src/lib/common/src/aws/service-catalog.ts start line: 41 end line: 45 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1309 unit: await throttlingBackOff() file: src/lib/common/src/aws/ssm.ts start line: 66 end line: 70 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1310 unit: await throttlingBackOff() file: src/lib/common/src/aws/configservice.ts start line: 160 end line: 164 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1311 unit: await throttlingBackOff() file: src/lib/common/src/aws/configservice.ts start line: 173 end line: 177 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1312 unit: public constructor() file: src/lib/common/src/aws/s3-control.ts start line: 21 end line: 25 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1313 unit: async getPublicAccessBlock() file: src/lib/common/src/aws/s3-control.ts start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1314 unit: public constructor() file: src/lib/common/src/aws/s3.ts start line: 21 end line: 25 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1315 unit: await throttlingBackOff() file: src/lib/common/src/aws/ec2.ts start line: 88 end line: 92 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1316 unit: await throttlingBackOff() file: src/lib/common/src/aws/ec2.ts start line: 101 end line: 105 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1317 unit: await throttlingBackOff() file: src/lib/common/src/aws/ec2.ts start line: 147 end line: 151 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1318 unit: public constructor() file: src/lib/common/src/aws/iam.ts start line: 21 end line: 25 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1319 unit: constructor() file: src/lib/common/src/aws/sts.ts start line: 22 end line: 26 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1320 unit: public constructor() file: src/lib/common/src/aws/cloud-trail.ts start line: 21 end line: 25 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1321 unit: await throttlingBackOff() file: src/lib/common/src/aws/fms.ts start line: 28 end line: 32 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1322 unit: public constructor() file: src/lib/common/src/aws/directory-service.ts start line: 21 end line: 25 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1323 unit: await throttlingBackOff() file: src/lib/common/src/aws/organizations.ts start line: 269 end line: 273 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1324 unit: public constructor() file: src/lib/common/src/aws/r53resolver.ts start line: 25 end line: 29 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1325 unit: async getEndpointIpAddress() file: src/lib/common/src/aws/r53resolver.ts start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1326 unit: constructor() file: src/lib/common/src/util/common.ts start line: 66 end line: 70 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1327 unit: config: getStringFromObject() file: src/lib/common/src/util/common.ts start line: 85 end line: 89 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 1328 unit: export function randomAlphanumericString() file: src/lib/common/src/util/common.ts start line: 324 end line: 328 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1329 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-create-resolver-rule/runtime/src/index.ts start line: 198 end line: 202 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1330 unit: await throttlingBackOff() file: src/lib/custom-resources/ec2-ebs-default-encryption/lambda/src/index.ts start line: 47 end line: 51 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1331 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ec2-keypair/runtime/src/index.ts start line: 123 end line: 127 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1332 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ec2-keypair/runtime/src/index.ts start line: 143 end line: 147 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1333 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ec2-keypair/runtime/src/index.ts start line: 152 end line: 156 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1334 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ssm-session-manager-document/runtime/src/index.ts start line: 90 end line: 94 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1335 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-create-hosted-zone/runtime/src/index.ts start line: 114 end line: 118 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1336 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-security-hub-enable/runtime/src/index.ts start line: 70 end line: 74 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1337 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-security-hub-enable/runtime/src/index.ts start line: 108 end line: 112 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1338 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-security-hub-enable/runtime/src/index.ts start line: 125 end line: 129 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1339 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-security-hub-enable/runtime/src/index.ts start line: 156 end line: 160 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1340 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-iam-create-role/runtime/src/index.ts start line: 42 end line: 46 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1341 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-iam-create-role/runtime/src/index.ts start line: 114 end line: 118 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1342 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 55 end line: 59 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1343 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 93 end line: 97 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1344 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 120 end line: 124 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1345 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 174 end line: 178 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1346 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 200 end line: 204 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1347 unit: async function listObjectsList() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 236 end line: 246 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1348 unit: for await() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 239 end line: 244 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 1349 unit: async function listObjectMarkersList() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 290 end line: 302 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1350 unit: async function listObjectVersionsList() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 348 end line: 360 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1351 unit: await copyFiles() file: src/lib/custom-resources/cdk-s3-copy-files/runtime/src/index.ts start line: 53 end line: 57 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 1352 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-s3-copy-files/runtime/src/index.ts start line: 194 end line: 198 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1353 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-s3-copy-files/runtime/src/index.ts start line: 209 end line: 213 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1354 unit: async function onDelete() file: src/lib/custom-resources/cdk-transit-gateway-create-peering/runtime/src/index.ts start line: 77 end line: 86 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1355 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-transit-gateway-create-peering/runtime/src/index.ts start line: 79 end line: 83 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1356 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-transit-gateway-accept-peering/runtime/src/index.ts start line: 55 end line: 59 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1357 unit: constructor() file: src/lib/custom-resources/cdk-associate-hosted-zones/runtime/src/index.ts start line: 40 end line: 44 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1358 unit: get certificateArn() file: src/lib/custom-resources/cdk-acm-import-certificate/cdk/index.ts start line: 57 end line: 62 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1359 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-acm-import-certificate/runtime/src/index.ts start line: 80 end line: 84 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1360 unit: async function getOptionalS3Body() file: src/lib/custom-resources/cdk-acm-import-certificate/runtime/src/index.ts start line: 138 end line: 142 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 1361 unit: await send() file: src/lib/custom-resources/runtime-cfn-response/src/index.ts start line: 113 end line: 117 size: 5 LOC McCabe index: 1 number of parameters: 6 id: 1362 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-cur-report-definition/runtime/src/index.ts start line: 72 end line: 76 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1363 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-cur-report-definition/runtime/src/index.ts start line: 109 end line: 113 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1364 unit: get logGroupName() file: src/lib/custom-resources/cdk-logs-log-group/cdk/index.ts start line: 100 end line: 104 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1365 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-logs-log-group/runtime/src/index.ts start line: 89 end line: 93 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1366 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-logs-log-group/runtime/src/index.ts start line: 131 end line: 135 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1367 unit: async function onUpdate() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/runtime/src/index.ts start line: 204 end line: 208 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1368 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ssm-create-document/runtime/src/index.ts start line: 119 end line: 123 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1369 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-cloud-trail/runtime/src/index.ts start line: 124 end line: 128 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1370 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-cloud-trail/runtime/src/index.ts start line: 151 end line: 155 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1371 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-s3-put-bucket-replication/runtime/src/index.ts start line: 84 end line: 88 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1372 unit: await throttlingBackOff() file: src/lib/custom-resources/cdk-ec2-ebs-default-encryption/runtime/src/index.ts start line: 47 end line: 51 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1373 unit: constructor() file: src/lib/custom-resources/cdk-disassociate-hosted-zones/runtime/src/index.ts start line: 35 end line: 39 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1374 unit: constructor() file: src/lib/cdk-constructs/src/ssm/ssm-document.ts start line: 19 end line: 24 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 1375 unit: projectName: createName() file: src/core/cdk/src/initial-setup.ts start line: 242 end line: 246 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 1376 unit: function setSecretValue() file: src/core/cdk/src/initial-setup.ts start line: 1162 end line: 1166 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1377 unit: ConfigurationAggregatorName: createAggregatorName() file: src/core/runtime/src/create-config-recorder/create.ts start line: 351 end line: 355 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1378 unit: function notNestable() file: src/ui/src/types.ts start line: 193 end line: 197 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1379 unit: export function useInput() file: src/ui/src/utils/hooks.tsx start line: 66 end line: 70 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1380 unit: export function useCheckboxInput() file: src/ui/src/utils/hooks.tsx start line: 78 end line: 82 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1381 unit: export function useStorageInput() file: src/ui/src/utils/hooks.tsx start line: 84 end line: 88 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1382 unit: label: tr() file: src/ui/src/components/import-modal.tsx start line: 175 end line: 179 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1383 unit: label: tr() file: src/ui/src/components/import-modal.tsx start line: 191 end line: 195 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1384 unit: title: tr() file: src/ui/src/pages/wizards/content.tsx start line: 77 end line: 82 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1385 unit: nextButton: tr() file: src/ui/src/pages/wizards/content.tsx start line: 99 end line: 103 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1386 unit: async bootstrap() file: src/deployments/cdk/toolkit.ts start line: 108 end line: 112 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1387 unit: analyzerName: createName() file: src/deployments/cdk/src/apps/phase-0.ts start line: 146 end line: 150 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 1388 unit: roleName: createRoleName() file: src/deployments/cdk/src/common/flow-log-container.ts start line: 36 end line: 41 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1389 unit: constructor() file: src/deployments/cdk/src/common/transit-gateway-attachment.ts start line: 27 end line: 32 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1390 unit: export function createCfnStructuredOutput() file: src/deployments/cdk/src/common/structured-output.ts start line: 31 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1391 unit: export function overrideLogicalId() file: src/deployments/cdk/src/utils/cdk.ts start line: 17 end line: 21 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1392 unit: await createFirewallEips() file: src/deployments/cdk/src/deployments/firewall/cluster/step-1.ts start line: 62 end line: 66 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 1393 unit: roleName: createRoleName() file: src/deployments/cdk/src/deployments/cloud-trail/step-1.ts start line: 75 end line: 80 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1394 unit: secretName: createMadUserPasswordSecretName() file: src/deployments/cdk/src/deployments/mad/secrets.ts start line: 63 end line: 67 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 1395 unit: albName: createLbName() file: src/deployments/cdk/src/deployments/alb/step-1.ts start line: 235 end line: 239 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1396 unit: name: createLbName() file: src/deployments/cdk/src/deployments/alb/step-1.ts start line: 320 end line: 324 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1397 unit: await cloudWatchSettingsInMaster() file: src/deployments/cdk/src/deployments/central-services/step-1.ts start line: 74 end line: 78 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 1398 unit: secretName: createIamUserPasswordSecretName() file: src/deployments/cdk/src/deployments/iam/secrets.ts start line: 45 end line: 49 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 1399 unit: roleName: createRoleName() file: src/deployments/cdk/src/deployments/iam/cwl-add-subscription-filter-role.ts start line: 40 end line: 45 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1400 unit: roleName: createRoleName() file: src/deployments/cdk/src/deployments/iam/sns-subscriber-lambda-role.ts start line: 75 end line: 80 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1401 unit: export function hashPath() file: src/lib/cdk-accelerator/src/core/accelerator-name-generator.ts start line: 150 end line: 153 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1402 unit: static fromObject() file: src/lib/common-config/src/index.ts start line: 444 end line: 447 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1403 unit: constructor() file: src/lib/common-config/src/index.ts start line: 465 end line: 468 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1404 unit: size: optional() file: src/lib/config/src/config.ts start line: 72 end line: 76 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1405 unit: az: optional() file: src/lib/config/src/config.ts start line: 127 end line: 131 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1406 unit: routes: optional() file: src/lib/config/src/config.ts start line: 133 end line: 138 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1407 unit: options: optional() file: src/lib/config/src/config.ts start line: 146 end line: 151 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1408 unit: roles: optional() file: src/lib/config/src/config.ts start line: 315 end line: 320 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1409 unit: names: optional() file: src/lib/config/src/config.ts start line: 696 end line: 700 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1410 unit: runtime: optional() file: src/lib/config/src/config.ts start line: 875 end line: 879 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1411 unit: constructor() file: src/lib/common/src/landing-zone/index.ts start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1412 unit: constructor() file: src/lib/common/src/landing-zone/index.ts start line: 86 end line: 89 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1413 unit: async organizationRoots() file: src/lib/common/src/scp/index.ts start line: 407 end line: 410 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1414 unit: public constructor() file: src/lib/common/src/aws/account-vending-machine.ts start line: 30 end line: 33 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1415 unit: function hashName() file: src/lib/common/src/aws/account-vending-machine.ts start line: 254 end line: 257 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1416 unit: async hasTag() file: src/lib/common/src/aws/resource-tagging.ts start line: 32 end line: 35 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1417 unit: async findPortfolioByName() file: src/lib/common/src/aws/service-catalog.ts start line: 88 end line: 91 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1418 unit: async deleteParameters() file: src/lib/common/src/aws/ssm.ts start line: 65 end line: 73 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1419 unit: async deleteConfigurationRecorder() file: src/lib/common/src/aws/configservice.ts start line: 159 end line: 167 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1420 unit: async deleteDeliveryChannel() file: src/lib/common/src/aws/configservice.ts start line: 172 end line: 180 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1421 unit: async getObjectBody() file: src/lib/common/src/aws/s3.ts start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1422 unit: async deleteSubnet() file: src/lib/common/src/aws/ec2.ts start line: 87 end line: 95 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1423 unit: async deleteVpc() file: src/lib/common/src/aws/ec2.ts start line: 100 end line: 108 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1424 unit: async detachInternetGateway() file: src/lib/common/src/aws/ec2.ts start line: 132 end line: 141 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1425 unit: async deleteInternetGateway() file: src/lib/common/src/aws/ec2.ts start line: 146 end line: 154 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1426 unit: async associateAdminAccount() file: src/lib/common/src/aws/fms.ts start line: 27 end line: 35 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1427 unit: async listExecutions() file: src/lib/common/src/aws/stepfunctions.ts start line: 41 end line: 44 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1428 unit: async startExecution() file: src/lib/common/src/aws/stepfunctions.ts start line: 49 end line: 52 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1429 unit: async getExecutionHistory() file: src/lib/common/src/aws/stepfunctions.ts start line: 57 end line: 60 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1430 unit: async publish() file: src/lib/common/src/aws/sns.ts start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1431 unit: async createStack() file: src/lib/common/src/aws/cloudformation.ts start line: 96 end line: 99 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1432 unit: async shareDirectory() file: src/lib/common/src/aws/directory-service.ts start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1433 unit: async createAdConnector() file: src/lib/common/src/aws/directory-service.ts start line: 65 end line: 68 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1434 unit: async hasLogGroup() file: src/lib/common/src/aws/directory-service.ts start line: 77 end line: 80 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1435 unit: async describeOrganization() file: src/lib/common/src/aws/organizations.ts start line: 46 end line: 49 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1436 unit: async attachPolicy() file: src/lib/common/src/aws/organizations.ts start line: 237 end line: 246 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1437 unit: async detachPolicy() file: src/lib/common/src/aws/organizations.ts start line: 253 end line: 262 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1438 unit: async enableAWSServiceAccess() file: src/lib/common/src/aws/organizations.ts start line: 268 end line: 276 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1439 unit: async getAccountByEmail() file: src/lib/common/src/aws/organizations.ts start line: 364 end line: 368 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1440 unit: async commit() file: src/lib/common/src/aws/codecommit.ts start line: 112 end line: 115 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1441 unit: export async function collectAsync() file: src/lib/common/src/util/generator.ts start line: 22 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1442 unit: constructor() file: src/lib/docs-gen/src/helpers/translation-extract-helper.ts start line: 7 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1443 unit: function getPhysicalId() file: src/lib/custom-resources/cdk-macie-export-config/runtime/src/index.ts start line: 49 end line: 53 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1444 unit: function getPhysicalId() file: src/lib/custom-resources/cdk-opensearch-siem-geoip-init/runtime/src/index.ts start line: 49 end line: 52 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1445 unit: function getPhysicalId() file: src/lib/custom-resources/cdk-ec2-keypair/runtime/src/index.ts start line: 50 end line: 54 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1446 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-ec2-keypair/runtime/src/index.ts start line: 60 end line: 63 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1447 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-ec2-keypair/runtime/src/index.ts start line: 78 end line: 81 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1448 unit: function getPhysicalId() file: src/lib/custom-resources/cdk-guardduty-create-publish/runtime/src/index.ts start line: 50 end line: 54 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1449 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-guardduty-create-publish/runtime/src/index.ts start line: 82 end line: 85 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1450 unit: function getPhysicalId() file: src/lib/custom-resources/cdk-s3-put-bucket-versioning/runtime/src/index.ts start line: 49 end line: 52 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1451 unit: async function onCreate() file: src/lib/custom-resources/cdk-cfn-sleep/runtime/src/index.ts start line: 42 end line: 47 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1452 unit: function getPhysicalId() file: src/lib/custom-resources/cdk-s3-bucket-notifications/runtime/src/index.ts start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1453 unit: async function onDelete() file: src/lib/custom-resources/cdk-acm-import-certificate/runtime/src/index.ts start line: 79 end line: 87 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1454 unit: await send() file: src/lib/custom-resources/runtime-cfn-response/src/index.ts start line: 122 end line: 125 size: 4 LOC McCabe index: 2 number of parameters: 4 id: 1455 unit: function getPhysicalId() file: src/lib/custom-resources/cdk-macie-create-member/runtime/src/index.ts start line: 48 end line: 52 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1456 unit: function getPhysicalId() file: src/lib/custom-resources/cdk-opensearch-siem-configure/runtime/src/index.ts start line: 57 end line: 60 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1457 unit: function() file: src/lib/custom-resources/cdk-opensearch-siem-configure/runtime/src/index.ts start line: 162 end line: 165 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1458 unit: function getPhysicalId() file: src/lib/custom-resources/cdk-macie-enable/runtime/src/index.ts start line: 59 end line: 63 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1459 unit: function getPhysicalId() file: src/lib/custom-resources/cdk-macie-update-session/runtime/src/index.ts start line: 50 end line: 54 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1460 unit: async function updatePublishConfiguration() file: src/lib/custom-resources/cdk-macie-update-session/runtime/src/index.ts start line: 80 end line: 91 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1461 unit: private ensureLambdaFunction() file: src/lib/custom-resources/logs-add-subscription-filter/src/index.ts start line: 101 end line: 104 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1462 unit: async function addSubscriptionFilter() file: src/lib/custom-resources/logs-add-subscription-filter/runtime-event-trigger/src/index.ts start line: 51 end line: 63 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1463 unit: constructor() file: src/lib/custom-resources/cdk-logs-log-group/cdk/index.ts start line: 79 end line: 82 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1464 unit: constructor() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/cdk/index.ts start line: 36 end line: 40 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1465 unit: function removeExistingReadOnlyStatement() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/runtime/src/index.ts start line: 137 end line: 140 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1466 unit: async function onCreate() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/runtime/src/index.ts start line: 199 end line: 202 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1467 unit: function getPhysicalId() file: src/lib/custom-resources/cdk-s3-put-bucket-replication/runtime/src/index.ts start line: 51 end line: 54 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1468 unit: async function onDelete() file: src/lib/custom-resources/cdk-disassociate-hosted-zones/runtime/src/index.ts start line: 164 end line: 167 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1469 unit: export function tryFindValueFromOutputs() file: src/lib/common-outputs/src/structured-output.ts start line: 62 end line: 65 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1470 unit: constructor() file: src/lib/cdk-constructs/src/iam/service-linked-role.ts start line: 22 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1471 unit: add() file: src/lib/config-i18n/src/translations.ts start line: 314 end line: 317 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1472 unit: private createStoreOututsRegionMapperSM() file: src/core/cdk/src/tasks/store-outputs-task.ts start line: 101 end line: 104 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1473 unit: private createStoreOututsSSMRegionMapperSM() file: src/core/cdk/src/tasks/store-outputs-to-ssm-task.ts start line: 129 end line: 132 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1474 unit: constructor() file: src/core/cdk/src/initial-setup.ts start line: 74 end line: 78 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1475 unit: tableName: createName() file: src/core/cdk/src/initial-setup.ts start line: 98 end line: 101 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1476 unit: tableName: createName() file: src/core/cdk/src/initial-setup.ts start line: 110 end line: 113 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1477 unit: tableName: createName() file: src/core/cdk/src/initial-setup.ts start line: 125 end line: 128 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1478 unit: tableName: createName() file: src/core/cdk/src/initial-setup.ts start line: 141 end line: 144 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1479 unit: tableName: createName() file: src/core/cdk/src/initial-setup.ts start line: 156 end line: 159 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1480 unit: tableName: createName() file: src/core/cdk/src/initial-setup.ts start line: 171 end line: 174 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1481 unit: async function getConfigFromCodeCommit() file: src/core/runtime/src/ou-validation.ts start line: 719 end line: 722 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1482 unit: export async function prepareOuAccountIamConfigs() file: src/core/runtime/src/save-outputs-to-ssm/iam-utils.ts start line: 40 end line: 43 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1483 unit: export function MobXSyncToStorage() file: src/ui/src/components/mobx-sync-storage.tsx start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1484 unit: export default function AdvancedPage() file: src/ui/src/pages/advanced/index.tsx start line: 21 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1485 unit: export function isDisabled() file: src/ui/src/pages/wizards/util.tsx start line: 45 end line: 48 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1486 unit: title: tr() file: src/ui/src/pages/wizards/content.tsx start line: 49 end line: 52 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1487 unit: title: tr() file: src/ui/src/pages/wizards/content.tsx start line: 53 end line: 56 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1488 unit: title: tr() file: src/ui/src/pages/wizards/content.tsx start line: 57 end line: 60 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1489 unit: title: tr() file: src/ui/src/pages/wizards/content.tsx start line: 61 end line: 64 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1490 unit: title: tr() file: src/ui/src/pages/wizards/content.tsx start line: 65 end line: 68 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1491 unit: title: tr() file: src/ui/src/pages/wizards/content.tsx start line: 69 end line: 72 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1492 unit: title: tr() file: src/ui/src/pages/wizards/content.tsx start line: 73 end line: 76 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1493 unit: previousButton: tr() file: src/ui/src/pages/wizards/content.tsx start line: 100 end line: 103 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1494 unit: text: tr() file: src/ui/src/pages/default/navigation.tsx start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1495 unit: text: tr() file: src/ui/src/pages/default/navigation.tsx start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1496 unit: constructor() file: src/deployments/cdk/src/common/vpc.ts start line: 143 end line: 148 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1497 unit: name: createName() file: src/deployments/cdk/src/deployments/firewall/manager/step-1.ts start line: 152 end line: 155 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1498 unit: alarmName: createName() file: src/deployments/cdk/src/deployments/firewall/cluster/step-4.ts start line: 266 end line: 269 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1499 unit: alarmName: createName() file: src/deployments/cdk/src/deployments/firewall/cluster/step-4.ts start line: 297 end line: 300 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1500 unit: logGroupName: createLogGroupName() file: src/deployments/cdk/src/deployments/cloud-trail/step-1.ts start line: 82 end line: 85 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1501 unit: logGroupName: createLogGroupName() file: src/deployments/cdk/src/deployments/cloud-trail/step-1.ts start line: 105 end line: 108 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1502 unit: export async function step2() file: src/deployments/cdk/src/deployments/mad/step-2.ts start line: 41 end line: 44 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1503 unit: secretName: createMadPasswordSecretName() file: src/deployments/cdk/src/deployments/mad/secrets.ts start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1504 unit: name: createName() file: src/deployments/cdk/src/deployments/secrets/step-1.ts start line: 75 end line: 78 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1505 unit: alarmName: createName() file: src/deployments/cdk/src/deployments/cloud-watch/step-2.ts start line: 61 end line: 64 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1506 unit: filterName: createName() file: src/deployments/cdk/src/deployments/cloud-watch/step-1.ts start line: 74 end line: 77 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1507 unit: export function getkeyPairSecretName() file: src/deployments/cdk/src/deployments/key-pair/step-1.ts start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1508 unit: logGroupName: createLogGroupName() file: src/deployments/cdk/src/deployments/rsyslog/step-2.ts start line: 208 end line: 212 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1509 unit: streamName: createName() file: src/deployments/cdk/src/deployments/central-services/central-logging-s3/step-1.ts start line: 120 end line: 123 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1510 unit: await cwlCentralLoggingSettings() file: src/deployments/cdk/src/deployments/central-services/central-logging-s3/step-1-bkp.ts start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1511 unit: roleName: createRoleName() file: src/deployments/cdk/src/deployments/central-services/central-logging-s3/step-1-bkp.ts start line: 56 end line: 60 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1512 unit: roleName: createRoleName() file: src/deployments/cdk/src/deployments/iam/cwl-central-logging-roles.ts start line: 70 end line: 74 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1513 unit: function hashName() file: src/deployments/runtime/src/ou-validation-events/move-account-organization.ts start line: 443 end line: 446 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1514 unit: function getContextPath() file: src/lib/common-types/src/reporter.ts start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1515 unit: export function failure() file: src/lib/common-types/src/reporter.ts start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1516 unit: export function success() file: src/lib/common-types/src/reporter.ts start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1517 unit: export function definition() file: src/lib/common-types/src/types.ts start line: 170 end line: 172 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1518 unit: export function isDefinition() file: src/lib/common-types/src/types.ts start line: 174 end line: 176 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1519 unit: export function defaulted() file: src/lib/common-types/src/types.ts start line: 178 end line: 180 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1520 unit: export function optional() file: src/lib/common-types/src/types.ts start line: 200 end line: 202 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1521 unit: commands: installPackageManagerCommands() file: src/lib/cdk-accelerator/src/codebuild/cdk-deploy-project.ts start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1522 unit: export function trimSpecialCharacters() file: src/lib/cdk-accelerator/src/core/utils.ts start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1523 unit: get keyName() file: src/lib/cdk-accelerator/src/core/key-pair.ts start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1524 unit: get alias() file: src/lib/cdk-accelerator/src/core/secrets-container.ts start line: 105 end line: 107 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1525 unit: constructor() file: src/lib/io-ts-annotations/src/types.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1526 unit: export function annotate() file: src/lib/io-ts-annotations/src/types.ts start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1527 unit: constructor() file: src/lib/common-config/src/index.ts start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1528 unit: static fromBuffer() file: src/lib/common-config/src/index.ts start line: 436 end line: 438 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1529 unit: static fromString() file: src/lib/common-config/src/index.ts start line: 440 end line: 442 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1530 unit: export function compareConfiguration() file: src/lib/common-config/src/compare/config-diff.ts start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1531 unit: export function isDiffNew() file: src/lib/common-config/src/compare/config-diff.ts start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1532 unit: export function isDiffEdit() file: src/lib/common-config/src/compare/config-diff.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1533 unit: export function isDiffDeleted() file: src/lib/common-config/src/compare/config-diff.ts start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1534 unit: export function isDiffArray() file: src/lib/common-config/src/compare/config-diff.ts start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1535 unit: asn: optional() file: src/lib/config/src/config.ts start line: 37 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1536 unit: az: optional() file: src/lib/config/src/config.ts start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1537 unit: pool: defaulted() file: src/lib/config/src/config.ts start line: 73 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1538 unit: disabled: defaulted() file: src/lib/config/src/config.ts start line: 80 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1539 unit: port: optional() file: src/lib/config/src/config.ts start line: 128 end line: 131 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1540 unit: routes: optional() file: src/lib/config/src/config.ts start line: 169 end line: 172 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1541 unit: core_accounts: defaulted() file: src/lib/common/src/landing-zone/config.ts start line: 31 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1542 unit: export function fromYaml() file: src/lib/common/src/landing-zone/config.ts start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1543 unit: export function fromObject() file: src/lib/common/src/landing-zone/config.ts start line: 62 end line: 64 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1544 unit: static createQuarantineScpName() file: src/lib/common/src/scp/index.ts start line: 389 end line: 391 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1545 unit: async createTable() file: src/lib/common/src/aws/dynamodb.ts start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1546 unit: async batchWriteItem() file: src/lib/common/src/aws/dynamodb.ts start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1547 unit: async putItem() file: src/lib/common/src/aws/dynamodb.ts start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1548 unit: async getItem() file: src/lib/common/src/aws/dynamodb.ts start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1549 unit: async deleteItem() file: src/lib/common/src/aws/dynamodb.ts start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1550 unit: async updateItem() file: src/lib/common/src/aws/dynamodb.ts start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1551 unit: async createBackup() file: src/lib/common/src/aws/dynamodb.ts start line: 100 end line: 102 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1552 unit: async createSecret() file: src/lib/common/src/aws/secrets-manager.ts start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1553 unit: async deleteSecret() file: src/lib/common/src/aws/secrets-manager.ts start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1554 unit: async putSecretValue() file: src/lib/common/src/aws/secrets-manager.ts start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1555 unit: async listSecrets() file: src/lib/common/src/aws/secrets-manager.ts start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1556 unit: async getSecrets() file: src/lib/common/src/aws/secrets-manager.ts start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1557 unit: async putResourcePolicy() file: src/lib/common/src/aws/secrets-manager.ts start line: 83 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1558 unit: function compareQuotaRequest() file: src/lib/common/src/aws/service-quotas.ts start line: 128 end line: 130 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1559 unit: async createTags() file: src/lib/common/src/aws/resource-tagging.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1560 unit: async importCertificate() file: src/lib/common/src/aws/acm.ts start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1561 unit: async requestCertificate() file: src/lib/common/src/aws/acm.ts start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1562 unit: async createRecorder() file: src/lib/common/src/aws/configservice.ts start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1563 unit: async createDeliveryChannel() file: src/lib/common/src/aws/configservice.ts start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1564 unit: async startRecorder() file: src/lib/common/src/aws/configservice.ts start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1565 unit: async createAggregator() file: src/lib/common/src/aws/configservice.ts start line: 77 end line: 79 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1566 unit: async deleteAggregator() file: src/lib/common/src/aws/configservice.ts start line: 87 end line: 89 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1567 unit: async stopRecorder() file: src/lib/common/src/aws/configservice.ts start line: 152 end line: 154 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1568 unit: async putEvaluations() file: src/lib/common/src/aws/configservice.ts start line: 185 end line: 187 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1569 unit: async putPublicAccessBlock() file: src/lib/common/src/aws/s3-control.ts start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1570 unit: async getObjectBodyAsString() file: src/lib/common/src/aws/s3.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1571 unit: async putObject() file: src/lib/common/src/aws/s3.ts start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1572 unit: async deleteObject() file: src/lib/common/src/aws/s3.ts start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1573 unit: async getCallerIdentity() file: src/lib/common/src/aws/sts.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1574 unit: async putEventSelectors() file: src/lib/common/src/aws/cloud-trail.ts start line: 62 end line: 64 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1575 unit: async updateTrail() file: src/lib/common/src/aws/cloud-trail.ts start line: 70 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1576 unit: async stopExecution() file: src/lib/common/src/aws/stepfunctions.ts start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1577 unit: async describeExecution() file: src/lib/common/src/aws/stepfunctions.ts start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1578 unit: async stackExists() file: src/lib/common/src/aws/cloudformation.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1579 unit: async listStacks() file: src/lib/common/src/aws/cloudformation.ts start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1580 unit: async createStackSet() file: src/lib/common/src/aws/cloudformation.ts start line: 162 end line: 164 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1581 unit: async updateStackSet() file: src/lib/common/src/aws/cloudformation.ts start line: 169 end line: 171 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1582 unit: async createStackInstances() file: src/lib/common/src/aws/cloudformation.ts start line: 176 end line: 178 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1583 unit: async updateStackInstances() file: src/lib/common/src/aws/cloudformation.ts start line: 183 end line: 185 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1584 unit: async deleteStackInstances() file: src/lib/common/src/aws/cloudformation.ts start line: 190 end line: 192 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1585 unit: async acceptDirectory() file: src/lib/common/src/aws/directory-service.ts start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1586 unit: async enableCloudWatchLogs() file: src/lib/common/src/aws/directory-service.ts start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1587 unit: async moveAccount() file: src/lib/common/src/aws/organizations.ts start line: 345 end line: 347 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1588 unit: async putFile() file: src/lib/common/src/aws/codecommit.ts start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1589 unit: async deleteFile() file: src/lib/common/src/aws/codecommit.ts start line: 121 end line: 123 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1590 unit: function defaultEquality() file: src/lib/common/src/util/arrays.ts start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1591 unit: export async function delay() file: src/lib/common/src/util/delay.ts start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1592 unit: fileContent: pretty() file: src/lib/common/src/util/common.ts start line: 81 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1593 unit: fileContent: pretty() file: src/lib/common/src/util/common.ts start line: 99 end line: 102 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1594 unit: export function equalIgnoreCase() file: src/lib/common/src/util/common.ts start line: 176 end line: 178 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1595 unit: for await() file: src/lib/common/src/util/generator.ts start line: 24 end line: 26 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1596 unit: get ruleId() file: src/lib/custom-resources/cdk-create-resolver-rule/cdk/index.ts start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1597 unit: async function onUpdate() file: src/lib/custom-resources/ec2-ebs-default-encryption/lambda/src/index.ts start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1598 unit: get keyName() file: src/lib/custom-resources/cdk-ec2-keypair/cdk/index.ts start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1599 unit: get role() file: src/lib/custom-resources/cdk-ec2-keypair/cdk/index.ts start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1600 unit: async function onUpdate() file: src/lib/custom-resources/cdk-ssm-session-manager-document/runtime/src/index.ts start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1601 unit: async function onDelete() file: src/lib/custom-resources/cdk-ssm-session-manager-document/runtime/src/index.ts start line: 127 end line: 129 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1602 unit: get zoneId() file: src/lib/custom-resources/cdk-create-hosted-zone/cdk/index.ts start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1603 unit: addStatements() file: src/lib/custom-resources/cdk-logs-resource-policy/cdk/index.ts start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1604 unit: export async function delay() file: src/lib/custom-resources/cdk-cfn-utils/cdk/index.ts start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1605 unit: export function paginate() file: src/lib/custom-resources/cdk-cfn-utils/cdk/index.ts start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1606 unit: Days: Number() file: src/lib/custom-resources/cdk-s3-put-bucket-versioning/runtime/src/index.ts start line: 88 end line: 90 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1607 unit: function getPhysicalId() file: src/lib/custom-resources/cdk-macie-update-config/runtime/src/index.ts start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1608 unit: async function sleep() file: src/lib/custom-resources/cdk-macie-enable-admin/runtime/src/index.ts start line: 100 end line: 102 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1609 unit: get lambdaFunction() file: src/lib/custom-resources/cdk-cfn-sleep/cdk/index.ts start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1610 unit: get role() file: src/lib/custom-resources/cdk-cfn-sleep/cdk/index.ts start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1611 unit: function sleep() file: src/lib/custom-resources/cdk-cfn-sleep/runtime/src/index.ts start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1612 unit: async function onUpdate() file: src/lib/custom-resources/cdk-cfn-sleep/runtime/src/index.ts start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1613 unit: async function onDelete() file: src/lib/custom-resources/cdk-cfn-sleep/runtime/src/index.ts start line: 53 end line: 55 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1614 unit: get detectorId() file: src/lib/custom-resources/cdk-guardduty-get-detector/cdk/index.ts start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1615 unit: async function sleep() file: src/lib/custom-resources/cdk-guardduty-enable-admin/runtime/src/index.ts start line: 83 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1616 unit: get launchTime() file: src/lib/custom-resources/cdk-ec2-launch-time/cdk/index.ts start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1617 unit: async function onUpdate() file: src/lib/custom-resources/cdk-ec2-launch-time/runtime/src/index.ts start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1618 unit: async function onDelete() file: src/lib/custom-resources/cdk-ec2-launch-time/runtime/src/index.ts start line: 65 end line: 67 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1619 unit: async function onUpdate() file: src/lib/custom-resources/cdk-iam-create-role/runtime/src/index.ts start line: 86 end line: 88 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1620 unit: function sleep() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 382 end line: 384 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1621 unit: function chunk() file: src/lib/custom-resources/cdk-resource-cleanup/runtime/src/index.ts start line: 386 end line: 388 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1622 unit: get role() file: src/lib/custom-resources/cdk-s3-copy-files/cdk/index.ts start line: 92 end line: 94 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1623 unit: async function onDelete() file: src/lib/custom-resources/cdk-s3-copy-files/runtime/src/index.ts start line: 79 end line: 81 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1624 unit: function compareDate() file: src/lib/custom-resources/cdk-s3-copy-files/runtime/src/index.ts start line: 221 end line: 223 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1625 unit: get lambdaFunction() file: src/lib/custom-resources/cdk-transit-gateway-create-peering/cdk/index.ts start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1626 unit: get attachmentId() file: src/lib/custom-resources/cdk-transit-gateway-create-peering/cdk/index.ts start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1627 unit: async function onUpdate() file: src/lib/custom-resources/cdk-transit-gateway-create-peering/runtime/src/index.ts start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1628 unit: get grantId() file: src/lib/custom-resources/cdk-kms-grant/cdk/index.ts start line: 74 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1629 unit: get grantToken() file: src/lib/custom-resources/cdk-kms-grant/cdk/index.ts start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1630 unit: get role() file: src/lib/custom-resources/cdk-kms-grant/cdk/index.ts start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1631 unit: async function onUpdate() file: src/lib/custom-resources/cdk-kms-grant/runtime/src/index.ts start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1632 unit: get lambdaFunction() file: src/lib/custom-resources/cdk-transit-gateway-accept-peering/cdk/index.ts start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1633 unit: async function onUpdate() file: src/lib/custom-resources/cdk-transit-gateway-accept-peering/runtime/src/index.ts start line: 79 end line: 81 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1634 unit: async function onDelete() file: src/lib/custom-resources/cdk-transit-gateway-accept-peering/runtime/src/index.ts start line: 83 end line: 85 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1635 unit: async getCallerIdentity() file: src/lib/custom-resources/cdk-associate-hosted-zones/runtime/src/index.ts start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1636 unit: async function onUpdate() file: src/lib/custom-resources/cdk-iam-password-policy/runtime/src/index.ts start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1637 unit: async function onDelete() file: src/lib/custom-resources/cdk-iam-password-policy/runtime/src/index.ts start line: 64 end line: 66 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1638 unit: addReplacement() file: src/lib/custom-resources/cdk-s3-template/cdk/index.ts start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1639 unit: get replacements() file: src/lib/custom-resources/cdk-s3-template/cdk/index.ts start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1640 unit: get lambdaFunction() file: src/lib/custom-resources/cdk-s3-template/cdk/index.ts start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1641 unit: get role() file: src/lib/custom-resources/cdk-s3-template/cdk/index.ts start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1642 unit: async function onUpdate() file: src/lib/custom-resources/cdk-s3-template/runtime/src/index.ts start line: 113 end line: 115 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1643 unit: async function onDelete() file: src/lib/custom-resources/cdk-s3-template/runtime/src/index.ts start line: 117 end line: 119 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1644 unit: get organizationId() file: src/lib/custom-resources/cdk-organization/cdk/index.ts start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1645 unit: get organizationArn() file: src/lib/custom-resources/cdk-organization/cdk/index.ts start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1646 unit: get masterAccountArn() file: src/lib/custom-resources/cdk-organization/cdk/index.ts start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1647 unit: get masterAccountEmail() file: src/lib/custom-resources/cdk-organization/cdk/index.ts start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1648 unit: get role() file: src/lib/custom-resources/cdk-acm-import-certificate/cdk/index.ts start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1649 unit: async function onUpdate() file: src/lib/custom-resources/cdk-security-hub-accept-invites/runtime/src/index.ts start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1650 unit: async function onDelete() file: src/lib/custom-resources/cdk-security-hub-accept-invites/runtime/src/index.ts start line: 85 end line: 87 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1651 unit: get lambdaFunction() file: src/lib/custom-resources/cdk-security-hub-disable-controls/cdk/index.ts start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1652 unit: async function onDelete() file: src/lib/custom-resources/cdk-security-hub-disable-controls/runtime/src/index.ts start line: 187 end line: 189 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1653 unit: get role() file: src/lib/custom-resources/cdk-cur-report-definition/cdk/index.ts start line: 106 end line: 108 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1654 unit: get lambdaFunction() file: src/lib/custom-resources/logs-add-subscription-filter/src/index.ts start line: 97 end line: 99 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1655 unit: get logGroupArn() file: src/lib/custom-resources/cdk-logs-log-group/cdk/index.ts start line: 106 end line: 108 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1656 unit: get role() file: src/lib/custom-resources/cdk-logs-log-group/cdk/index.ts start line: 110 end line: 112 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1657 unit: async function onUpdate() file: src/lib/custom-resources/cdk-logs-log-group/runtime/src/index.ts start line: 117 end line: 119 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1658 unit: get role() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/cdk/index.ts start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1659 unit: function getPropertiesFromEvent() file: src/lib/custom-resources/cdk-s3-update-logarchive-bucket-policy/runtime/src/index.ts start line: 227 end line: 229 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1660 unit: get name() file: src/lib/custom-resources/cdk-ssm-create-document/cdk/index.ts start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1661 unit: getAttString() file: src/lib/custom-resources/cdk-ec2-vpn-tunnel-options/cdk/index.ts start line: 90 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1662 unit: async function onUpdate() file: src/lib/custom-resources/cdk-ec2-vpn-tunnel-options/runtime/src/index.ts start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1663 unit: async function onDelete() file: src/lib/custom-resources/cdk-ec2-vpn-tunnel-options/runtime/src/index.ts start line: 95 end line: 97 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1664 unit: get status() file: src/lib/custom-resources/cdk-ec2-marketplace-subscription-validation/cdk/index.ts start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1665 unit: get lambdaFunction() file: src/lib/custom-resources/cdk-ec2-marketplace-subscription-validation/cdk/index.ts start line: 62 end line: 64 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1666 unit: get role() file: src/lib/custom-resources/cdk-ec2-marketplace-subscription-validation/cdk/index.ts start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1667 unit: async function onUpdate() file: src/lib/custom-resources/cdk-ec2-marketplace-subscription-validation/runtime/src/index.ts start line: 70 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1668 unit: async function onDelete() file: src/lib/custom-resources/cdk-ec2-marketplace-subscription-validation/runtime/src/index.ts start line: 74 end line: 76 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1669 unit: async function onUpdate() file: src/lib/custom-resources/cdk-cloud-trail/runtime/src/index.ts start line: 137 end line: 139 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1670 unit: async function onUpdate() file: src/lib/custom-resources/cdk-ec2-ebs-default-encryption/runtime/src/index.ts start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1671 unit: async function onUpdate() file: src/lib/custom-resources/cdk-vpc-default-security-group/runtime/src/index.ts start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1672 unit: async function onDelete() file: src/lib/custom-resources/cdk-vpc-default-security-group/runtime/src/index.ts start line: 85 end line: 87 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1673 unit: get imageId() file: src/lib/custom-resources/cdk-ec2-image-finder/cdk/index.ts start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1674 unit: async function onUpdate() file: src/lib/custom-resources/cdk-ec2-image-finder/runtime/src/index.ts start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1675 unit: async function onDelete() file: src/lib/custom-resources/cdk-ec2-image-finder/runtime/src/index.ts start line: 68 end line: 70 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1676 unit: async getCallerIdentity() file: src/lib/custom-resources/cdk-disassociate-hosted-zones/runtime/src/index.ts start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1677 unit: async function onUpdate() file: src/lib/custom-resources/cdk-security-hub-send-invites/runtime/src/index.ts start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1678 unit: async function onDelete() file: src/lib/custom-resources/cdk-security-hub-send-invites/runtime/src/index.ts start line: 79 end line: 81 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1679 unit: static getDefaultAssumeRoleName() file: src/lib/cdk-plugin-assume-role/src/assume-role-plugin.ts start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1680 unit: async isAvailable() file: src/lib/cdk-plugin-assume-role/src/assume-role-provider-source.ts start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1681 unit: async canProvideCredentials() file: src/lib/cdk-plugin-assume-role/src/assume-role-provider-source.ts start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1682 unit: export function getCommitIdSecretName() file: src/lib/common-outputs/src/commitid-secret.ts start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1683 unit: export function trimSpecialCharacters() file: src/lib/common-outputs/src/secrets.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1684 unit: export function createConfigRecorderName() file: src/lib/common-outputs/src/config.ts start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1685 unit: export function createAggregatorName() file: src/lib/common-outputs/src/config.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1686 unit: constructor() file: src/lib/cdk-constructs/src/firewall/cluster.ts start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1687 unit: get instanceId() file: src/lib/cdk-constructs/src/firewall/manager.ts start line: 87 end line: 89 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1688 unit: get instanceId() file: src/lib/cdk-constructs/src/firewall/instance.ts start line: 249 end line: 251 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1689 unit: get replacements() file: src/lib/cdk-constructs/src/firewall/instance.ts start line: 253 end line: 255 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1690 unit: get id() file: src/lib/cdk-constructs/src/cognito/cognito.ts start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1691 unit: get id() file: src/lib/cdk-constructs/src/cognito/cognito.ts start line: 97 end line: 99 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1692 unit: get id() file: src/lib/cdk-constructs/src/cognito/cognito.ts start line: 151 end line: 153 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1693 unit: get name() file: src/lib/cdk-constructs/src/vpc/alb.ts start line: 103 end line: 105 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1694 unit: get dns() file: src/lib/cdk-constructs/src/vpc/alb.ts start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1695 unit: get hostedZoneId() file: src/lib/cdk-constructs/src/vpc/alb.ts start line: 111 end line: 113 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1696 unit: get arn() file: src/lib/cdk-constructs/src/vpc/alb.ts start line: 115 end line: 117 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1697 unit: get name() file: src/lib/cdk-constructs/src/vpc/nlb.ts start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1698 unit: get dns() file: src/lib/cdk-constructs/src/vpc/nlb.ts start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1699 unit: get hostedZoneId() file: src/lib/cdk-constructs/src/vpc/nlb.ts start line: 93 end line: 95 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1700 unit: get arn() file: src/lib/cdk-constructs/src/vpc/nlb.ts start line: 97 end line: 99 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1701 unit: get ref() file: src/lib/cdk-constructs/src/vpc/transit-gateway.ts start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1702 unit: function enableDisableProperty() file: src/lib/cdk-constructs/src/vpc/transit-gateway.ts start line: 67 end line: 69 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1703 unit: get name() file: src/lib/cdk-constructs/src/vpc/glb.ts start line: 83 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1704 unit: get hostedZoneId() file: src/lib/cdk-constructs/src/vpc/glb.ts start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1705 unit: get arn() file: src/lib/cdk-constructs/src/vpc/glb.ts start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1706 unit: get service() file: src/lib/cdk-constructs/src/vpc/glb.ts start line: 102 end line: 104 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1707 unit: get name() file: src/lib/cdk-constructs/src/database/opensearch.ts start line: 173 end line: 175 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1708 unit: get dns() file: src/lib/cdk-constructs/src/database/opensearch.ts start line: 177 end line: 179 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1709 unit: get arn() file: src/lib/cdk-constructs/src/database/opensearch.ts start line: 181 end line: 183 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1710 unit: get roleArn() file: src/lib/cdk-constructs/src/iam/service-linked-role.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1711 unit: static fromInstanceRoleName() file: src/lib/cdk-constructs/src/iam/instance-profile.ts start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1712 unit: constructor() file: src/lib/cdk-constructs/src/iam/instance-profile.ts start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1713 unit: get ruleId() file: src/lib/cdk-constructs/src/route53/resolver-rule.ts start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1714 unit: constructor() file: src/lib/cdk-constructs/src/route53/resolver-endpoint.ts start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1715 unit: get inboundEndpoint() file: src/lib/cdk-constructs/src/route53/resolver-endpoint.ts start line: 111 end line: 113 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1716 unit: get inboundEndpointRef() file: src/lib/cdk-constructs/src/route53/resolver-endpoint.ts start line: 115 end line: 117 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1717 unit: get outboundEndpoint() file: src/lib/cdk-constructs/src/route53/resolver-endpoint.ts start line: 119 end line: 121 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1718 unit: get outboundEndpointRef() file: src/lib/cdk-constructs/src/route53/resolver-endpoint.ts start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1719 unit: tr() file: src/lib/config-i18n/src/translations.ts start line: 321 end line: 323 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1720 unit: currency() file: src/lib/config-i18n/src/translations.ts start line: 324 end line: 326 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1721 unit: export function isInterfaceTranslations() file: src/lib/config-i18n/src/translations.ts start line: 331 end line: 333 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1722 unit: function isStringEmpty() file: src/lib/config-i18n/src/translations.ts start line: 351 end line: 353 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1723 unit: await saveIndexOutput() file: src/core/runtime/src/save-outputs-to-ssm/elb-outputs.ts start line: 209 end line: 211 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1724 unit: await saveIndexOutput() file: src/core/runtime/src/save-outputs-to-ssm/event-outputs.ts start line: 112 end line: 114 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1725 unit: await saveIndexOutput() file: src/core/runtime/src/save-outputs-to-ssm/network-outputs.ts start line: 241 end line: 243 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1726 unit: function parametersEqual() file: src/core/runtime/src/create-stack-set/create-stack-set.ts start line: 87 end line: 89 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 1727 unit: function capabilitiesEqual() file: src/core/runtime/src/create-stack-set/create-stack-set.ts start line: 97 end line: 99 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1728 unit: export function isStackTemplateLocationBody() file: src/core/runtime/src/create-stack-set/create-stack-set.ts start line: 121 end line: 123 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1729 unit: export function isStackTemplateLocationS3() file: src/core/runtime/src/create-stack-set/create-stack-set.ts start line: 125 end line: 127 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 1730 unit: export function isStackTemplateLocationArtifact() file: src/core/runtime/src/create-stack-set/create-stack-set.ts start line: 129 end line: 131 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 1731 unit: function sleep() file: src/core/runtime/src/create-stack/verify.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1732 unit: nested: notNestable() file: src/ui/src/types.ts start line: 233 end line: 236 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1733 unit: get path() file: src/ui/src/utils/hooks.tsx start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1734 unit: function defaultStateToValue() file: src/ui/src/components/fields/input.tsx start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1735 unit: export function typeEquals() file: src/ui/src/components/fields/field.tsx start line: 101 end line: 103 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1736 unit: export function rawTypeEquals() file: src/ui/src/components/fields/field.tsx start line: 108 end line: 110 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1737 unit: function createDefaultReplacements() file: src/ui/src/components/replacements-context.tsx start line: 150 end line: 152 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1738 unit: function isReplacement() file: src/ui/src/components/node-field.tsx start line: 134 end line: 136 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 1739 unit: submitButton: tr() file: src/ui/src/pages/wizards/content.tsx start line: 101 end line: 103 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1740 unit: controlTowerEnabled ?() file: src/ui/src/pages/wizards/steps/configure-global-settings.tsx start line: 241 end line: 243 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1741 unit: controlTowerEnabled ?() file: src/ui/src/pages/wizards/steps/configure-global-settings.tsx start line: 251 end line: 253 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1742 unit: function getStringFromObject() file: src/ui/src/pages/wizards/steps/configure-global-settings.tsx start line: 356 end line: 358 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1743 unit: function JSON_FORMAT() file: src/ui/src/pages/wizards/steps/configure-global-settings.tsx start line: 360 end line: 362 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1744 unit: useOuSettings ?() file: src/ui/src/pages/wizards/components/account-table.tsx start line: 272 end line: 274 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 1745 unit: function organizationalUnits() file: src/ui/src/pages/wizards/components/organizational-unit-table.tsx start line: 575 end line: 577 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1746 unit: function hasCentralEndpoint() file: src/ui/src/pages/wizards/components/zone-table.tsx start line: 178 end line: 180 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1747 unit: function hasZones() file: src/ui/src/pages/wizards/components/zone-table.tsx start line: 182 end line: 184 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1748 unit: function hasResolvers() file: src/ui/src/pages/wizards/components/zone-table.tsx start line: 186 end line: 188 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1749 unit: description ?() file: src/ui/src/pages/wizards/components/label-with-description.tsx start line: 17 end line: 19 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 1750 unit: export function promiseIsFulfilled() file: src/deployments/cdk/promise.ts start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1751 unit: export function promiseIsRejected() file: src/deployments/cdk/promise.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1752 unit: async sleep() file: src/deployments/cdk/toolkit.ts start line: 196 end line: 198 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1753 unit: export function createIamInstanceProfileName() file: src/deployments/cdk/src/common/iam-assets.ts start line: 326 end line: 328 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1754 unit: get accountId() file: src/deployments/cdk/src/common/account-stacks.ts start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1755 unit: get accountKey() file: src/deployments/cdk/src/common/account-stacks.ts start line: 79 end line: 81 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1756 unit: get suffix() file: src/deployments/cdk/src/common/account-stacks.ts start line: 83 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1757 unit: get transitGatewayAttachmentId() file: src/deployments/cdk/src/common/transit-gateway-attachment.ts start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1758 unit: get id() file: src/deployments/cdk/src/common/vpc.ts start line: 743 end line: 745 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1759 unit: get subnets() file: src/deployments/cdk/src/common/vpc.ts start line: 747 end line: 749 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1760 unit: get securityGroups() file: src/deployments/cdk/src/common/vpc.ts start line: 751 end line: 753 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 1761 unit: get tgwAVpcAttachments() file: src/deployments/cdk/src/common/vpc.ts start line: 755 end line: 757 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1762 unit: get aliasTargetDns() file: src/deployments/cdk/src/common/interface-endpoints.ts start line: 125 end line: 127 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1763 unit: get hostedZone() file: src/deployments/cdk/src/common/interface-endpoints.ts start line: 129 end line: 131 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1764 unit: constructor() file: src/deployments/cdk/src/utils/limits.ts start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1765 unit: instanceProfileName: createIamInstanceProfileName() file: src/deployments/cdk/src/deployments/firewall/cluster/step-3.ts start line: 254 end line: 257 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1766 unit: cloudTrailName: createName() file: src/deployments/cdk/src/deployments/cloud-trail/step-1.ts start line: 86 end line: 88 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1767 unit: cloudTrailName: createName() file: src/deployments/cdk/src/deployments/cloud-trail/step-1.ts start line: 109 end line: 111 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1768 unit: name: createName() file: src/deployments/cdk/src/deployments/cloud-watch/step-3.ts start line: 99 end line: 101 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1769 unit: roleName: createRoleName() file: src/deployments/cdk/src/deployments/reports/step-1.ts start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1770 unit: export async function step2() file: src/deployments/cdk/src/deployments/vpc/step-2.ts start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1771 unit: export async function step1() file: src/deployments/cdk/src/deployments/vpc/step-1.ts start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1772 unit: export async function step4() file: src/deployments/cdk/src/deployments/vpc/step-4.ts start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1773 unit: name: createName() file: src/deployments/cdk/src/deployments/ou-validation-events/step-1.ts start line: 201 end line: 203 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1774 unit: name: createName() file: src/deployments/cdk/src/deployments/ou-validation-events/policy-changes.ts start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1775 unit: name: createName() file: src/deployments/cdk/src/deployments/ou-validation-events/create-organization.ts start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1776 unit: stateMachineName: createName() file: src/deployments/cdk/src/deployments/ou-validation-events/create-account.ts start line: 106 end line: 108 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1777 unit: name: createName() file: src/deployments/cdk/src/deployments/ou-validation-events/create-account.ts start line: 130 end line: 132 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1778 unit: name: createName() file: src/deployments/cdk/src/deployments/ou-validation-events/remove-account.ts start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1779 unit: export async function step2() file: src/deployments/cdk/src/deployments/defaults/step-2.ts start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1780 unit: destinationAccountId: getAccountId() file: src/deployments/cdk/src/deployments/defaults/step-3.ts start line: 80 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1781 unit: destinationAccountId: getAccountId() file: src/deployments/cdk/src/deployments/defaults/step-3.ts start line: 119 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1782 unit: name: createName() file: src/deployments/cdk/src/deployments/central-endpoints/step-2.ts start line: 334 end line: 336 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1783 unit: function domainToName() file: src/deployments/cdk/src/deployments/central-endpoints/step-2.ts start line: 410 end line: 412 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1784 unit: policyName: createName() file: src/deployments/cdk/src/deployments/central-endpoints/dns-query-log-group.ts start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1785 unit: targetAccountId: getAccountId() file: src/deployments/cdk/src/deployments/transit-gateway/peering.ts start line: 92 end line: 94 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1786 unit: export function createCertificateSecretName() file: src/deployments/cdk/src/deployments/certificates/outputs.ts start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1787 unit: await centralLoggingMonitoringEnable() file: src/deployments/cdk/src/deployments/central-services/step-2.ts start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1788 unit: await centralLoggingMonitoringEnable() file: src/deployments/cdk/src/deployments/central-services/step-2.ts start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1789 unit: deliveryStreamName: createName() file: src/deployments/cdk/src/deployments/central-services/central-logging-s3/step-1.ts start line: 183 end line: 185 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1790 unit: export async function step1() file: src/deployments/cdk/src/deployments/central-services/central-logging-s3/step-1-bkp.ts start line: 30 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1791 unit: deliveryStreamName: createName() file: src/deployments/cdk/src/deployments/central-services/central-logging-s3/step-1-bkp.ts start line: 96 end line: 98 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1792 unit: fileContent: pretty() file: src/deployments/runtime/src/ou-validation-events/move-account-organization.ts start line: 345 end line: 347 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 1793 unit: fileContent: pretty() file: src/deployments/runtime/src/ou-validation-events/move-account-organization.ts start line: 363 end line: 366 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1794 unit: function sleep() file: src/deployments/runtime/src/ou-validation-events/move-account-organization.ts start line: 415 end line: 417 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1795 unit: def cleanup_secrets() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 1796 unit: def cleanup_config_aggregators() file: reference-artifacts/Custom-Scripts/SEA-uninstall/aws-sea-cleanup.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 1797 unit: iam: optional() file: src/lib/config/src/config.ts start line: 642 end line: 643 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1798 unit: export function objectToCloudFormationParameters() file: src/lib/common/src/aws/cloudformation.ts start line: 216 end line: 217 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1799 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-macie-export-config/runtime/src/index.ts start line: 61 end line: 62 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1800 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-opensearch-siem-geoip-init/runtime/src/index.ts start line: 77 end line: 78 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1801 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-opensearch-siem-geoip-init/runtime/src/index.ts start line: 90 end line: 91 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1802 unit: async function onDelete() file: src/lib/custom-resources/ec2-ebs-default-encryption/lambda/src/index.ts start line: 64 end line: 70 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1803 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-guardduty-create-publish/runtime/src/index.ts start line: 60 end line: 61 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1804 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-guardduty-create-publish/runtime/src/index.ts start line: 73 end line: 74 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1805 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-s3-put-bucket-versioning/runtime/src/index.ts start line: 100 end line: 101 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1806 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-s3-put-bucket-versioning/runtime/src/index.ts start line: 148 end line: 149 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1807 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-macie-update-config/runtime/src/index.ts start line: 65 end line: 66 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1808 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-s3-bucket-notifications/runtime/src/index.ts start line: 96 end line: 97 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1809 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-s3-bucket-notifications/runtime/src/index.ts start line: 135 end line: 136 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1810 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-macie-create-member/runtime/src/index.ts start line: 60 end line: 61 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1811 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-opensearch-siem-configure/runtime/src/index.ts start line: 108 end line: 109 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1812 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-opensearch-siem-configure/runtime/src/index.ts start line: 121 end line: 122 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1813 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-macie-enable/runtime/src/index.ts start line: 71 end line: 72 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1814 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-macie-update-session/runtime/src/index.ts start line: 63 end line: 64 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1815 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-s3-put-bucket-replication/runtime/src/index.ts start line: 73 end line: 74 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1816 unit: physicalResourceId: getPhysicalId() file: src/lib/custom-resources/cdk-s3-put-bucket-replication/runtime/src/index.ts start line: 92 end line: 93 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1817 unit: async function onDelete() file: src/lib/custom-resources/cdk-ec2-ebs-default-encryption/runtime/src/index.ts start line: 64 end line: 70 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1818 unit: export async function prepareMandatoryAccountIamConfigs() file: src/core/runtime/src/save-outputs-to-ssm/iam-utils.ts start line: 22 end line: 23 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1819 unit: header: tr() file: src/ui/src/pages/wizards/components/zone-table.tsx start line: 77 end line: 78 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1820 unit: header: tr() file: src/ui/src/pages/wizards/components/zone-table.tsx start line: 81 end line: 82 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1821 unit: header: tr() file: src/ui/src/pages/wizards/components/zone-table.tsx start line: 85 end line: 86 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 1822 unit: header: tr() file: src/ui/src/pages/wizards/components/zone-table.tsx start line: 89 end line: 90 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 1823 unit: header: tr() file: src/ui/src/pages/wizards/components/zone-table.tsx start line: 93 end line: 94 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 1824 unit: name: createCertificateSecretName() file: src/deployments/cdk/src/deployments/certificates/step-1.ts start line: 90 end line: 91 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 1825 unit: roleName: createRoleName() file: src/deployments/cdk/src/deployments/iam/step-1.ts start line: 52 end line: 53 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1826 unit: roleName: createRoleName() file: src/deployments/cdk/src/deployments/iam/step-1.ts start line: 67 end line: 68 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1827 unit: roleName: createRoleName() file: src/deployments/cdk/src/deployments/iam/step-1.ts start line: 100 end line: 101 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1828 unit: roleName: createRoleName() file: src/deployments/cdk/src/deployments/iam/cwl-central-logging-roles.ts start line: 49 end line: 50 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1829 unit: limits: defaulted() file: src/lib/config/src/config.ts start line: 643 end line: 643 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 1830 unit: parameters: defaulted() file: src/lib/config/src/config.ts start line: 871 end line: 871 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 1831 unit: replacements: defaulted() file: src/lib/config/src/config.ts start line: 940 end line: 940 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 1832 unit: additionalReplacements: additionalReplacements() file: src/lib/common/src/util/common.ts start line: 89 end line: 89 size: 1 LOC McCabe index: 2 number of parameters: 1 id: 1833 unit: status: checkStatus() file: src/deployments/cdk/src/deployments/firewall/subscription/step-1.ts start line: 66 end line: 66 size: 1 LOC McCabe index: 1 number of parameters: 4 id: 1834 unit: status: checkStatus() file: src/deployments/cdk/src/deployments/firewall/subscription/step-1.ts start line: 76 end line: 76 size: 1 LOC McCabe index: 1 number of parameters: 4 id: 1835 unit: logGroupName: createLogGroupName() file: src/deployments/cdk/src/deployments/vpc/step-2.ts start line: 95 end line: 95 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 1836 unit: logGroupName: createLogGroupName() file: src/deployments/cdk/src/deployments/vpc/step-4.ts start line: 59 end line: 59 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 1837 unit: name: createRuleName() file: src/deployments/cdk/src/deployments/central-endpoints/step-2.ts start line: 263 end line: 263 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1838 unit: name: createRuleName() file: src/deployments/cdk/src/deployments/central-endpoints/step-2.ts start line: 298 end line: 298 size: 1 LOC McCabe index: 1 number of parameters: 1