[{"data":1,"prerenderedAt":461},["ShallowReactive",2],{"navigation_docs_en":3,"-en-mulai-instalasi":52,"-en-mulai-instalasi-surround":458},[4,18,35],{"title":5,"path":6,"stem":7,"children":8,"page":17},"Get started","\u002Fen\u002Fmulai","en\u002F1.mulai",[9,13],{"title":10,"path":11,"stem":12},"Installation & quick start","\u002Fen\u002Fmulai\u002Finstalasi","en\u002F1.mulai\u002F1.instalasi",{"title":14,"path":15,"stem":16},"Login & sessions","\u002Fen\u002Fmulai\u002Flogin","en\u002F1.mulai\u002F2.login",false,{"title":19,"path":20,"stem":21,"children":22,"page":17},"Guides","\u002Fen\u002Fpanduan","en\u002F2.panduan",[23,27,31],{"title":24,"path":25,"stem":26},"Project configuration","\u002Fen\u002Fpanduan\u002Fkonfigurasi","en\u002F2.panduan\u002F1.konfigurasi",{"title":28,"path":29,"stem":30},"Multiple profiles","\u002Fen\u002Fpanduan\u002Fmulti-profile","en\u002F2.panduan\u002F2.multi-profile",{"title":32,"path":33,"stem":34},"Pull & push","\u002Fen\u002Fpanduan\u002Fpull-push","en\u002F2.panduan\u002F3.pull-push",{"title":36,"path":37,"stem":38,"children":39,"page":17},"Reference","\u002Fen\u002Freferensi","en\u002F3.referensi",[40,44,48],{"title":41,"path":42,"stem":43},"Command reference","\u002Fen\u002Freferensi\u002Fcommands","en\u002F3.referensi\u002F1.commands",{"title":45,"path":46,"stem":47},"Troubleshooting","\u002Fen\u002Freferensi\u002Ftroubleshooting","en\u002F3.referensi\u002F2.troubleshooting",{"title":49,"path":50,"stem":51},"Release notes","\u002Fen\u002Freferensi\u002Fcatatan-rilis","en\u002F3.referensi\u002F3.catatan-rilis",{"id":53,"title":10,"body":54,"description":451,"extension":452,"links":453,"meta":454,"navigation":455,"path":11,"seo":456,"stem":12,"__hash__":457},"docs_en\u002Fen\u002F1.mulai\u002F1.instalasi.md",{"type":55,"value":56,"toc":443},"minimark",[57,70,75,95,99,128,135,139,154,169,173,193,199,202,349,352,356,376,383,392,395,404,412,416,439],[58,59,60,64,65,69],"p",{},[61,62,63],"code",{},"l"," is a CLI for maintaining AWS Lambda code from your terminal. This guide covers ",[66,67,68],"strong",{},"@ricko-v\u002Fl v2.0.0",".",[71,72,74],"h2",{"id":73},"prerequisites","Prerequisites",[76,77,78,86,89,92],"ul",{},[79,80,81,82,85],"li",{},"Node.js ",[66,83,84],{},"22 or later"," and npm.",[79,87,88],{},"A browser for AWS login.",[79,90,91],{},"An AWS identity with permission to access the functions you want to manage.",[79,93,94],{},"Existing Lambda functions with ZIP deployments for pull\u002Fpush.",[71,96,98],{"id":97},"install-from-npm","Install from npm",[100,101,106],"pre",{"className":102,"code":103,"language":104,"meta":105,"style":105},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npm install -g @ricko-v\u002Fl\nl --version\nl --help\n","sh","",[61,107,108,116,122],{"__ignoreMap":105},[109,110,113],"span",{"class":111,"line":112},"line",1,[109,114,115],{},"npm install -g @ricko-v\u002Fl\n",[109,117,119],{"class":111,"line":118},2,[109,120,121],{},"l --version\n",[109,123,125],{"class":111,"line":124},3,[109,126,127],{},"l --help\n",[58,129,130,131,134],{},"To update your installation, run ",[61,132,133],{},"npm install -g @ricko-v\u002Fl@latest"," again.",[71,136,138],{"id":137},"sign-in-and-check-your-identity","Sign in and check your identity",[100,140,142],{"className":102,"code":141,"language":104,"meta":105,"style":105},"l login --profile production\nl whoami --profile production\n",[61,143,144,149],{"__ignoreMap":105},[109,145,146],{"class":111,"line":112},[109,147,148],{},"l login --profile production\n",[109,150,151],{"class":111,"line":118},[109,152,153],{},"l whoami --profile production\n",[58,155,156,157,160,161,164,165,168],{},"Complete AWS Sign-In in your browser, then wait for the final result in your terminal. Check ",[66,158,159],{},"Account"," and ",[66,162,163],{},"Identity"," before continuing. ",[61,166,167],{},"production"," is a local profile name; it does not determine which account you sign in to.",[71,170,172],{"id":171},"create-a-project","Create a project",[100,174,176],{"className":102,"code":175,"language":104,"meta":105,"style":105},"mkdir billing-lambda\ncd billing-lambda\nl init --profile production\n",[61,177,178,183,188],{"__ignoreMap":105},[109,179,180],{"class":111,"line":112},[109,181,182],{},"mkdir billing-lambda\n",[109,184,185],{"class":111,"line":118},[109,186,187],{},"cd billing-lambda\n",[109,189,190],{"class":111,"line":124},[109,191,192],{},"l init --profile production\n",[58,194,195,196,69],{},"The wizard asks for a project name, resource region, and Lambda configuration. For your first run, select an existing function or enter its name manually. Review the JSON, then confirm saving ",[61,197,198],{},"l.config.json",[58,200,201],{},"Example result:",[100,203,207],{"className":204,"code":205,"filename":198,"language":206,"meta":105,"style":105},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"version\": 1,\n  \"name\": \"billing-lambda\",\n  \"region\": \"ap-southeast-1\",\n  \"profile\": \"production\",\n  \"lambda\": {\n    \"functionName\": \"billing-api\"\n  }\n}\n","json",[61,208,209,215,237,259,280,300,315,337,343],{"__ignoreMap":105},[109,210,211],{"class":111,"line":112},[109,212,214],{"class":213},"sMK4o","{\n",[109,216,217,220,224,227,230,234],{"class":111,"line":118},[109,218,219],{"class":213},"  \"",[109,221,223],{"class":222},"spNyl","version",[109,225,226],{"class":213},"\"",[109,228,229],{"class":213},":",[109,231,233],{"class":232},"sbssI"," 1",[109,235,236],{"class":213},",\n",[109,238,239,241,244,246,248,251,255,257],{"class":111,"line":124},[109,240,219],{"class":213},[109,242,243],{"class":222},"name",[109,245,226],{"class":213},[109,247,229],{"class":213},[109,249,250],{"class":213}," \"",[109,252,254],{"class":253},"sfazB","billing-lambda",[109,256,226],{"class":213},[109,258,236],{"class":213},[109,260,262,264,267,269,271,273,276,278],{"class":111,"line":261},4,[109,263,219],{"class":213},[109,265,266],{"class":222},"region",[109,268,226],{"class":213},[109,270,229],{"class":213},[109,272,250],{"class":213},[109,274,275],{"class":253},"ap-southeast-1",[109,277,226],{"class":213},[109,279,236],{"class":213},[109,281,283,285,288,290,292,294,296,298],{"class":111,"line":282},5,[109,284,219],{"class":213},[109,286,287],{"class":222},"profile",[109,289,226],{"class":213},[109,291,229],{"class":213},[109,293,250],{"class":213},[109,295,167],{"class":253},[109,297,226],{"class":213},[109,299,236],{"class":213},[109,301,303,305,308,310,312],{"class":111,"line":302},6,[109,304,219],{"class":213},[109,306,307],{"class":222},"lambda",[109,309,226],{"class":213},[109,311,229],{"class":213},[109,313,314],{"class":213}," {\n",[109,316,318,321,325,327,329,331,334],{"class":111,"line":317},7,[109,319,320],{"class":213},"    \"",[109,322,324],{"class":323},"sBMFI","functionName",[109,326,226],{"class":213},[109,328,229],{"class":213},[109,330,250],{"class":213},[109,332,333],{"class":253},"billing-api",[109,335,336],{"class":213},"\"\n",[109,338,340],{"class":111,"line":339},8,[109,341,342],{"class":213},"  }\n",[109,344,346],{"class":111,"line":345},9,[109,347,348],{"class":213},"}\n",[58,350,351],{},"Replace the function name and region with your own target. Init saves local configuration; it does not create a Lambda function.",[71,353,355],{"id":354},"pull-code-and-preview-changes","Pull code and preview changes",[100,357,359],{"className":102,"code":358,"language":104,"meta":105,"style":105},"l lambda info\nl pull --dry-run\nl pull\n",[61,360,361,366,371],{"__ignoreMap":105},[109,362,363],{"class":111,"line":112},[109,364,365],{},"l lambda info\n",[109,367,368],{"class":111,"line":118},[109,369,370],{},"l pull --dry-run\n",[109,372,373],{"class":111,"line":124},[109,374,375],{},"l pull\n",[58,377,378,379,382],{},"Your code is available in ",[61,380,381],{},"lambda\u002Fbilling-api\u002F",". Edit the files and prepare any build output your project needs, then preview:",[100,384,386],{"className":102,"code":385,"language":104,"meta":105,"style":105},"l push --dry-run\n",[61,387,388],{"__ignoreMap":105},[109,389,390],{"class":111,"line":112},[109,391,385],{},[58,393,394],{},"When the target and changes look correct, run:",[100,396,398],{"className":102,"code":397,"language":104,"meta":105,"style":105},"l push\n",[61,399,400],{"__ignoreMap":105},[109,401,402],{"class":111,"line":112},[109,403,397],{},[405,406,407,408,411],"warning",{},"Push updates ",[66,409,410],{},"$LATEST"," on an existing AWS function. Invocations using $LATEST may immediately run the new code. Review the account, region, and changes before confirming.",[71,413,415],{"id":414},"next-steps","Next steps",[76,417,418,424,429,434],{},[79,419,420,423],{},[421,422,14],"a",{"href":15},": credential storage and signing in again after a refresh token expires.",[79,425,426,428],{},[421,427,28],{"href":29},": choosing a login per project.",[79,430,431,433],{},[421,432,32],{"href":33},": multiple functions, prefixes, ignore rules, backups, and conflicts.",[79,435,436,438],{},[421,437,41],{"href":42},": all CLI options.",[440,441,442],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":105,"searchDepth":118,"depth":118,"links":444},[445,446,447,448,449,450],{"id":73,"depth":118,"text":74},{"id":97,"depth":118,"text":98},{"id":137,"depth":118,"text":138},{"id":171,"depth":118,"text":172},{"id":354,"depth":118,"text":355},{"id":414,"depth":118,"text":415},"From installing the npm package to previewing your first Lambda changes.","md",null,{},true,{"title":10,"description":451},"5rALnG8LU9CoKRZOyA8U2WfSD4SoebxEqtRmsu7fCUM",[453,459],{"title":14,"path":15,"stem":16,"description":460,"children":-1},"Sign in to AWS through your browser, check your identity, and renew expired sessions.",1790260505391]