Skip to content

Commit

Permalink
Teste beta layer
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrodamascena committed Aug 21, 2024
1 parent d716e95 commit 229bcd6
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 112 deletions.
8 changes: 4 additions & 4 deletions layer_v3/layer/layer_stack.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Optional
from __future__ import annotations

import jsii
from aws_cdk import (
Expand All @@ -14,7 +14,7 @@
)
from aws_cdk.aws_lambda import Architecture, CfnLayerVersionPermission
from aws_cdk.aws_ssm import StringParameter
from cdk_aws_lambda_powertools_layer import LambdaPowertoolsLayer
from cdk_aws_lambda_powertools_layer import LambdaPowertoolsLayerPythonV3
from constructs import Construct


Expand All @@ -38,12 +38,12 @@ def __init__(
layer_version_name: str,
powertools_version: str,
python_version: str,
architecture: Optional[Architecture] = None,
architecture: Architecture | None = None,
**kwargs,
) -> None:
super().__init__(scope, construct_id, **kwargs)

layer = LambdaPowertoolsLayer(
layer = LambdaPowertoolsLayerPythonV3(
self,
"Layer",
layer_version_name=layer_version_name,
Expand Down
Loading

0 comments on commit 229bcd6

Please sign in to comment.