Skip to content

Commit bac44ea

Browse files
committed
Minor - Install docs fix
1 parent d651f3b commit bac44ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/install.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ and press **create** to create the layer.
6767
Serverless Application Repository (SAR)
6868
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6969

70-
AWS Data Wrangler layers are also available in the `AWS Serverless Application Repository <https://serverlessrepo.aws.amazon.com/applications>`_ (SAR).
70+
Starting version `2.12.0`, AWS Data Wrangler layers are also available in the `AWS Serverless Application Repository <https://serverlessrepo.aws.amazon.com/applications>`_ (SAR).
7171

7272
The app deploys the Lambda layer version in your own AWS account and region via a CloudFormation stack.
7373
This option provides the ability to use semantic versions (i.e. library version) instead of Lambda layer versions.
@@ -102,7 +102,7 @@ Here is an example of how to create and use the AWS Data Wrangler Lambda layer i
102102
wrangler_layer = sam.CfnApplication(
103103
self,
104104
"wrangler-layer",
105-
location=CfnApplication.ApplicationLocationProperty(
105+
location=sam.CfnApplication.ApplicationLocationProperty(
106106
application_id="arn:aws:serverlessrepo:us-east-1:336392948345:applications/aws-data-wrangler-layer-py3-8",
107107
semantic_version="2.13.0", # Get the latest version from https://github.com/awslabs/aws-data-wrangler/releases
108108
),
@@ -116,7 +116,7 @@ Here is an example of how to create and use the AWS Data Wrangler Lambda layer i
116116
"wrangler-function",
117117
runtime=aws_lambda.Runtime.PYTHON_3_8,
118118
function_name="sample-wrangler-lambda-function",
119-
code=aws_lambda.Code.asset("./src/wrangler-lambda"),
119+
code=aws_lambda.Code.from_asset("./src/wrangler-lambda"),
120120
handler='lambda_function.lambda_handler',
121121
layers=[wrangler_layer_version]
122122
)

0 commit comments

Comments
 (0)