Class: Bucket

S3.Bucket

new Bucket()

Properties:
Name Type Description
AccessControl String Required: No. A canned access control list (ACL) that grants predefined permissions to the bucket. For more information about canned ACLs, see Canned ACLs in the Amazon S3 documentation.Valid values: AuthenticatedRead | AwsExecRead | BucketOwnerRead | BucketOwnerFullControl | LogDeliveryWrite | Private | PublicRead | PublicReadWriteUpdate requires: No interruption
BucketName String Required: No. A name for the bucket. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name. For more information, see Name Type. The bucket name must contain only lowercase letters, numbers, periods (.), and dashes (-).ImportantIf you specify a name, you cannot do updates that require this resource to be replaced. You can still do updates that require no or some interruption. If you must replace the resource, specify a new name.Update requires: Replacement
CorsConfiguration AmazonS3CorsConfiguration Required: No. Rules that define cross-origin resource sharing of objects in this bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.Update requires: No interruption
LifecycleConfiguration AmazonS3LifecycleConfiguration Required: No. Rules that define how Amazon S3 manages objects during their lifetime. For more information, see Object Lifecycle Management in the Amazon Simple Storage Service Developer Guide.Update requires: No interruption
LoggingConfiguration AmazonS3LoggingConfiguration Required: No. Settings that defines where logs are stored.Update requires: No interruption
NotificationConfiguration AmazonS3NotificationConfiguration Required: No. Configuration that defines how Amazon S3 handles bucket notifications.Update requires: No interruption
ReplicationConfiguration AmazonS3ReplicationConfiguration Required: No. Configuration for replicating objects in an S3 bucket. To enable replication, you must also enable versioning by using the VersioningConfiguration property.Amazon S3 can store replicated objects in only one destination (S3 bucket). You cannot send replicated objects to multiple S3 buckets.Update requires: No interruption
Tags AWSCloudFormationResourceTags Required: No. An arbitrary set of tags (key-value pairs) for this Amazon S3 bucket.Update requires: No interruption
VersioningConfiguration AmazonS3VersioningConfiguration Required: No. Enables multiple variants of all objects in this bucket. You might enable versioning to prevent objects from being deleted or overwritten by mistake or to archive objects so that you can retrieve previous versions of them.Update requires: No interruption
WebsiteConfiguration AmazonS3WebsiteConfigurationProperty Required: No. Information used to configure the bucket as a static website. For more information, see Hosting Websites on Amazon S3.Update requires: No interruption
Source:

Extends

  • WKResource

S3.Bucket

new Bucket()

Properties:
Name Type Description
AccessControl String Required: No. A canned access control list (ACL) that grants predefined permissions to the bucket. For more information about canned ACLs, see Canned ACLs in the Amazon S3 documentation.Valid values: AuthenticatedRead | AwsExecRead | BucketOwnerRead | BucketOwnerFullControl | LogDeliveryWrite | Private | PublicRead | PublicReadWriteUpdate requires: No interruption
BucketName String Required: No. A name for the bucket. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name. For more information, see Name Type. The bucket name must contain only lowercase letters, numbers, periods (.), and dashes (-).ImportantIf you specify a name, you cannot do updates that require this resource to be replaced. You can still do updates that require no or some interruption. If you must replace the resource, specify a new name.Update requires: Replacement
CorsConfiguration AmazonS3CorsConfiguration Required: No. Rules that define cross-origin resource sharing of objects in this bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.Update requires: No interruption
LifecycleConfiguration AmazonS3LifecycleConfiguration Required: No. Rules that define how Amazon S3 manages objects during their lifetime. For more information, see Object Lifecycle Management in the Amazon Simple Storage Service Developer Guide.Update requires: No interruption
LoggingConfiguration AmazonS3LoggingConfiguration Required: No. Settings that defines where logs are stored.Update requires: No interruption
NotificationConfiguration AmazonS3NotificationConfiguration Required: No. Configuration that defines how Amazon S3 handles bucket notifications.Update requires: No interruption
ReplicationConfiguration AmazonS3ReplicationConfiguration Required: No. Configuration for replicating objects in an S3 bucket. To enable replication, you must also enable versioning by using the VersioningConfiguration property.Amazon S3 can store replicated objects in only one destination (S3 bucket). You cannot send replicated objects to multiple S3 buckets.Update requires: No interruption
Tags AWSCloudFormationResourceTags Required: No. An arbitrary set of tags (key-value pairs) for this Amazon S3 bucket.Update requires: No interruption
VersioningConfiguration AmazonS3VersioningConfiguration Required: No. Enables multiple variants of all objects in this bucket. You might enable versioning to prevent objects from being deleted or overwritten by mistake or to archive objects so that you can retrieve previous versions of them.Update requires: No interruption
WebsiteConfiguration AmazonS3WebsiteConfigurationProperty Required: No. Information used to configure the bucket as a static website. For more information, see Hosting Websites on Amazon S3.Update requires: No interruption
Source:

Extends

  • WKResource