Skip to content

Commit 15fefdf

Browse files
committed
Update AWS::S3::Bucket properties (aws#1885)
* Update AWS::S3::Bucket properties * Fix type checking validators for AWS::S3::Bucket * Update to use any_type() in favor of supporing ref
1 parent c30ca97 commit 15fefdf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

samtranslator/model/s3.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ class S3Bucket(Resource):
1212
"BucketEncryption": PropertyType(False, any_type()),
1313
"BucketName": PropertyType(False, is_str()),
1414
"CorsConfiguration": PropertyType(False, any_type()),
15+
"IntelligentTieringConfigurations": PropertyType(False, any_type()),
1516
"InventoryConfigurations": PropertyType(False, any_type()),
1617
"LifecycleConfiguration": PropertyType(False, any_type()),
1718
"LoggingConfiguration": PropertyType(False, any_type()),
1819
"MetricsConfigurations": PropertyType(False, any_type()),
1920
"NotificationConfiguration": PropertyType(False, is_type(dict)),
21+
"ObjectLockConfiguration": PropertyType(False, any_type()),
22+
"ObjectLockEnabled": PropertyType(False, any_type()),
23+
"OwnershipControls": PropertyType(False, any_type()),
2024
"PublicAccessBlockConfiguration": PropertyType(False, is_type(dict)),
2125
"ReplicationConfiguration": PropertyType(False, any_type()),
2226
"Tags": PropertyType(False, is_type(list)),

0 commit comments

Comments
 (0)