You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/account.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ It's important to note that LocalStack doesn't offer a programmatic interface to
23
23
24
24
## Getting started
25
25
26
-
This guide is designed for users who are new to Account and assumes basic knowledge of the AWS CLI and our [`awslocal`](https://github.com/localstack/awscli-local) wrapper script.
26
+
This guide is designed for users who are new to Account and assumes basic knowledge of the AWS CLI and our [`lstk aws`](/aws/developer-tools/running-localstack/lstk/#aws) command.
27
27
28
28
Start your LocalStack container using your preferred method.
29
29
We will demonstrate how to put contact information, fetch account details, and attach an alternate contact to your account.
@@ -34,7 +34,7 @@ You can use the [`PutContactInformation`](https://docs.aws.amazon.com/accounts/l
34
34
Run the following command to add contact information to your account:
35
35
36
36
```bash showshowLineNumbers
37
-
awslocal account put-contact-information \
37
+
lstk aws account put-contact-information \
38
38
--contact-information '{
39
39
"FullName": "Jane Doe",
40
40
"PhoneNumber": "+XXXXXXXXX",
@@ -52,7 +52,7 @@ You can use the [`GetContactInformation`](https://docs.aws.amazon.com/accounts/l
52
52
Run the following command to fetch the contact information for your account:
53
53
54
54
```bash
55
-
awslocal account get-contact-information
55
+
lstk aws account get-contact-information
56
56
```
57
57
58
58
```bash title="Output" showshowLineNumbers
@@ -75,7 +75,7 @@ You can attach an alternate contact using [`PutAlternateContact`](https://docs.a
75
75
Run the following command to attach an alternate contact to your account:
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/acm-pca.mdx
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w
18
18
19
19
## Getting started
20
20
21
-
This guide is designed for users who are new to ACM PCA and assumes basic knowledge of the AWS CLI and our [`awslocal`](https://github.com/localstack/awscli-local) wrapper script.
21
+
This guide is designed for users who are new to ACM PCA and assumes basic knowledge of the AWS CLI and our [`lstk aws`](/aws/developer-tools/running-localstack/lstk/#aws) command.
22
22
We will follow the procedure to create and install a certificate for a single-level hierarchy CA hosted by ACM PCA.
23
23
24
24
### Create a CA
@@ -27,7 +27,7 @@ Start by creating a new Certificate Authority with ACM PCA using the [`CreateCer
27
27
This command sets up a new CA with specified configurations for key algorithm, signing algorithm, and subject information.
28
28
29
29
```bash
30
-
awslocal acm-pca create-certificate-authority \
30
+
lstk aws acm-pca create-certificate-authority \
31
31
--certificate-authority-configuration '{
32
32
"KeyAlgorithm":"RSA_2048",
33
33
"SigningAlgorithm":"SHA256WITHRSA",
@@ -53,7 +53,7 @@ To retrieve the detailed information about the created Certificate Authority, us
53
53
This command returns the detailed information about the CA, including the CA's ARN, status, and configuration.
@@ -94,15 +94,15 @@ In the following steps, we will create and attach a certificate for this CA.
94
94
Use the [`GetCertificateAuthorityCsr`](https://docs.aws.amazon.com/privateca/latest/APIReference/API_GetCertificateAuthorityCsr.html) operation to obtain the Certificate Signing Request (CSR) for the CA.
@@ -123,14 +123,14 @@ The CA certificate is now created and its ARN is indicated by the `CertificateAr
123
123
Finally, we retrieve the signed certificate with [`GetCertificate`](https://docs.aws.amazon.com/privateca/latest/APIReference/API_GetCertificate.html) and import it using [`ImportCertificateAuthorityCertificate`](https://docs.aws.amazon.com/privateca/latest/APIReference/API_ImportCertificateAuthorityCertificate.html).
@@ -196,7 +196,7 @@ Next, using [`IssueCertificate`](https://docs.aws.amazon.com/privateca/latest/AP
196
196
Note that there is no [certificate template](https://docs.aws.amazon.com/privateca/latest/userguide/UsingTemplates.html) specified which causes the end-entity certificate to be issued by default.
@@ -240,7 +240,7 @@ After tagging your Certificate Authority, you may want to view these tags.
240
240
You can use the [`ListTags`](https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListTags.html) API to list all the tags associated with the specified CA.
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/acm.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w
20
20
21
21
## Getting started
22
22
23
-
This guide is designed for users who are new to ACM and assumes basic knowledge of the AWS CLI and our [`awslocal`](https://github.com/localstack/awscli-local) wrapper script.
23
+
This guide is designed for users who are new to ACM and assumes basic knowledge of the AWS CLI and our [`lstk aws`](/aws/developer-tools/running-localstack/lstk/#aws) command.
24
24
25
25
### Request a public certificate
26
26
@@ -29,7 +29,7 @@ Specify the domain name you want to request the certificate for, and any additio
29
29
Here's an example command:
30
30
31
31
```bash showshowLineNumbers
32
-
awslocal acm request-certificate \
32
+
lstk aws acm request-certificate \
33
33
--domain-name www.example.com \
34
34
--validation-method DNS \
35
35
--idempotency-token 1234 \
@@ -51,7 +51,7 @@ This command returns a list of the ARNs of all the certificates that have been r
51
51
Here's an example command:
52
52
53
53
```bash
54
-
awslocal acm list-certificates --max-items 10
54
+
lstk aws acm list-certificates --max-items 10
55
55
```
56
56
57
57
### Describe the certificate
@@ -61,7 +61,7 @@ Provide the ARN of the certificate you want to view, and this command will retur
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/apigateway.mdx
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ The supported APIs are available on the API coverage section for [API Gateway V1
21
21
22
22
## Getting started
23
23
24
-
This guide is designed for users new to API Gateway and assumes basic knowledge of the AWS CLI and our [`awslocal`](https://github.com/localstack/awscli-local) wrapper script.
24
+
This guide is designed for users new to API Gateway and assumes basic knowledge of the AWS CLI and our [`lstk aws`](/aws/developer-tools/running-localstack/lstk/#aws) command.
25
25
26
26
Start your LocalStack container using your preferred method.
27
27
We will use the Lambda proxy integration to integrate an API method with a Lambda function.
@@ -49,12 +49,12 @@ module.exports = {
49
49
```
50
50
51
51
The above code defines a function named `apiHandler` that returns a response with a status code of `200` and a body containing the string `Hello from Lambda`.
52
-
Zip the file and upload it to LocalStack using the `awslocal` CLI.
52
+
Zip the file and upload it to LocalStack using the `lstk aws` command.
53
53
Run the following command:
54
54
55
55
```bash showshowLineNumbers
56
56
zip function.zip lambda.js
57
-
awslocal lambda create-function \
57
+
lstk aws lambda create-function \
58
58
--function-name apigw-lambda \
59
59
--runtime nodejs16.x \
60
60
--handler lambda.apiHandler \
@@ -71,7 +71,7 @@ We will use the API Gateway's [`CreateRestApi`](https://docs.aws.amazon.com/apig
This creates a new REST API named `API Gateway Lambda integration`.
@@ -99,7 +99,7 @@ You'll need this ID for the next step.
99
99
Use the REST API ID generated in the previous step to fetch the resources for the API, using the [`GetResources`](https://docs.aws.amazon.com/apigateway/latest/api/API_GetResources.html) API:
Now, create a new integration for the method using the [`PutIntegration`](https://docs.aws.amazon.com/apigateway/latest/api/API_PutIntegration.html) API.
169
169
170
170
```bash showshowLineNumbers
171
-
awslocal apigateway put-integration \
171
+
lstk aws apigateway put-integration \
172
172
--rest-api-id <REST_API_ID> \
173
173
--resource-id <RESOURCE_ID> \
174
174
--http-method GET \
@@ -186,7 +186,7 @@ We can now proceed with the deployment before invoking the API.
186
186
Create a new deployment for the API using the [`CreateDeployment`](https://docs.aws.amazon.com/apigateway/latest/api/API_CreateDeployment.html) API:
187
187
188
188
```bash
189
-
awslocal apigateway create-deployment \
189
+
lstk aws apigateway create-deployment \
190
190
--rest-api-id <REST_API_ID> \
191
191
--stage-name dev
192
192
```
@@ -346,10 +346,10 @@ functions:
346
346
```
347
347
348
348
Upon deployment of the Serverless project, LocalStack creates a new API Gateway V2 endpoint.
349
-
To retrieve the list of APIs and verify the WebSocket endpoint, you can use the `awslocal` CLI:
349
+
To retrieve the list of APIs and verify the WebSocket endpoint, you can use the `lstk aws` CLI:
350
350
351
351
```bash
352
-
awslocal apigatewayv2 get-apis
352
+
lstk aws apigatewayv2 get-apis
353
353
```
354
354
355
355
```bash title="Output"
@@ -377,7 +377,7 @@ To push data from a backend service to the WebSocket connection, you can use the
377
377
In LocalStack, use the following CLI command (replace `<connectionId>` with your WebSocket connection ID):
378
378
379
379
```bash
380
-
awslocal apigatewaymanagementapi \
380
+
lstk aws apigatewaymanagementapi \
381
381
post-to-connection \
382
382
--connection-id '<connectionId>' \
383
383
--data '{"msg": "Hi"}'
@@ -392,7 +392,7 @@ To assign a custom ID to an API Gateway REST API, use the `create-rest-api` comm
392
392
The following example assigns the custom ID `"myid123"` to the API:
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/appconfig.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w
15
15
16
16
## Getting started
17
17
18
-
This guide is designed for users new to AppConfig and assumes basic knowledge of the AWS CLI and our [`awslocal`](https://github.com/localstack/awscli-local) wrapper script.
18
+
This guide is designed for users new to AppConfig and assumes basic knowledge of the AWS CLI and our [`lstk aws`](/aws/developer-tools/running-localstack/lstk/#aws) command.
19
19
20
20
Start your LocalStack container using your preferred method.
21
21
We will demonstrate how to create an AppConfig application, environment, configuration profiles & feature flags, and deploy the configuration with the AWS CLI.
@@ -27,7 +27,7 @@ The application is a folder/directory that contains the configuration data for y
27
27
The following command creates an application named `my-app`:
28
28
29
29
```bash
30
-
awslocal appconfig create-application \
30
+
lstk aws appconfig create-application \
31
31
--name my-app \
32
32
--description "My application"
33
33
```
@@ -47,7 +47,7 @@ An environment consists of the deployment group of your AppConfig applications.
47
47
The following command creates an environment named `my-app-env`:
48
48
49
49
```bash
50
-
awslocal appconfig create-environment \
50
+
lstk aws appconfig create-environment \
51
51
--application-id 400c285 \
52
52
--name my-app-env \
53
53
--description "My application environment"
@@ -73,7 +73,7 @@ A configuration profile contains for the configurations of your AppConfig applic
73
73
The following command creates a configuration profile named `my-app-config`:
74
74
75
75
```bash
76
-
awslocal appconfig create-configuration-profile \
76
+
lstk aws appconfig create-configuration-profile \
77
77
--application-id 400c285 \
78
78
--name my-app-config \
79
79
--location-uri hosted \
@@ -110,7 +110,7 @@ You can now use the [`CreateHostedConfigurationVersion`](https://docs.aws.amazon
110
110
The following command creates a hosted configuration version for the configuration profile you created in the previous step:
0 commit comments