Skip to content

Commit

Permalink
Merge branch 'develop' into feat_toggle_openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
xazhao committed Apr 19, 2024
2 parents 44bd87a + 7593908 commit afd6e25
Show file tree
Hide file tree
Showing 17 changed files with 3,604 additions and 647 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Resources:

MyTopic:
Type: AWS::SNS::Topic
Properties:
KmsMasterKeyId: alias/aws/sns

MyConnector:
Type: AWS::Serverless::Connector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ Resources:
Type: AWS::Kinesis::Stream
Properties:
ShardCount: 1
StreamEncryption:
EncryptionType: KMS
KeyId: alias/aws/kinesis

# What an irony the I can't use AWS::Serverless::SimpleTable here because it doesn't support streams specification
MyTable:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ Resources:
Condition: MyCondition
Properties:
ShardCount: 1
StreamEncryption:
EncryptionType: KMS
KeyId: alias/aws/kinesis

MyDynamoDB:
UpdateReplacePolicy: Delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ Resources:
Condition: MyCondition
Properties:
ShardCount: 1
StreamEncryption:
EncryptionType: KMS
KeyId: alias/aws/kinesis

MyDynamoDB:
Type: AWS::DynamoDB::Table
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,8 @@ Resources:
Type: AWS::Kinesis::Stream
Properties:
ShardCount: 1
StreamEncryption:
EncryptionType: KMS
KeyId: alias/aws/kinesis
Metadata:
SamTransformTest: true
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,8 @@ Resources:
Type: AWS::Kinesis::Stream
Properties:
ShardCount: 1
StreamEncryption:
EncryptionType: KMS
KeyId: alias/aws/kinesis
Metadata:
SamTransformTest: true
3 changes: 0 additions & 3 deletions integration/resources/templates/single/basic_function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ Resources:
Runtime: nodejs18.x
CodeUri: ${codeuri}
MemorySize: 128
Policies:
- AWSLambdaRole
- AmazonS3ReadOnlyAccess
Environment:
Variables:
Name: Value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ Resources:
Runtime: nodejs18.x
CodeUri: ${codeuri}
MemorySize: 128
Policies:
- AWSLambdaRole
- AmazonS3ReadOnlyAccess
Metadata:
SamTransformTest: true
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ Resources:
Runtime: nodejs18.x
CodeUri: ${codeuri}
MemorySize: 128
Policies:
- AWSLambdaRole
- AmazonS3ReadOnlyAccess
Environment:
Variables:
Name: Value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ Resources:

MyTopic:
Type: AWS::SNS::Topic
Properties:
KmsMasterKeyId: alias/aws/sns
Metadata:
SamTransformTest: true
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ Resources:
Runtime: nodejs18.x
CodeUri: ${codeuri}
MemorySize: 128
Policies:
- AWSLambdaRole
- AmazonS3ReadOnlyAccess
Tags:
TagKey1: TagValue1
TagKey2: ''
Expand Down
2 changes: 1 addition & 1 deletion samtranslator/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.86.0"
__version__ = "1.87.0"

0 comments on commit afd6e25

Please sign in to comment.