Skip to content

Commit

Permalink
Add AWS::S3Express
Browse files Browse the repository at this point in the history
  • Loading branch information
markpeek committed Dec 6, 2023
1 parent 0d41a94 commit be23dd1
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions troposphere/s3express.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Copyright (c) 2012-2022, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***


from . import AWSObject, PropsDictType


class BucketPolicy(AWSObject):
"""
`BucketPolicy <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-bucketpolicy.html>`__
"""

resource_type = "AWS::S3Express::BucketPolicy"

props: PropsDictType = {
"Bucket": (str, True),
"PolicyDocument": (dict, True),
}


class DirectoryBucket(AWSObject):
"""
`DirectoryBucket <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-directorybucket.html>`__
"""

resource_type = "AWS::S3Express::DirectoryBucket"

props: PropsDictType = {
"BucketName": (str, False),
"DataRedundancy": (str, True),
"LocationName": (str, True),
}

0 comments on commit be23dd1

Please sign in to comment.