CfnBucketProps

class aws_cdk.aws_s3.CfnBucketProps(*, accelerate_configuration=None, access_control=None, analytics_configurations=None, bucket_encryption=None, bucket_name=None, cors_configuration=None, inventory_configurations=None, lifecycle_configuration=None, logging_configuration=None, metrics_configurations=None, notification_configuration=None, object_lock_configuration=None, object_lock_enabled=None, public_access_block_configuration=None, replication_configuration=None, tags=None, versioning_configuration=None, website_configuration=None)

Bases: object

__init__(*, accelerate_configuration=None, access_control=None, analytics_configurations=None, bucket_encryption=None, bucket_name=None, cors_configuration=None, inventory_configurations=None, lifecycle_configuration=None, logging_configuration=None, metrics_configurations=None, notification_configuration=None, object_lock_configuration=None, object_lock_enabled=None, public_access_block_configuration=None, replication_configuration=None, tags=None, versioning_configuration=None, website_configuration=None)

Properties for defining a AWS::S3::Bucket.

Parameters
  • accelerate_configuration (Union[AccelerateConfigurationProperty, None, IResolvable]) – AWS::S3::Bucket.AccelerateConfiguration.

  • access_control (Optional[str]) – AWS::S3::Bucket.AccessControl.

  • analytics_configurations (Union[IResolvable, None, List[Union[IResolvable, AnalyticsConfigurationProperty]]]) – AWS::S3::Bucket.AnalyticsConfigurations.

  • bucket_encryption (Union[IResolvable, None, BucketEncryptionProperty]) – AWS::S3::Bucket.BucketEncryption.

  • bucket_name (Optional[str]) – AWS::S3::Bucket.BucketName.

  • cors_configuration (Union[IResolvable, None, CorsConfigurationProperty]) – AWS::S3::Bucket.CorsConfiguration.

  • inventory_configurations (Union[IResolvable, None, List[Union[IResolvable, InventoryConfigurationProperty]]]) – AWS::S3::Bucket.InventoryConfigurations.

  • lifecycle_configuration (Union[IResolvable, None, LifecycleConfigurationProperty]) – AWS::S3::Bucket.LifecycleConfiguration.

  • logging_configuration (Union[IResolvable, None, LoggingConfigurationProperty]) – AWS::S3::Bucket.LoggingConfiguration.

  • metrics_configurations (Union[IResolvable, None, List[Union[IResolvable, MetricsConfigurationProperty]]]) – AWS::S3::Bucket.MetricsConfigurations.

  • notification_configuration (Union[IResolvable, None, NotificationConfigurationProperty]) – AWS::S3::Bucket.NotificationConfiguration.

  • object_lock_configuration (Union[IResolvable, None, ObjectLockConfigurationProperty]) – AWS::S3::Bucket.ObjectLockConfiguration.

  • object_lock_enabled (Union[bool, None, IResolvable]) – AWS::S3::Bucket.ObjectLockEnabled.

  • public_access_block_configuration (Union[IResolvable, None, PublicAccessBlockConfigurationProperty]) – AWS::S3::Bucket.PublicAccessBlockConfiguration.

  • replication_configuration (Union[IResolvable, None, ReplicationConfigurationProperty]) – AWS::S3::Bucket.ReplicationConfiguration.

  • tags (Optional[List[CfnTag]]) – AWS::S3::Bucket.Tags.

  • versioning_configuration (Union[IResolvable, None, VersioningConfigurationProperty]) – AWS::S3::Bucket.VersioningConfiguration.

  • website_configuration (Union[IResolvable, None, WebsiteConfigurationProperty]) – AWS::S3::Bucket.WebsiteConfiguration.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html

Attributes

accelerate_configuration

AWS::S3::Bucket.AccelerateConfiguration.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-accelerateconfiguration

Return type

Union[AccelerateConfigurationProperty, None, IResolvable]

access_control

AWS::S3::Bucket.AccessControl.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-accesscontrol

Return type

Optional[str]

analytics_configurations

AWS::S3::Bucket.AnalyticsConfigurations.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-analyticsconfigurations

Return type

Union[IResolvable, None, List[Union[IResolvable, AnalyticsConfigurationProperty]]]

bucket_encryption

AWS::S3::Bucket.BucketEncryption.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-bucketencryption

Return type

Union[IResolvable, None, BucketEncryptionProperty]

bucket_name

AWS::S3::Bucket.BucketName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-name

Return type

Optional[str]

cors_configuration

AWS::S3::Bucket.CorsConfiguration.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-crossoriginconfig

Return type

Union[IResolvable, None, CorsConfigurationProperty]

inventory_configurations

AWS::S3::Bucket.InventoryConfigurations.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-inventoryconfigurations

Return type

Union[IResolvable, None, List[Union[IResolvable, InventoryConfigurationProperty]]]

lifecycle_configuration

AWS::S3::Bucket.LifecycleConfiguration.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-lifecycleconfig

Return type

Union[IResolvable, None, LifecycleConfigurationProperty]

logging_configuration

AWS::S3::Bucket.LoggingConfiguration.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-loggingconfig

Return type

Union[IResolvable, None, LoggingConfigurationProperty]

metrics_configurations

AWS::S3::Bucket.MetricsConfigurations.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-metricsconfigurations

Return type

Union[IResolvable, None, List[Union[IResolvable, MetricsConfigurationProperty]]]

notification_configuration

AWS::S3::Bucket.NotificationConfiguration.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-notification

Return type

Union[IResolvable, None, NotificationConfigurationProperty]

object_lock_configuration

AWS::S3::Bucket.ObjectLockConfiguration.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-objectlockconfiguration

Return type

Union[IResolvable, None, ObjectLockConfigurationProperty]

object_lock_enabled

AWS::S3::Bucket.ObjectLockEnabled.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-objectlockenabled

Return type

Union[bool, None, IResolvable]

public_access_block_configuration

AWS::S3::Bucket.PublicAccessBlockConfiguration.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-publicaccessblockconfiguration

Return type

Union[IResolvable, None, PublicAccessBlockConfigurationProperty]

replication_configuration

AWS::S3::Bucket.ReplicationConfiguration.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-replicationconfiguration

Return type

Union[IResolvable, None, ReplicationConfigurationProperty]

tags

AWS::S3::Bucket.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-tags

Return type

Optional[List[CfnTag]]

versioning_configuration

AWS::S3::Bucket.VersioningConfiguration.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-versioning

Return type

Union[IResolvable, None, VersioningConfigurationProperty]

website_configuration

AWS::S3::Bucket.WebsiteConfiguration.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-websiteconfiguration

Return type

Union[IResolvable, None, WebsiteConfigurationProperty]