-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Bump SamTranslator version to 1.54.0 (#4402)
- Loading branch information
1 parent
4580762
commit 7630807
Showing
316 changed files
with
3,332 additions
and
2,769 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
tests/functional/commands/validate/lib/models/alexa_skill_with_skill_id.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
%YAML 1.1 | ||
--- | ||
# File: sam.yml | ||
# Version: 0.9 | ||
|
||
|
210 changes: 106 additions & 104 deletions
210
tests/functional/commands/validate/lib/models/all_policy_templates.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,176 +1,178 @@ | ||
%YAML 1.1 | ||
--- | ||
# "Kitchen Sink" test containing all supported policy templates. The idea is to know every one of them is | ||
# transformable and fail on any changes in the policy template definition without updating the test | ||
# Since this not about testing the transformation logic, we will keep the policy template parameter values as literal | ||
# string | ||
|
||
Resources: | ||
KitchenSinkFunction: | ||
Type: 'AWS::Serverless::Function' | ||
Type: AWS::Serverless::Function | ||
Properties: | ||
CodeUri: s3://sam-demo-bucket/hello.zip | ||
Handler: hello.handler | ||
Runtime: python2.7 | ||
Policies: | ||
|
||
- SQSPollerPolicy: | ||
QueueName: name | ||
- SQSPollerPolicy: | ||
QueueName: name | ||
|
||
- LambdaInvokePolicy: | ||
FunctionName: name | ||
- LambdaInvokePolicy: | ||
FunctionName: name | ||
|
||
- CloudWatchDescribeAlarmHistoryPolicy: {} | ||
- CloudWatchDescribeAlarmHistoryPolicy: {} | ||
|
||
- CloudWatchPutMetricPolicy: {} | ||
- CloudWatchPutMetricPolicy: {} | ||
|
||
- EC2DescribePolicy: {} | ||
- EC2DescribePolicy: {} | ||
|
||
- DynamoDBCrudPolicy: | ||
TableName: name | ||
- DynamoDBCrudPolicy: | ||
TableName: name | ||
|
||
- DynamoDBReadPolicy: | ||
TableName: name | ||
- DynamoDBReadPolicy: | ||
TableName: name | ||
|
||
- SESSendBouncePolicy: | ||
IdentityName: name | ||
- SESSendBouncePolicy: | ||
IdentityName: name | ||
|
||
- ElasticsearchHttpPostPolicy: | ||
DomainName: name | ||
- ElasticsearchHttpPostPolicy: | ||
DomainName: name | ||
|
||
- S3ReadPolicy: | ||
BucketName: name | ||
- S3ReadPolicy: | ||
BucketName: name | ||
|
||
- S3CrudPolicy: | ||
BucketName: name | ||
- S3CrudPolicy: | ||
BucketName: name | ||
|
||
- AMIDescribePolicy: {} | ||
- AMIDescribePolicy: {} | ||
|
||
- CloudFormationDescribeStacksPolicy: {} | ||
- CloudFormationDescribeStacksPolicy: {} | ||
|
||
- RekognitionNoDataAccessPolicy: | ||
CollectionId: id | ||
- RekognitionNoDataAccessPolicy: | ||
CollectionId: id | ||
|
||
- RekognitionReadPolicy: | ||
CollectionId: id | ||
- RekognitionReadPolicy: | ||
CollectionId: id | ||
|
||
- RekognitionWriteOnlyAccessPolicy: | ||
CollectionId: id | ||
- RekognitionWriteOnlyAccessPolicy: | ||
CollectionId: id | ||
|
||
- SQSSendMessagePolicy: | ||
QueueName: name | ||
- SQSSendMessagePolicy: | ||
QueueName: name | ||
|
||
- SNSPublishMessagePolicy: | ||
TopicName: name | ||
- SNSPublishMessagePolicy: | ||
TopicName: name | ||
|
||
- VPCAccessPolicy: {} | ||
- VPCAccessPolicy: {} | ||
|
||
- DynamoDBStreamReadPolicy: | ||
TableName: name | ||
StreamName: name | ||
- DynamoDBStreamReadPolicy: | ||
TableName: name | ||
StreamName: name | ||
|
||
- KinesisStreamReadPolicy: | ||
StreamName: name | ||
- KinesisStreamReadPolicy: | ||
StreamName: name | ||
|
||
- SESCrudPolicy: | ||
IdentityName: name | ||
- SESCrudPolicy: | ||
IdentityName: name | ||
|
||
- SNSCrudPolicy: | ||
TopicName: name | ||
- SNSCrudPolicy: | ||
TopicName: name | ||
|
||
- KinesisCrudPolicy: | ||
StreamName: name | ||
- KinesisCrudPolicy: | ||
StreamName: name | ||
|
||
- KMSDecryptPolicy: | ||
KeyId: keyId | ||
- KMSDecryptPolicy: | ||
KeyId: keyId | ||
|
||
- PollyFullAccessPolicy: | ||
LexiconName: name | ||
- PollyFullAccessPolicy: | ||
LexiconName: name | ||
|
||
- S3FullAccessPolicy: | ||
BucketName: name | ||
- S3FullAccessPolicy: | ||
BucketName: name | ||
|
||
- CodePipelineLambdaExecutionPolicy: {} | ||
- CodePipelineLambdaExecutionPolicy: {} | ||
|
||
- ServerlessRepoReadWriteAccessPolicy: {} | ||
- ServerlessRepoReadWriteAccessPolicy: {} | ||
|
||
- EC2CopyImagePolicy: | ||
ImageId: id | ||
- EC2CopyImagePolicy: | ||
ImageId: id | ||
|
||
- CodePipelineReadOnlyPolicy: | ||
PipelineName: pipeline | ||
- CodePipelineReadOnlyPolicy: | ||
PipelineName: pipeline | ||
|
||
- CloudWatchDashboardPolicy: {} | ||
- CloudWatchDashboardPolicy: {} | ||
|
||
- RekognitionFacesPolicy: {} | ||
- RekognitionFacesPolicy: {} | ||
|
||
- RekognitionLabelsPolicy: {} | ||
- RekognitionLabelsPolicy: {} | ||
|
||
- DynamoDBBackupFullAccessPolicy: | ||
TableName: table | ||
- DynamoDBBackupFullAccessPolicy: | ||
TableName: table | ||
|
||
- DynamoDBRestoreFromBackupPolicy: | ||
TableName: table | ||
- DynamoDBRestoreFromBackupPolicy: | ||
TableName: table | ||
|
||
- ComprehendBasicAccessPolicy: {} | ||
- ComprehendBasicAccessPolicy: {} | ||
|
||
- AWSSecretsManagerRotationPolicy: | ||
FunctionName: function | ||
- AWSSecretsManagerRotationPolicy: | ||
FunctionName: function | ||
|
||
- MobileAnalyticsWriteOnlyAccessPolicy: {} | ||
- MobileAnalyticsWriteOnlyAccessPolicy: {} | ||
|
||
- PinpointEndpointAccessPolicy: | ||
PinpointApplicationId: id | ||
- PinpointEndpointAccessPolicy: | ||
PinpointApplicationId: id | ||
|
||
- RekognitionDetectOnlyPolicy: {} | ||
- RekognitionDetectOnlyPolicy: {} | ||
|
||
- RekognitionFacesManagementPolicy: | ||
CollectionId: collection | ||
- RekognitionFacesManagementPolicy: | ||
CollectionId: collection | ||
|
||
- EKSDescribePolicy: {} | ||
- EKSDescribePolicy: {} | ||
|
||
- CostExplorerReadOnlyPolicy: {} | ||
- CostExplorerReadOnlyPolicy: {} | ||
|
||
- OrganizationsListAccountsPolicy: {} | ||
- OrganizationsListAccountsPolicy: {} | ||
|
||
- DynamoDBReconfigurePolicy: | ||
TableName: name | ||
- DynamoDBReconfigurePolicy: | ||
TableName: name | ||
|
||
- SESBulkTemplatedCrudPolicy: | ||
IdentityName: name | ||
- SESBulkTemplatedCrudPolicy: | ||
IdentityName: name | ||
|
||
- SESEmailTemplateCrudPolicy: {} | ||
- SESEmailTemplateCrudPolicy: {} | ||
|
||
- FilterLogEventsPolicy: | ||
LogGroupName: name | ||
- FilterLogEventsPolicy: | ||
LogGroupName: name | ||
|
||
- SSMParameterReadPolicy: | ||
ParameterName: name | ||
- SSMParameterReadPolicy: | ||
ParameterName: name | ||
|
||
- StepFunctionsExecutionPolicy: | ||
StateMachineName: name | ||
- StepFunctionsExecutionPolicy: | ||
StateMachineName: name | ||
|
||
- CodeCommitCrudPolicy: | ||
RepositoryName: name | ||
- CodeCommitCrudPolicy: | ||
RepositoryName: name | ||
|
||
- CodeCommitReadPolicy: | ||
RepositoryName: name | ||
- CodeCommitReadPolicy: | ||
RepositoryName: name | ||
|
||
- KMSEncryptPolicy: | ||
KeyId: keyId | ||
- KMSEncryptPolicy: | ||
KeyId: keyId | ||
|
||
- AthenaQueryPolicy: | ||
WorkGroupName: name | ||
- AthenaQueryPolicy: | ||
WorkGroupName: name | ||
|
||
- S3WritePolicy: | ||
BucketName: name | ||
- S3WritePolicy: | ||
BucketName: name | ||
|
||
- DynamoDBWritePolicy: | ||
TableName: name | ||
- DynamoDBWritePolicy: | ||
TableName: name | ||
|
||
- EventBridgePutEventsPolicy: | ||
EventBusName: name | ||
- EventBridgePutEventsPolicy: | ||
EventBusName: name | ||
|
||
- AcmGetCertificatePolicy: | ||
CertificateArn: arn | ||
- AcmGetCertificatePolicy: | ||
CertificateArn: arn | ||
|
||
- Route53ChangeResourceRecordSetsPolicy: | ||
HostedZoneId: test | ||
- Route53ChangeResourceRecordSetsPolicy: | ||
HostedZoneId: test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
tests/functional/commands/validate/lib/models/api_description.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
%YAML 1.1 | ||
--- | ||
Resources: | ||
Function: | ||
Type: AWS::Serverless::Function | ||
|
4 changes: 3 additions & 1 deletion
4
tests/functional/commands/validate/lib/models/api_endpoint_configuration.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.