{
  "typeName" : "AWS::S3::Bucket",
  "description" : "The ``AWS::S3::Bucket`` resource creates an Amazon S3 bucket in the same AWS Region where you create the AWS CloudFormation stack.\n To control how AWS CloudFormation handles the bucket when the stack is deleted, you can set a deletion policy for your bucket. You can choose to *retain* the bucket or to *delete* the bucket. For more information, see [DeletionPolicy Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html).\n  You can only delete empty buckets. Deletion fails for buckets that have contents.",
  "additionalProperties" : false,
  "properties" : {
    "AccelerateConfiguration" : {
      "$ref" : "#/definitions/AccelerateConfiguration",
      "description" : "Configures the transfer acceleration state for an Amazon S3 bucket. For more information, see [Amazon S3 Transfer Acceleration](https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html) in the *Amazon S3 User Guide*."
    },
    "AccessControl" : {
      "description" : "This is a legacy property, and it is not recommended for most use cases. A majority of modern use cases in Amazon S3 no longer require the use of ACLs, and we recommend that you keep ACLs disabled. For more information, see [Controlling object ownership](https://docs.aws.amazon.com//AmazonS3/latest/userguide/about-object-ownership.html) in the *Amazon S3 User Guide*.\n  A canned access control list (ACL) that grants predefined permissions to the bucket. For more information about canned ACLs, see [Canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) in the *Amazon S3 User Guide*.\n  S3 buckets are created with ACLs disabled by default. Therefore, unless you explicitly set the [AWS::S3::OwnershipControls](https://docs.aws.amazon.com//AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-ownershipcontrols.html) property to enable ACLs, your resource will fail to deploy with any value other than Private. Use cases requiring ACLs are uncommon.\n  The majority of access control configurations can be successfully and more easily achieved with bucket policies. For more information, see [AWS::S3::BucketPolicy](https://docs.aws.amazon.com//AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html). For examples of common policy configurations, including S3 Server Access Logs buckets and more, see [Bucket policy examples](https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html) in the *Amazon S3 User Guide*.",
      "enum" : [ "AuthenticatedRead", "AwsExecRead", "BucketOwnerFullControl", "BucketOwnerRead", "LogDeliveryWrite", "Private", "PublicRead", "PublicReadWrite" ],
      "type" : "string"
    },
    "AnalyticsConfigurations" : {
      "description" : "Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.",
      "items" : {
        "$ref" : "#/definitions/AnalyticsConfiguration"
      },
      "type" : "array",
      "uniqueItems" : true,
      "insertionOrder" : true
    },
    "BucketEncryption" : {
      "$ref" : "#/definitions/BucketEncryption",
      "description" : "Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed keys (SSE-S3), AWS KMS-managed keys (SSE-KMS), or dual-layer server-side encryption with KMS-managed keys (DSSE-KMS). For information about the Amazon S3 default encryption feature, see [Amazon S3 Default Encryption for S3 Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html) in the *Amazon S3 User Guide*."
    },
    "BucketName" : {
      "description" : "A name for the bucket. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the bucket name. The bucket name must contain only lowercase letters, numbers, periods (.), and dashes (-) and must follow [Amazon S3 bucket restrictions and limitations](https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html). For more information, see [Rules for naming Amazon S3 buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html) in the *Amazon S3 User Guide*. \n  If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name.",
      "type" : "string"
    },
    "BucketNamePrefix" : {
      "description" : "",
      "type" : "string"
    },
    "BucketNamespace" : {
      "description" : "",
      "type" : "string",
      "enum" : [ "global", "account-regional" ]
    },
    "CorsConfiguration" : {
      "$ref" : "#/definitions/CorsConfiguration",
      "description" : "Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see [Enabling Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html) in the *Amazon S3 User Guide*."
    },
    "IntelligentTieringConfigurations" : {
      "description" : "Defines how Amazon S3 handles Intelligent-Tiering storage.",
      "items" : {
        "$ref" : "#/definitions/IntelligentTieringConfiguration"
      },
      "type" : "array",
      "uniqueItems" : true,
      "insertionOrder" : true
    },
    "InventoryConfigurations" : {
      "description" : "Specifies the S3 Inventory configuration for an Amazon S3 bucket. For more information, see [GET Bucket inventory](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETInventoryConfig.html) in the *Amazon S3 API Reference*.",
      "items" : {
        "$ref" : "#/definitions/InventoryConfiguration"
      },
      "type" : "array",
      "uniqueItems" : true,
      "insertionOrder" : true
    },
    "LifecycleConfiguration" : {
      "$ref" : "#/definitions/LifecycleConfiguration",
      "description" : "Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more information, see [Object Lifecycle Management](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html) in the *Amazon S3 User Guide*."
    },
    "LoggingConfiguration" : {
      "$ref" : "#/definitions/LoggingConfiguration",
      "description" : "Settings that define where logs are stored."
    },
    "MetricsConfigurations" : {
      "description" : "Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For more information, see [PutBucketMetricsConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTMetricConfiguration.html).",
      "items" : {
        "$ref" : "#/definitions/MetricsConfiguration"
      },
      "type" : "array",
      "uniqueItems" : true,
      "insertionOrder" : true
    },
    "MetadataTableConfiguration" : {
      "$ref" : "#/definitions/MetadataTableConfiguration",
      "description" : "The metadata table configuration of an S3 general purpose bucket."
    },
    "MetadataConfiguration" : {
      "$ref" : "#/definitions/MetadataConfiguration",
      "description" : "The S3 Metadata configuration for a general purpose bucket."
    },
    "NotificationConfiguration" : {
      "$ref" : "#/definitions/NotificationConfiguration",
      "description" : "Configuration that defines how Amazon S3 handles bucket notifications."
    },
    "ObjectLockConfiguration" : {
      "$ref" : "#/definitions/ObjectLockConfiguration",
      "description" : "This operation is not supported for directory buckets.\n  Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see [Locking Objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). \n   +  The ``DefaultRetention`` settings require both a mode and a period.\n  +  The ``DefaultRetention`` period can be either ``Days`` or ``Years`` but you must select one. You cannot specify ``Days`` and ``Years`` at the same time.\n  +  You can enable Object Lock for new or existing buckets. For more information, see [Configuring Object Lock](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-configure.html).\n  \n   You must URL encode any signed header values that contain spaces. For example, if your header value is ``my file.txt``, containing two spaces after ``my``, you must URL encode this value to ``my%20%20file.txt``."
    },
    "ObjectLockEnabled" : {
      "description" : "Indicates whether this bucket has an Object Lock configuration enabled. Enable ``ObjectLockEnabled`` when you apply ``ObjectLockConfiguration`` to a bucket.",
      "type" : "boolean"
    },
    "OwnershipControls" : {
      "description" : "Configuration that defines how Amazon S3 handles Object Ownership rules.",
      "$ref" : "#/definitions/OwnershipControls"
    },
    "PublicAccessBlockConfiguration" : {
      "$ref" : "#/definitions/PublicAccessBlockConfiguration",
      "description" : "Configuration that defines how Amazon S3 handles public access."
    },
    "ReplicationConfiguration" : {
      "$ref" : "#/definitions/ReplicationConfiguration",
      "description" : "Configuration for replicating objects in an S3 bucket. To enable replication, you must also enable versioning by using the ``VersioningConfiguration`` property.\n Amazon S3 can store replicated objects in a single destination bucket or multiple destination buckets. The destination bucket or buckets must already exist."
    },
    "Tags" : {
      "description" : "An arbitrary set of tags (key-value pairs) for this S3 bucket.",
      "insertionOrder" : false,
      "items" : {
        "$ref" : "#/definitions/Tag"
      },
      "type" : "array"
    },
    "AbacStatus" : {
      "description" : "The ABAC status of the general purpose bucket. When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see [Using tags with S3 general purpose buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging.html).",
      "enum" : [ "Enabled", "Disabled" ],
      "type" : "string"
    },
    "VersioningConfiguration" : {
      "$ref" : "#/definitions/VersioningConfiguration",
      "description" : "Enables multiple versions 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.\n  When you enable versioning on a bucket for the first time, it might take a short amount of time for the change to be fully propagated. We recommend that you wait for 15 minutes after enabling versioning before issuing write operations (``PUT`` or ``DELETE``) on objects in the bucket."
    },
    "WebsiteConfiguration" : {
      "$ref" : "#/definitions/WebsiteConfiguration",
      "description" : "Information used to configure the bucket as a static website. For more information, see [Hosting Websites on Amazon S3](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html)."
    },
    "Arn" : {
      "$ref" : "#/definitions/Arn",
      "description" : "",
      "examples" : [ "arn:aws:s3:::mybucket" ]
    },
    "DomainName" : {
      "description" : "",
      "examples" : [ "mystack-mybucket-kdwwxmddtr2g.s3.amazonaws.com" ],
      "type" : "string"
    },
    "DualStackDomainName" : {
      "description" : "",
      "examples" : [ "mystack-mybucket-kdwwxmddtr2g.s3.dualstack.us-east-2.amazonaws.com" ],
      "type" : "string"
    },
    "RegionalDomainName" : {
      "description" : "",
      "examples" : [ "mystack-mybucket-kdwwxmddtr2g.s3.us-east-2.amazonaws.com" ],
      "type" : "string"
    },
    "WebsiteURL" : {
      "description" : "",
      "examples" : [ "Example (IPv4): http://mystack-mybucket-kdwwxmddtr2g.s3-website-us-east-2.amazonaws.com/", "Example (IPv6): http://mystack-mybucket-kdwwxmddtr2g.s3.dualstack.us-east-2.amazonaws.com/" ],
      "format" : "uri",
      "type" : "string"
    }
  },
  "definitions" : {
    "TagFilter" : {
      "description" : "Specifies tags to use to identify a subset of objects for an Amazon S3 bucket. For more information, see [Categorizing your storage using tags](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html) in the *Amazon Simple Storage Service User Guide*.",
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Value" : {
          "type" : "string",
          "description" : "The tag value."
        },
        "Key" : {
          "type" : "string",
          "description" : "The tag key."
        }
      },
      "required" : [ "Value", "Key" ]
    },
    "Destination" : {
      "description" : "Specifies information about where to publish analysis or configuration results for an Amazon S3 bucket.",
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "BucketArn" : {
          "description" : "The Amazon Resource Name (ARN) of the bucket to which data is exported.",
          "type" : "string"
        },
        "BucketAccountId" : {
          "description" : "The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.\n   Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.",
          "type" : "string"
        },
        "Format" : {
          "description" : "Specifies the file format used when exporting data to Amazon S3.\n *Allowed values*: ``CSV`` | ``ORC`` | ``Parquet``",
          "type" : "string",
          "enum" : [ "CSV", "ORC", "Parquet" ]
        },
        "Prefix" : {
          "description" : "The prefix to use when exporting data. The prefix is prepended to all results.",
          "type" : "string"
        }
      },
      "required" : [ "BucketArn", "Format" ]
    },
    "AccelerateConfiguration" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "AccelerationStatus" : {
          "description" : "Specifies the transfer acceleration status of the bucket.",
          "type" : "string",
          "enum" : [ "Enabled", "Suspended" ]
        }
      },
      "required" : [ "AccelerationStatus" ],
      "description" : "Configures the transfer acceleration state for an Amazon S3 bucket. For more information, see [Amazon S3 Transfer Acceleration](https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html) in the *Amazon S3 User Guide*."
    },
    "AnalyticsConfiguration" : {
      "description" : "Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.",
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "TagFilters" : {
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "$ref" : "#/definitions/TagFilter"
          },
          "description" : "The tags to use when evaluating an analytics filter.\n The analytics only includes objects that meet the filter's criteria. If no filter is specified, all of the contents of the bucket are included in the analysis."
        },
        "StorageClassAnalysis" : {
          "$ref" : "#/definitions/StorageClassAnalysis",
          "description" : "Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes."
        },
        "Id" : {
          "description" : "The ID that identifies the analytics configuration.",
          "type" : "string"
        },
        "Prefix" : {
          "description" : "The prefix that an object must have to be included in the analytics results.",
          "type" : "string"
        }
      },
      "required" : [ "StorageClassAnalysis", "Id" ]
    },
    "StorageClassAnalysis" : {
      "description" : "Specifies data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes for an Amazon S3 bucket.",
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "DataExport" : {
          "$ref" : "#/definitions/DataExport",
          "description" : "Specifies how data related to the storage class analysis for an Amazon S3 bucket should be exported."
        }
      }
    },
    "DataExport" : {
      "description" : "Specifies how data related to the storage class analysis for an Amazon S3 bucket should be exported.",
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Destination" : {
          "$ref" : "#/definitions/Destination",
          "description" : "The place to store the data for an analysis."
        },
        "OutputSchemaVersion" : {
          "description" : "The version of the output schema to use when exporting data. Must be ``V_1``.",
          "type" : "string",
          "const" : "V_1"
        }
      },
      "required" : [ "Destination", "OutputSchemaVersion" ]
    },
    "BucketEncryption" : {
      "description" : "Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed keys (SSE-S3), AWS KMS-managed keys (SSE-KMS), or dual-layer server-side encryption with KMS-managed keys (DSSE-KMS). For information about the Amazon S3 default encryption feature, see [Amazon S3 Default Encryption for S3 Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html) in the *Amazon S3 User Guide*.",
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "ServerSideEncryptionConfiguration" : {
          "description" : "Specifies the default server-side-encryption configuration.",
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "$ref" : "#/definitions/ServerSideEncryptionRule"
          }
        }
      },
      "required" : [ "ServerSideEncryptionConfiguration" ]
    },
    "ServerSideEncryptionRule" : {
      "description" : "Specifies the default server-side encryption configuration.\n   +  *General purpose buckets* - If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner.\n  +  *Directory buckets* - When you specify an [customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) for encryption in your directory bucket, only use the key ID or key ARN. The key alias format of the KMS key isn't supported.",
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "BucketKeyEnabled" : {
          "description" : "Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Setting the ``BucketKeyEnabled`` element to ``true`` causes Amazon S3 to use an S3 Bucket Key. By default, S3 Bucket Key is not enabled.\n For more information, see [Amazon S3 Bucket Keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html) in the *Amazon S3 User Guide*.",
          "type" : "boolean"
        },
        "ServerSideEncryptionByDefault" : {
          "$ref" : "#/definitions/ServerSideEncryptionByDefault",
          "description" : "Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied."
        },
        "BlockedEncryptionTypes" : {
          "$ref" : "#/definitions/BlockedEncryptionTypes",
          "description" : "A bucket-level setting for Amazon S3 general purpose buckets used to prevent the upload of new objects encrypted with the specified server-side encryption type. For example, blocking an encryption type will block ``PutObject``, ``CopyObject``, ``PostObject``, multipart upload, and replication requests to the bucket for objects with the specified encryption type. However, you can continue to read and list any pre-existing objects already encrypted with the specified encryption type. For more information, see [Blocking or unblocking SSE-C for a general purpose bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html).\n  Currently, this parameter only supports blocking or unblocking server-side encryption with customer-provided keys (SSE-C). For more information about SSE-C, see [Using server-side encryption with customer-provided keys (SSE-C)](https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html)."
        }
      }
    },
    "ServerSideEncryptionByDefault" : {
      "description" : "Describes the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied. For more information, see [PutBucketEncryption](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTencryption.html).\n   +  *General purpose buckets* - If you don't specify a customer managed key at configuration, Amazon S3 automatically creates an AWS KMS key (``aws/s3``) in your AWS account the first time that you add an object encrypted with SSE-KMS to a bucket. By default, Amazon S3 uses this KMS key for SSE-KMS. \n  +  *Directory buckets* - Your SSE-KMS configuration can only support 1 [customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) per directory bucket's lifetime. The [managed key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk) (``aws/s3``) isn't supported. \n  +  *Directory buckets* - For directory buckets, there are only two supported options for server-side encryption: SSE-S3 and SSE-KMS.",
      "type" : "object",
      "properties" : {
        "KMSMasterKeyID" : {
          "description" : "AWS Key Management Service (KMS) customer managed key ID to use for the default encryption. \n   +  *General purpose buckets* - This parameter is allowed if and only if ``SSEAlgorithm`` is set to ``aws:kms`` or ``aws:kms:dsse``.\n  +  *Directory buckets* - This parameter is allowed if and only if ``SSEAlgorithm`` is set to ``aws:kms``.\n  \n  You can specify the key ID, key alias, or the Amazon Resource Name (ARN) of the KMS key.\n  +  Key ID: ``1234abcd-12ab-34cd-56ef-1234567890ab``\n  +  Key ARN: ``arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab``\n  +  Key Alias: ``alias/alias-name``\n  \n If you are using encryption with cross-account or AWS service operations, you must use a fully qualified KMS key ARN. For more information, see [Using encryption for cross-account operations](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html#bucket-encryption-update-bucket-policy).\n   +  *General purpose buckets* - If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner. Also, if you use a key ID, you can run into a LogDestination undeliverable error when creating a VPC flow log. \n  +  *Directory buckets* - When you specify an [customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) for encryption in your directory bucket, only use the key ID or key ARN. The key alias format of the KMS key isn't supported.\n  \n   Amazon S3 only supports symmetric encryption KMS keys. For more information, see [Asymmetric keys in KMS](https://docs.aws.amazon.com//kms/latest/developerguide/symmetric-asymmetric.html) in the *Key Management Service Developer Guide*.",
          "type" : "string"
        },
        "SSEAlgorithm" : {
          "type" : "string",
          "enum" : [ "aws:kms", "AES256", "aws:kms:dsse" ],
          "description" : "Server-side encryption algorithm to use for the default encryption.\n  For directory buckets, there are only two supported values for server-side encryption: ``AES256`` and ``aws:kms``."
        }
      },
      "additionalProperties" : false,
      "required" : [ "SSEAlgorithm" ]
    },
    "BlockedEncryptionTypes" : {
      "description" : "A bucket-level setting for Amazon S3 general purpose buckets used to prevent the upload of new objects encrypted with the specified server-side encryption type. For example, blocking an encryption type will block ``PutObject``, ``CopyObject``, ``PostObject``, multipart upload, and replication requests to the bucket for objects with the specified encryption type. However, you can continue to read and list any pre-existing objects already encrypted with the specified encryption type. For more information, see [Blocking or unblocking SSE-C for a general purpose bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html).\n This data type is used with the following actions:\n  +   [PutBucketEncryption](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html) \n  +   [GetBucketEncryption](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html) \n  +   [DeleteBucketEncryption](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html) \n  \n  + Permissions You must have the s3:PutEncryptionConfiguration permission to block or unblock an encryption type for a bucket. You must have the s3:GetEncryptionConfiguration permission to view a bucket's encryption type.",
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "EncryptionType" : {
          "$ref" : "#/definitions/BlockedEncryptionTypeList",
          "description" : "The object encryption type that you want to block or unblock for an Amazon S3 general purpose bucket.\n  Currently, this parameter only supports blocking or unblocking server side encryption with customer-provided keys (SSE-C). For more information about SSE-C, see [Using server-side encryption with customer-provided keys (SSE-C)](https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html)."
        }
      }
    },
    "BlockedEncryptionTypeList" : {
      "description" : "List of encryption types.",
      "type" : "array",
      "items" : {
        "type" : "string",
        "enum" : [ "NONE", "SSE-C" ]
      },
      "uniqueItems" : true,
      "insertionOrder" : true
    },
    "CorsConfiguration" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "CorsRules" : {
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "$ref" : "#/definitions/CorsRule",
            "maxLength" : 100
          },
          "description" : "A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration."
        }
      },
      "required" : [ "CorsRules" ],
      "description" : "Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see [Enabling Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html) in the *Amazon S3 User Guide*."
    },
    "CorsRule" : {
      "type" : "object",
      "description" : "Specifies a cross-origin access rule for an Amazon S3 bucket.",
      "additionalProperties" : false,
      "properties" : {
        "AllowedHeaders" : {
          "description" : "Headers that are specified in the ``Access-Control-Request-Headers`` header. These headers are allowed in a preflight OPTIONS request. In response to any preflight OPTIONS request, Amazon S3 returns any requested headers that are allowed.",
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "type" : "string"
          }
        },
        "AllowedMethods" : {
          "description" : "An HTTP method that you allow the origin to run.\n *Allowed values*: ``GET`` | ``PUT`` | ``HEAD`` | ``POST`` | ``DELETE``",
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "type" : "string",
            "enum" : [ "GET", "PUT", "HEAD", "POST", "DELETE" ]
          }
        },
        "AllowedOrigins" : {
          "description" : "One or more origins you want customers to be able to access the bucket from.",
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "type" : "string"
          }
        },
        "ExposedHeaders" : {
          "description" : "One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript ``XMLHttpRequest`` object).",
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "type" : "string"
          }
        },
        "Id" : {
          "description" : "A unique identifier for this rule. The value must be no more than 255 characters.",
          "type" : "string",
          "maxLength" : 255
        },
        "MaxAge" : {
          "description" : "The time in seconds that your browser is to cache the preflight response for the specified resource.",
          "type" : "integer",
          "minimum" : 0
        }
      },
      "required" : [ "AllowedMethods", "AllowedOrigins" ]
    },
    "IntelligentTieringConfiguration" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Id" : {
          "description" : "The ID used to identify the S3 Intelligent-Tiering configuration.",
          "type" : "string"
        },
        "Prefix" : {
          "description" : "An object key name prefix that identifies the subset of objects to which the rule applies.",
          "type" : "string"
        },
        "Status" : {
          "description" : "Specifies the status of the configuration.",
          "type" : "string",
          "enum" : [ "Disabled", "Enabled" ]
        },
        "TagFilters" : {
          "description" : "A container for a key-value pair.",
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "$ref" : "#/definitions/TagFilter"
          }
        },
        "Tierings" : {
          "description" : "Specifies a list of S3 Intelligent-Tiering storage class tiers in the configuration. At least one tier must be defined in the list. At most, you can specify two tiers in the list, one for each available AccessTier: ``ARCHIVE_ACCESS`` and ``DEEP_ARCHIVE_ACCESS``.\n  You only need Intelligent Tiering Configuration enabled on a bucket if you want to automatically move objects stored in the Intelligent-Tiering storage class to Archive Access or Deep Archive Access tiers.",
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "$ref" : "#/definitions/Tiering"
          }
        }
      },
      "required" : [ "Id", "Status", "Tierings" ],
      "description" : "Specifies the S3 Intelligent-Tiering configuration for an Amazon S3 bucket.\n For information about the S3 Intelligent-Tiering storage class, see [Storage class for automatically optimizing frequently and infrequently accessed objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access)."
    },
    "Tiering" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "AccessTier" : {
          "description" : "S3 Intelligent-Tiering access tier. See [Storage class for automatically optimizing frequently and infrequently accessed objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access) for a list of access tiers in the S3 Intelligent-Tiering storage class.",
          "type" : "string",
          "enum" : [ "ARCHIVE_ACCESS", "DEEP_ARCHIVE_ACCESS" ]
        },
        "Days" : {
          "description" : "The number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier. The minimum number of days specified for Archive Access tier must be at least 90 days and Deep Archive Access tier must be at least 180 days. The maximum can be up to 2 years (730 days).",
          "type" : "integer"
        }
      },
      "required" : [ "AccessTier", "Days" ],
      "description" : "The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without additional operational overhead."
    },
    "InventoryConfiguration" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Destination" : {
          "$ref" : "#/definitions/Destination",
          "description" : "Contains information about where to publish the inventory results."
        },
        "Enabled" : {
          "description" : "Specifies whether the inventory is enabled or disabled. If set to ``True``, an inventory list is generated. If set to ``False``, no inventory list is generated.",
          "type" : "boolean"
        },
        "Id" : {
          "description" : "The ID used to identify the inventory configuration.",
          "type" : "string"
        },
        "IncludedObjectVersions" : {
          "description" : "Object versions to include in the inventory list. If set to ``All``, the list includes all the object versions, which adds the version-related fields ``VersionId``, ``IsLatest``, and ``DeleteMarker`` to the list. If set to ``Current``, the list does not contain these version-related fields.",
          "type" : "string",
          "enum" : [ "All", "Current" ]
        },
        "OptionalFields" : {
          "description" : "Contains the optional fields that are included in the inventory results.",
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "type" : "string",
            "enum" : [ "Size", "LastModifiedDate", "StorageClass", "ETag", "IsMultipartUploaded", "ReplicationStatus", "EncryptionStatus", "ObjectLockRetainUntilDate", "ObjectLockMode", "ObjectLockLegalHoldStatus", "IntelligentTieringAccessTier", "BucketKeyStatus", "ChecksumAlgorithm", "ObjectAccessControlList", "ObjectOwner", "LifecycleExpirationDate" ]
          }
        },
        "Prefix" : {
          "description" : "Specifies the inventory filter prefix.",
          "type" : "string"
        },
        "ScheduleFrequency" : {
          "description" : "Specifies the schedule for generating inventory results.",
          "type" : "string",
          "enum" : [ "Daily", "Weekly" ]
        }
      },
      "required" : [ "Destination", "Enabled", "Id", "IncludedObjectVersions", "ScheduleFrequency" ],
      "description" : "Specifies the S3 Inventory configuration for an Amazon S3 bucket. For more information, see [GET Bucket inventory](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETInventoryConfig.html) in the *Amazon S3 API Reference*."
    },
    "LifecycleConfiguration" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Rules" : {
          "description" : "A lifecycle rule for individual objects in an Amazon S3 bucket.",
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "$ref" : "#/definitions/Rule"
          }
        },
        "TransitionDefaultMinimumObjectSize" : {
          "description" : "Indicates which default minimum object size behavior is applied to the lifecycle configuration.\n  This parameter applies to general purpose buckets only. It isn't supported for directory bucket lifecycle configurations.\n   +  ``all_storage_classes_128K`` - Objects smaller than 128 KB will not transition to any storage class by default.\n  +  ``varies_by_storage_class`` - Objects smaller than 128 KB will transition to Glacier Flexible Retrieval or Glacier Deep Archive storage classes. By default, all other storage classes will prevent transitions smaller than 128 KB. \n  \n To customize the minimum object size for any transition you can add a filter that specifies a custom ``ObjectSizeGreaterThan`` or ``ObjectSizeLessThan`` in the body of your transition rule. Custom filters always take precedence over the default transition behavior.",
          "type" : "string",
          "enum" : [ "varies_by_storage_class", "all_storage_classes_128K" ]
        }
      },
      "required" : [ "Rules" ],
      "description" : "Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more information, see [Object Lifecycle Management](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html) in the *Amazon S3 User Guide*."
    },
    "Rule" : {
      "type" : "object",
      "description" : "Specifies lifecycle rules for an Amazon S3 bucket. For more information, see [Put Bucket Lifecycle Configuration](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlifecycle.html) in the *Amazon S3 API Reference*.\n You must specify at least one of the following properties: ``AbortIncompleteMultipartUpload``, ``ExpirationDate``, ``ExpirationInDays``, ``NoncurrentVersionExpirationInDays``, ``NoncurrentVersionTransition``, ``NoncurrentVersionTransitions``, ``Transition``, or ``Transitions``.",
      "additionalProperties" : false,
      "properties" : {
        "AbortIncompleteMultipartUpload" : {
          "$ref" : "#/definitions/AbortIncompleteMultipartUpload",
          "description" : "Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3 bucket."
        },
        "ExpirationDate" : {
          "$ref" : "#/definitions/iso8601UTC",
          "description" : "Indicates when objects are deleted from Amazon S3 and Amazon S3 Glacier. The date value must be in ISO 8601 format. The time is always midnight UTC. If you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time."
        },
        "ExpirationInDays" : {
          "type" : "integer",
          "description" : "Indicates the number of days after creation when objects are deleted from Amazon S3 and Amazon S3 Glacier. If you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time."
        },
        "ExpiredObjectDeleteMarker" : {
          "type" : "boolean",
          "description" : "Indicates whether Amazon S3 will remove a delete marker without any noncurrent versions. If set to true, the delete marker will be removed if there are no noncurrent versions. This cannot be specified with ``ExpirationInDays``, ``ExpirationDate``, or ``TagFilters``."
        },
        "Id" : {
          "type" : "string",
          "maxLength" : 255,
          "description" : "Unique identifier for the rule. The value can't be longer than 255 characters."
        },
        "NoncurrentVersionExpirationInDays" : {
          "type" : "integer",
          "description" : "(Deprecated.) For buckets with versioning enabled (or suspended), specifies the time, in days, between when a new version of the object is uploaded to the bucket and when old versions of the object expire. When object versions expire, Amazon S3 permanently deletes them. If you specify a transition and expiration time, the expiration time must be later than the transition time."
        },
        "NoncurrentVersionExpiration" : {
          "$ref" : "#/definitions/NoncurrentVersionExpiration",
          "description" : "Specifies when noncurrent object versions expire. Upon expiration, S3 permanently deletes the noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that S3 delete noncurrent object versions at a specific period in the object's lifetime."
        },
        "NoncurrentVersionTransition" : {
          "$ref" : "#/definitions/NoncurrentVersionTransition",
          "description" : "(Deprecated.) For buckets with versioning enabled (or suspended), specifies when non-current objects transition to a specified storage class. If you specify a transition and expiration time, the expiration time must be later than the transition time. If you specify this property, don't specify the ``NoncurrentVersionTransitions`` property."
        },
        "NoncurrentVersionTransitions" : {
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "$ref" : "#/definitions/NoncurrentVersionTransition"
          },
          "description" : "For buckets with versioning enabled (or suspended), one or more transition rules that specify when non-current objects transition to a specified storage class. If you specify a transition and expiration time, the expiration time must be later than the transition time. If you specify this property, don't specify the ``NoncurrentVersionTransition`` property."
        },
        "Prefix" : {
          "type" : "string",
          "description" : "Object key prefix that identifies one or more objects to which this rule applies.\n  Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see [XML related object key constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints)."
        },
        "Status" : {
          "type" : "string",
          "enum" : [ "Enabled", "Disabled" ],
          "description" : "If ``Enabled``, the rule is currently being applied. If ``Disabled``, the rule is not currently being applied."
        },
        "TagFilters" : {
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "$ref" : "#/definitions/TagFilter"
          },
          "description" : "Tags to use to identify a subset of objects to which the lifecycle rule applies."
        },
        "ObjectSizeGreaterThan" : {
          "type" : "string",
          "maxLength" : 20,
          "pattern" : "[0-9]+",
          "description" : "Specifies the minimum object size in bytes for this rule to apply to. Objects must be larger than this value in bytes. For more information about size based rules, see [Lifecycle configuration using size-based rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configuration-examples.html#lc-size-rules) in the *Amazon S3 User Guide*."
        },
        "ObjectSizeLessThan" : {
          "type" : "string",
          "maxLength" : 20,
          "pattern" : "[0-9]+",
          "description" : "Specifies the maximum object size in bytes for this rule to apply to. Objects must be smaller than this value in bytes. For more information about sized based rules, see [Lifecycle configuration using size-based rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configuration-examples.html#lc-size-rules) in the *Amazon S3 User Guide*."
        },
        "Transition" : {
          "$ref" : "#/definitions/Transition",
          "description" : "(Deprecated.) Specifies when an object transitions to a specified storage class. If you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time. If you specify this property, don't specify the ``Transitions`` property."
        },
        "Transitions" : {
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "$ref" : "#/definitions/Transition"
          },
          "description" : "One or more transition rules that specify when an object transitions to a specified storage class. If you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time. If you specify this property, don't specify the ``Transition`` property."
        }
      },
      "required" : [ "Status" ]
    },
    "AbortIncompleteMultipartUpload" : {
      "description" : "Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload. For more information, see [Stopping Incomplete Multipart Uploads Using a Bucket Lifecycle Policy](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config) in the *Amazon S3 User Guide*.",
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "DaysAfterInitiation" : {
          "description" : "Specifies the number of days after which Amazon S3 stops an incomplete multipart upload.",
          "type" : "integer",
          "minimum" : 0
        }
      },
      "required" : [ "DaysAfterInitiation" ]
    },
    "iso8601UTC" : {
      "description" : "The date value in ISO 8601 format. The timezone is always UTC. (YYYY-MM-DDThh:mm:ssZ)",
      "type" : "string",
      "pattern" : "^(\\d{4})-(0[0-9]|1[0-2])-([0-2]\\d|3[01])T([01]\\d|2[0-4]):([0-5]\\d):([0-6]\\d)((\\.\\d{3})?)Z$"
    },
    "NoncurrentVersionExpiration" : {
      "type" : "object",
      "description" : "Specifies when noncurrent object versions expire. Upon expiration, S3 permanently deletes the noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that S3 delete noncurrent object versions at a specific period in the object's lifetime. For more information about setting a lifecycle rule configuration, see [AWS::S3::Bucket Rule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html).",
      "additionalProperties" : false,
      "properties" : {
        "NoncurrentDays" : {
          "description" : "Specifies the number of days an object is noncurrent before S3 can perform the associated action. For information about the noncurrent days calculations, see [How Amazon S3 Calculates When an Object Became Noncurrent](https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations) in the *Amazon S3 User Guide*.",
          "type" : "integer"
        },
        "NewerNoncurrentVersions" : {
          "description" : "Specifies how many noncurrent versions S3 will retain. If there are this many more recent noncurrent versions, S3 will take the associated action. For more information about noncurrent versions, see [Lifecycle configuration elements](https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html) in the *Amazon S3 User Guide*.",
          "type" : "integer"
        }
      },
      "required" : [ "NoncurrentDays" ]
    },
    "NoncurrentVersionTransition" : {
      "type" : "object",
      "description" : "Container for the transition rule that describes when noncurrent objects transition to the ``STANDARD_IA``, ``ONEZONE_IA``, ``INTELLIGENT_TIERING``, ``GLACIER_IR``, ``GLACIER``, or ``DEEP_ARCHIVE`` storage class. If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to the ``STANDARD_IA``, ``ONEZONE_IA``, ``INTELLIGENT_TIERING``, ``GLACIER_IR``, ``GLACIER``, or ``DEEP_ARCHIVE`` storage class at a specific period in the object's lifetime. If you specify this property, don't specify the ``NoncurrentVersionTransitions`` property.",
      "additionalProperties" : false,
      "properties" : {
        "StorageClass" : {
          "description" : "The class of storage used to store the object.",
          "type" : "string",
          "enum" : [ "DEEP_ARCHIVE", "GLACIER", "Glacier", "GLACIER_IR", "INTELLIGENT_TIERING", "ONEZONE_IA", "STANDARD_IA" ]
        },
        "TransitionInDays" : {
          "description" : "Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see [How Amazon S3 Calculates How Long an Object Has Been Noncurrent](https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations) in the *Amazon S3 User Guide*.",
          "type" : "integer"
        },
        "NewerNoncurrentVersions" : {
          "description" : "Specifies how many noncurrent versions S3 will retain. If there are this many more recent noncurrent versions, S3 will take the associated action. For more information about noncurrent versions, see [Lifecycle configuration elements](https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html) in the *Amazon S3 User Guide*.",
          "type" : "integer"
        }
      },
      "required" : [ "StorageClass", "TransitionInDays" ]
    },
    "Transition" : {
      "type" : "object",
      "properties" : {
        "StorageClass" : {
          "type" : "string",
          "enum" : [ "DEEP_ARCHIVE", "GLACIER", "Glacier", "GLACIER_IR", "INTELLIGENT_TIERING", "ONEZONE_IA", "STANDARD_IA" ],
          "description" : "The storage class to which you want the object to transition."
        },
        "TransitionDate" : {
          "$ref" : "#/definitions/iso8601UTC",
          "description" : "Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC."
        },
        "TransitionInDays" : {
          "type" : "integer",
          "description" : "Indicates the number of days after creation when objects are transitioned to the specified storage class. If the specified storage class is ``INTELLIGENT_TIERING``, ``GLACIER_IR``, ``GLACIER``, or ``DEEP_ARCHIVE``, valid values are ``0`` or positive integers. If the specified storage class is ``STANDARD_IA`` or ``ONEZONE_IA``, valid values are positive integers greater than ``30``. Be aware that some storage classes have a minimum storage duration and that you're charged for transitioning objects before their minimum storage duration. For more information, see [Constraints and considerations for transitions](https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-transition-general-considerations.html#lifecycle-configuration-constraints) in the *Amazon S3 User Guide*."
        }
      },
      "additionalProperties" : false,
      "description" : "Specifies when an object transitions to a specified storage class. For more information about Amazon S3 lifecycle configuration rules, see [Transitioning Objects Using Amazon S3 Lifecycle](https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html) in the *Amazon S3 User Guide*.",
      "required" : [ "StorageClass" ]
    },
    "LoggingConfiguration" : {
      "type" : "object",
      "properties" : {
        "DestinationBucketName" : {
          "type" : "string",
          "description" : "The name of the bucket where Amazon S3 should store server access log files. You can store log files in any bucket that you own. By default, logs are stored in the bucket where the ``LoggingConfiguration`` property is defined."
        },
        "LogFilePrefix" : {
          "type" : "string",
          "description" : "A prefix for all log object keys. If you store log files from multiple Amazon S3 buckets in a single bucket, you can use a prefix to distinguish which log files came from which bucket."
        },
        "TargetObjectKeyFormat" : {
          "$ref" : "#/definitions/TargetObjectKeyFormat",
          "description" : "Amazon S3 key format for log objects. Only one format, either PartitionedPrefix or SimplePrefix, is allowed."
        }
      },
      "additionalProperties" : false,
      "description" : "Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for a bucket. For examples and more information, see [PUT Bucket logging](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html) in the *Amazon S3 API Reference*.\n  To successfully complete the ``AWS::S3::Bucket LoggingConfiguration`` request, you must have ``s3:PutObject`` and ``s3:PutObjectAcl`` in your IAM permissions."
    },
    "TargetObjectKeyFormat" : {
      "type" : "object",
      "description" : "Describes the key format for server access log file in the target bucket. You can choose between SimplePrefix and PartitionedPrefix.",
      "oneOf" : [ {
        "additionalProperties" : false,
        "properties" : {
          "SimplePrefix" : {
            "description" : "This format defaults the prefix to the given log file prefix for delivering server access log file.",
            "type" : "object",
            "additionalProperties" : false
          }
        },
        "required" : [ "SimplePrefix" ]
      }, {
        "additionalProperties" : false,
        "properties" : {
          "PartitionedPrefix" : {
            "$ref" : "#/definitions/PartitionedPrefix"
          }
        },
        "required" : [ "PartitionedPrefix" ]
      } ]
    },
    "PartitionedPrefix" : {
      "type" : "object",
      "description" : "Amazon S3 keys for log objects are partitioned in the following format:\n  ``[DestinationPrefix][SourceAccountId]/[SourceRegion]/[SourceBucket]/[YYYY]/[MM]/[DD]/[YYYY]-[MM]-[DD]-[hh]-[mm]-[ss]-[UniqueString]`` \n PartitionedPrefix defaults to EventTime delivery when server access logs are delivered.",
      "properties" : {
        "PartitionDateSource" : {
          "type" : "string",
          "description" : "Specifies the partition date source for the partitioned prefix. ``PartitionDateSource`` can be ``EventTime`` or ``DeliveryTime``.\n For ``DeliveryTime``, the time in the log file names corresponds to the delivery time for the log files. \n  For ``EventTime``, The logs delivered are for a specific day only. The year, month, and day correspond to the day on which the event occurred, and the hour, minutes and seconds are set to 00 in the key.",
          "enum" : [ "EventTime", "DeliveryTime" ]
        }
      },
      "additionalProperties" : false
    },
    "MetricsConfiguration" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "AccessPointArn" : {
          "type" : "string",
          "description" : "The access point that was used while performing operations on the object. The metrics configuration only includes objects that meet the filter's criteria."
        },
        "Id" : {
          "type" : "string",
          "description" : "The ID used to identify the metrics configuration. This can be any value you choose that helps you identify your metrics configuration."
        },
        "Prefix" : {
          "type" : "string",
          "description" : "The prefix that an object must have to be included in the metrics results."
        },
        "TagFilters" : {
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "$ref" : "#/definitions/TagFilter"
          },
          "description" : "Specifies a list of tag filters to use as a metrics configuration filter. The metrics configuration includes only objects that meet the filter's criteria."
        }
      },
      "required" : [ "Id" ],
      "description" : "Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For examples, see [AWS::S3::Bucket](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#aws-properties-s3-bucket--examples). For more information, see [PUT Bucket metrics](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTMetricConfiguration.html) in the *Amazon S3 API Reference*."
    },
    "NotificationConfiguration" : {
      "description" : "Describes the notification configuration for an Amazon S3 bucket.\n  If you create the target resource and related permissions in the same template, you might have a circular dependency.\n For example, you might use the ``AWS::Lambda::Permission`` resource to grant the bucket permission to invoke an AWS Lambda function. However, AWS CloudFormation can't create the bucket until the bucket has permission to invoke the function (AWS CloudFormation checks whether the bucket can invoke the function). If you're using Refs to pass the bucket name, this leads to a circular dependency.\n To avoid this dependency, you can create all resources without specifying the notification configuration. Then, update the stack with a notification configuration.\n For more information on permissions, see [AWS::Lambda::Permission](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html) and [Granting Permissions to Publish Event Notification Messages to a Destination](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#grant-destinations-permissions-to-s3).",
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "EventBridgeConfiguration" : {
          "$ref" : "#/definitions/EventBridgeConfiguration",
          "description" : "Enables delivery of events to Amazon EventBridge."
        },
        "LambdaConfigurations" : {
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "$ref" : "#/definitions/LambdaConfiguration"
          },
          "description" : "Describes the LAMlong functions to invoke and the events for which to invoke them."
        },
        "QueueConfigurations" : {
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "$ref" : "#/definitions/QueueConfiguration"
          },
          "description" : "The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages."
        },
        "TopicConfigurations" : {
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "$ref" : "#/definitions/TopicConfiguration"
          },
          "description" : "The topic to which notifications are sent and the events for which notifications are generated."
        }
      }
    },
    "EventBridgeConfiguration" : {
      "type" : "object",
      "description" : "Amazon S3 can send events to Amazon EventBridge whenever certain events happen in your bucket, see [Using EventBridge](https://docs.aws.amazon.com/AmazonS3/latest/userguide/EventBridge.html) in the *Amazon S3 User Guide*.\n Unlike other destinations, delivery of events to EventBridge can be either enabled or disabled for a bucket. If enabled, all events will be sent to EventBridge and you can use EventBridge rules to route events to additional targets. For more information, see [What Is Amazon EventBridge](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is.html) in the *Amazon EventBridge User Guide*",
      "additionalProperties" : false,
      "properties" : {
        "EventBridgeEnabled" : {
          "description" : "Enables delivery of events to Amazon EventBridge.",
          "type" : "boolean",
          "default" : "true"
        }
      },
      "required" : [ "EventBridgeEnabled" ]
    },
    "LambdaConfiguration" : {
      "type" : "object",
      "description" : "Describes the LAMlong functions to invoke and the events for which to invoke them.",
      "additionalProperties" : false,
      "properties" : {
        "Event" : {
          "description" : "The Amazon S3 bucket event for which to invoke the LAMlong function. For more information, see [Supported Event Types](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) in the *Amazon S3 User Guide*.",
          "type" : "string"
        },
        "Filter" : {
          "description" : "The filtering rules that determine which objects invoke the AWS Lambda function. For example, you can create a filter so that only image files with a ``.jpg`` extension invoke the function when they are added to the Amazon S3 bucket.",
          "$ref" : "#/definitions/NotificationFilter"
        },
        "Function" : {
          "description" : "The Amazon Resource Name (ARN) of the LAMlong function that Amazon S3 invokes when the specified event type occurs.",
          "type" : "string"
        }
      },
      "required" : [ "Function", "Event" ]
    },
    "QueueConfiguration" : {
      "type" : "object",
      "description" : "Specifies the configuration for publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when Amazon S3 detects specified events.",
      "additionalProperties" : false,
      "properties" : {
        "Event" : {
          "description" : "The Amazon S3 bucket event about which you want to publish messages to Amazon SQS. For more information, see [Supported Event Types](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) in the *Amazon S3 User Guide*.",
          "type" : "string"
        },
        "Filter" : {
          "description" : "The filtering rules that determine which objects trigger notifications. For example, you can create a filter so that Amazon S3 sends notifications only when image files with a ``.jpg`` extension are added to the bucket. For more information, see [Configuring event notifications using object key name filtering](https://docs.aws.amazon.com/AmazonS3/latest/user-guide/notification-how-to-filtering.html) in the *Amazon S3 User Guide*.",
          "$ref" : "#/definitions/NotificationFilter"
        },
        "Queue" : {
          "description" : "The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 publishes a message when it detects events of the specified type. FIFO queues are not allowed when enabling an SQS queue as the event notification destination.",
          "type" : "string"
        }
      },
      "required" : [ "Event", "Queue" ]
    },
    "TopicConfiguration" : {
      "type" : "object",
      "description" : "A container for specifying the configuration for publication of messages to an Amazon Simple Notification Service (Amazon SNS) topic when Amazon S3 detects specified events.",
      "additionalProperties" : false,
      "properties" : {
        "Event" : {
          "description" : "The Amazon S3 bucket event about which to send notifications. For more information, see [Supported Event Types](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) in the *Amazon S3 User Guide*.",
          "type" : "string"
        },
        "Filter" : {
          "description" : "The filtering rules that determine for which objects to send notifications. For example, you can create a filter so that Amazon S3 sends notifications only when image files with a ``.jpg`` extension are added to the bucket.",
          "$ref" : "#/definitions/NotificationFilter"
        },
        "Topic" : {
          "description" : "The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message when it detects events of the specified type.",
          "type" : "string"
        }
      },
      "required" : [ "Event", "Topic" ]
    },
    "NotificationFilter" : {
      "type" : "object",
      "description" : "Specifies object key name filtering rules. For information about key name filtering, see [Configuring event notifications using object key name filtering](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-filtering.html) in the *Amazon S3 User Guide*.",
      "additionalProperties" : false,
      "properties" : {
        "S3Key" : {
          "$ref" : "#/definitions/S3KeyFilter",
          "description" : "A container for object key name prefix and suffix filtering rules."
        }
      },
      "required" : [ "S3Key" ]
    },
    "S3KeyFilter" : {
      "type" : "object",
      "description" : "A container for object key name prefix and suffix filtering rules. For more information about object key name filtering, see [Configuring event notifications using object key name filtering](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-filtering.html) in the *Amazon S3 User Guide*.\n  The same type of filter rule cannot be used more than once. For example, you cannot specify two prefix rules.",
      "additionalProperties" : false,
      "properties" : {
        "Rules" : {
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : false,
          "items" : {
            "$ref" : "#/definitions/FilterRule"
          },
          "description" : "A list of containers for the key-value pair that defines the criteria for the filter rule."
        }
      },
      "required" : [ "Rules" ]
    },
    "FilterRule" : {
      "type" : "object",
      "description" : "Specifies the Amazon S3 object key name to filter on. An object key name is the name assigned to an object in your Amazon S3 bucket. You specify whether to filter on the suffix or prefix of the object key name. A prefix is a specific string of characters at the beginning of an object key name, which you can use to organize objects. For example, you can start the key names of related objects with a prefix, such as ``2023-`` or ``engineering/``. Then, you can use ``FilterRule`` to find objects in a bucket with key names that have the same prefix. A suffix is similar to a prefix, but it is at the end of the object key name instead of at the beginning.",
      "additionalProperties" : false,
      "properties" : {
        "Name" : {
          "type" : "string",
          "maxLength" : 1024,
          "description" : "The object key name prefix or suffix identifying one or more objects to which the filtering rule applies. The maximum length is 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, see [Configuring Event Notifications](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) in the *Amazon S3 User Guide*."
        },
        "Value" : {
          "type" : "string",
          "description" : "The value that the filter searches for in object key names."
        }
      },
      "required" : [ "Value", "Name" ]
    },
    "ObjectLockConfiguration" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "ObjectLockEnabled" : {
          "type" : "string",
          "const" : "Enabled",
          "description" : "Indicates whether this bucket has an Object Lock configuration enabled. Enable ``ObjectLockEnabled`` when you apply ``ObjectLockConfiguration`` to a bucket."
        },
        "Rule" : {
          "$ref" : "#/definitions/ObjectLockRule",
          "description" : "Specifies the Object Lock rule for the specified object. Enable this rule when you apply ``ObjectLockConfiguration`` to a bucket. If Object Lock is turned on, bucket settings require both ``Mode`` and a period of either ``Days`` or ``Years``. You cannot specify ``Days`` and ``Years`` at the same time. For more information, see [ObjectLockRule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-objectlockrule.html) and [DefaultRetention](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-defaultretention.html)."
        }
      },
      "description" : "Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see [Locking Objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html)."
    },
    "ObjectLockRule" : {
      "type" : "object",
      "description" : "Specifies the Object Lock rule for the specified object. Enable the this rule when you apply ``ObjectLockConfiguration`` to a bucket.",
      "additionalProperties" : false,
      "properties" : {
        "DefaultRetention" : {
          "$ref" : "#/definitions/DefaultRetention",
          "description" : "The default Object Lock retention mode and period that you want to apply to new objects placed in the specified bucket. If Object Lock is turned on, bucket settings require both ``Mode`` and a period of either ``Days`` or ``Years``. You cannot specify ``Days`` and ``Years`` at the same time. For more information about allowable values for mode and period, see [DefaultRetention](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-defaultretention.html)."
        }
      }
    },
    "DefaultRetention" : {
      "type" : "object",
      "description" : "The container element for optionally specifying the default Object Lock retention settings for new objects placed in the specified bucket.\n   +  The ``DefaultRetention`` settings require both a mode and a period.\n  +  The ``DefaultRetention`` period can be either ``Days`` or ``Years`` but you must select one. You cannot specify ``Days`` and ``Years`` at the same time.",
      "additionalProperties" : false,
      "properties" : {
        "Years" : {
          "type" : "integer",
          "description" : "The number of years that you want to specify for the default retention period. If Object Lock is turned on, you must specify ``Mode`` and specify either ``Days`` or ``Years``."
        },
        "Days" : {
          "type" : "integer",
          "description" : "The number of days that you want to specify for the default retention period. If Object Lock is turned on, you must specify ``Mode`` and specify either ``Days`` or ``Years``."
        },
        "Mode" : {
          "type" : "string",
          "enum" : [ "COMPLIANCE", "GOVERNANCE" ],
          "description" : "The default Object Lock retention mode you want to apply to new objects placed in the specified bucket. If Object Lock is turned on, you must specify ``Mode`` and specify either ``Days`` or ``Years``."
        }
      }
    },
    "OwnershipControls" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Rules" : {
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "$ref" : "#/definitions/OwnershipControlsRule"
          },
          "description" : "Specifies the container element for Object Ownership rules."
        }
      },
      "required" : [ "Rules" ],
      "description" : "Specifies the container element for Object Ownership rules.\n S3 Object Ownership is an Amazon S3 bucket-level setting that you can use to disable access control lists (ACLs) and take ownership of every object in your bucket, simplifying access management for data stored in Amazon S3. For more information, see [Controlling ownership of objects and disabling ACLs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) in the *Amazon S3 User Guide*."
    },
    "OwnershipControlsRule" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "ObjectOwnership" : {
          "description" : "Specifies an object ownership rule.",
          "type" : "string",
          "enum" : [ "ObjectWriter", "BucketOwnerPreferred", "BucketOwnerEnforced" ]
        }
      },
      "description" : "Specifies an Object Ownership rule.\n S3 Object Ownership is an Amazon S3 bucket-level setting that you can use to disable access control lists (ACLs) and take ownership of every object in your bucket, simplifying access management for data stored in Amazon S3. For more information, see [Controlling ownership of objects and disabling ACLs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) in the *Amazon S3 User Guide*."
    },
    "PublicAccessBlockConfiguration" : {
      "description" : "The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You can enable the configuration options in any combination. Bucket-level settings work alongside account-level settings (which may inherit from organization-level policies). For more information about when Amazon S3 considers a bucket or object public, see [The Meaning of \"Public\"](https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status) in the *Amazon S3 User Guide*.",
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "BlockPublicAcls" : {
          "type" : "boolean",
          "description" : "Specifies whether Amazon S3 should block public access control lists (ACLs) for this bucket and objects in this bucket. Setting this element to ``TRUE`` causes the following behavior:\n  +  PUT Bucket ACL and PUT Object ACL calls fail if the specified ACL is public.\n  +  PUT Object calls fail if the request includes a public ACL.\n  +  PUT Bucket calls fail if the request includes a public ACL.\n  \n Enabling this setting doesn't affect existing policies or ACLs."
        },
        "BlockPublicPolicy" : {
          "type" : "boolean",
          "description" : "Specifies whether Amazon S3 should block public bucket policies for this bucket. Setting this element to ``TRUE`` causes Amazon S3 to reject calls to PUT Bucket policy if the specified bucket policy allows public access. \n Enabling this setting doesn't affect existing bucket policies."
        },
        "IgnorePublicAcls" : {
          "type" : "boolean",
          "description" : "Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket. Setting this element to ``TRUE`` causes Amazon S3 to ignore all public ACLs on this bucket and objects in this bucket.\n Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't prevent new public ACLs from being set."
        },
        "RestrictPublicBuckets" : {
          "type" : "boolean",
          "description" : "Specifies whether Amazon S3 should restrict public bucket policies for this bucket. Setting this element to ``TRUE`` restricts access to this bucket to only AWS-service principals and authorized users within this account if the bucket has a public policy.\n Enabling this setting doesn't affect previously stored bucket policies, except that public and cross-account access within any public bucket policy, including non-public delegation to specific accounts, is blocked."
        }
      }
    },
    "ReplicationConfiguration" : {
      "type" : "object",
      "description" : "A container for replication rules. You can add up to 1,000 rules. The maximum size of a replication configuration is 2 MB. The latest version of the replication configuration XML is V2. For more information about XML V2 replication configurations, see [Replication configuration](https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication-add-config.html) in the *Amazon S3 User Guide*.",
      "additionalProperties" : false,
      "properties" : {
        "Role" : {
          "description" : "The Amazon Resource Name (ARN) of the IAMlong (IAM) role that Amazon S3 assumes when replicating objects. For more information, see [How to Set Up Replication](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html) in the *Amazon S3 User Guide*.",
          "type" : "string"
        },
        "Rules" : {
          "description" : "A container for one or more replication rules. A replication configuration must have at least one rule and can contain a maximum of 1,000 rules.",
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "$ref" : "#/definitions/ReplicationRule",
            "maxLength" : 1000,
            "minLength" : 1
          }
        }
      },
      "required" : [ "Role", "Rules" ]
    },
    "ReplicationRule" : {
      "type" : "object",
      "description" : "Specifies which Amazon S3 objects to replicate and where to store the replicas.",
      "additionalProperties" : false,
      "properties" : {
        "DeleteMarkerReplication" : {
          "$ref" : "#/definitions/DeleteMarkerReplication",
          "description" : "Specifies whether Amazon S3 replicates delete markers. If you specify a ``Filter`` in your replication configuration, you must also include a ``DeleteMarkerReplication`` element. If your ``Filter`` includes a ``Tag`` element, the ``DeleteMarkerReplication````Status`` must be set to Disabled, because Amazon S3 does not support replicating delete markers for tag-based rules. For an example configuration, see [Basic Rule Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-config-min-rule-config). \n For more information about delete marker replication, see [Basic Rule Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/delete-marker-replication.html). \n  If you are using an earlier version of the replication configuration, Amazon S3 handles replication of delete markers differently. For more information, see [Backward Compatibility](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-backward-compat-considerations)."
        },
        "Destination" : {
          "$ref" : "#/definitions/ReplicationDestination",
          "description" : "A container for information about the replication destination and its configurations including enabling the S3 Replication Time Control (S3 RTC)."
        },
        "Filter" : {
          "$ref" : "#/definitions/ReplicationRuleFilter",
          "description" : "A filter that identifies the subset of objects to which the replication rule applies. A ``Filter`` must specify exactly one ``Prefix``, ``TagFilter``, or an ``And`` child element. The use of the filter field indicates that this is a V2 replication configuration. This field isn't supported in a V1 replication configuration.\n  V1 replication configuration only supports filtering by key prefix. To filter using a V1 replication configuration, add the ``Prefix`` directly as a child element of the ``Rule`` element."
        },
        "Id" : {
          "description" : "A unique identifier for the rule. The maximum value is 255 characters. If you don't specify a value, AWS CloudFormation generates a random ID. When using a V2 replication configuration this property is capitalized as \"ID\".",
          "type" : "string",
          "maxLength" : 255
        },
        "Prefix" : {
          "description" : "An object key name prefix that identifies the object or objects to which the rule applies. The maximum prefix length is 1,024 characters. To include all objects in a bucket, specify an empty string. To filter using a V1 replication configuration, add the ``Prefix`` directly as a child element of the ``Rule`` element.\n  Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see [XML related object key constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints).",
          "type" : "string",
          "maxLength" : 1024
        },
        "Priority" : {
          "type" : "integer",
          "description" : "The priority indicates which rule has precedence whenever two or more replication rules conflict. Amazon S3 will attempt to replicate objects according to all replication rules. However, if there are two or more rules with the same destination bucket, then objects will be replicated according to the rule with the highest priority. The higher the number, the higher the priority. \n For more information, see [Replication](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html) in the *Amazon S3 User Guide*."
        },
        "SourceSelectionCriteria" : {
          "$ref" : "#/definitions/SourceSelectionCriteria",
          "description" : "A container that describes additional filters for identifying the source objects that you want to replicate. You can choose to enable or disable the replication of these objects."
        },
        "Status" : {
          "description" : "Specifies whether the rule is enabled.",
          "type" : "string",
          "enum" : [ "Disabled", "Enabled" ]
        }
      },
      "required" : [ "Destination", "Status" ]
    },
    "DeleteMarkerReplication" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Status" : {
          "type" : "string",
          "enum" : [ "Disabled", "Enabled" ],
          "description" : "Indicates whether to replicate delete markers."
        }
      },
      "description" : "Specifies whether Amazon S3 replicates delete markers. If you specify a ``Filter`` in your replication configuration, you must also include a ``DeleteMarkerReplication`` element. If your ``Filter`` includes a ``Tag`` element, the ``DeleteMarkerReplication````Status`` must be set to Disabled, because Amazon S3 does not support replicating delete markers for tag-based rules. For an example configuration, see [Basic Rule Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-config-min-rule-config). \n For more information about delete marker replication, see [Basic Rule Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/delete-marker-replication.html). \n  If you are using an earlier version of the replication configuration, Amazon S3 handles replication of delete markers differently. For more information, see [Backward Compatibility](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-backward-compat-considerations)."
    },
    "ReplicationDestination" : {
      "type" : "object",
      "description" : "A container for information about the replication destination and its configurations including enabling the S3 Replication Time Control (S3 RTC).",
      "additionalProperties" : false,
      "properties" : {
        "AccessControlTranslation" : {
          "$ref" : "#/definitions/AccessControlTranslation",
          "description" : "Specify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the AWS-account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same AWS-account that owns the source object."
        },
        "Account" : {
          "type" : "string",
          "description" : "Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to change replica ownership to the AWS-account that owns the destination bucket by specifying the ``AccessControlTranslation`` property, this is the account ID of the destination bucket owner. For more information, see [Cross-Region Replication Additional Configuration: Change Replica Owner](https://docs.aws.amazon.com/AmazonS3/latest/dev/crr-change-owner.html) in the *Amazon S3 User Guide*.\n If you specify the ``AccessControlTranslation`` property, the ``Account`` property is required."
        },
        "Bucket" : {
          "type" : "string",
          "description" : "The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results."
        },
        "EncryptionConfiguration" : {
          "$ref" : "#/definitions/EncryptionConfiguration",
          "description" : "Specifies encryption-related information."
        },
        "Metrics" : {
          "$ref" : "#/definitions/Metrics",
          "description" : "A container specifying replication metrics-related settings enabling replication metrics and events."
        },
        "ReplicationTime" : {
          "$ref" : "#/definitions/ReplicationTime",
          "description" : "A container specifying S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a ``Metrics`` block."
        },
        "StorageClass" : {
          "description" : "The storage class to use when replicating objects, such as S3 Standard or reduced redundancy. By default, Amazon S3 uses the storage class of the source object to create the object replica. \n For valid values, see the ``StorageClass`` element of the [PUT Bucket replication](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html) action in the *Amazon S3 API Reference*.\n ``FSX_OPENZFS`` is not an accepted value when replicating objects.",
          "type" : "string",
          "enum" : [ "DEEP_ARCHIVE", "GLACIER", "GLACIER_IR", "INTELLIGENT_TIERING", "ONEZONE_IA", "REDUCED_REDUNDANCY", "STANDARD", "STANDARD_IA" ]
        }
      },
      "required" : [ "Bucket" ]
    },
    "AccessControlTranslation" : {
      "type" : "object",
      "description" : "Specify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the AWS-account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same AWS-account that owns the source object.",
      "additionalProperties" : false,
      "properties" : {
        "Owner" : {
          "type" : "string",
          "const" : "Destination",
          "description" : "Specifies the replica ownership. For default and valid values, see [PUT bucket replication](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html) in the *Amazon S3 API Reference*."
        }
      },
      "required" : [ "Owner" ]
    },
    "EncryptionConfiguration" : {
      "type" : "object",
      "description" : "Specifies encryption-related information for an Amazon S3 bucket that is a destination for replicated objects.\n  If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner.",
      "additionalProperties" : false,
      "properties" : {
        "ReplicaKmsKeyID" : {
          "description" : "Specifies the ID (Key ARN or Alias ARN) of the customer managed AWS KMS key stored in AWS Key Management Service (KMS) for the destination bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 only supports symmetric encryption KMS keys. For more information, see [Asymmetric keys in KMS](https://docs.aws.amazon.com//kms/latest/developerguide/symmetric-asymmetric.html) in the *Key Management Service Developer Guide*.",
          "type" : "string"
        }
      },
      "required" : [ "ReplicaKmsKeyID" ]
    },
    "Metrics" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "EventThreshold" : {
          "$ref" : "#/definitions/ReplicationTimeValue",
          "description" : "A container specifying the time threshold for emitting the ``s3:Replication:OperationMissedThreshold`` event."
        },
        "Status" : {
          "type" : "string",
          "enum" : [ "Disabled", "Enabled" ],
          "description" : "Specifies whether the replication metrics are enabled."
        }
      },
      "required" : [ "Status" ],
      "description" : "A container specifying replication metrics-related settings enabling replication metrics and events."
    },
    "ReplicationTimeValue" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Minutes" : {
          "type" : "integer",
          "description" : "Contains an integer specifying time in minutes. \n  Valid value: 15"
        }
      },
      "required" : [ "Minutes" ],
      "description" : "A container specifying the time value for S3 Replication Time Control (S3 RTC) and replication metrics ``EventThreshold``."
    },
    "ReplicationTime" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Status" : {
          "type" : "string",
          "enum" : [ "Disabled", "Enabled" ],
          "description" : "Specifies whether the replication time is enabled."
        },
        "Time" : {
          "$ref" : "#/definitions/ReplicationTimeValue",
          "description" : "A container specifying the time by which replication should be complete for all objects and operations on objects."
        }
      },
      "required" : [ "Status", "Time" ],
      "description" : "A container specifying S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a ``Metrics`` block."
    },
    "ReplicationRuleFilter" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "And" : {
          "$ref" : "#/definitions/ReplicationRuleAndOperator",
          "description" : "A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter. For example: \n  +  If you specify both a ``Prefix`` and a ``TagFilter``, wrap these filters in an ``And`` tag.\n  +  If you specify a filter based on multiple tags, wrap the ``TagFilter`` elements in an ``And`` tag."
        },
        "Prefix" : {
          "type" : "string",
          "description" : "An object key name prefix that identifies the subset of objects to which the rule applies.\n  Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see [XML related object key constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints)."
        },
        "TagFilter" : {
          "$ref" : "#/definitions/TagFilter",
          "description" : "A container for specifying a tag key and value. \n The rule applies only to objects that have the tag in their tag set."
        }
      },
      "description" : "A filter that identifies the subset of objects to which the replication rule applies. A ``Filter`` must specify exactly one ``Prefix``, ``TagFilter``, or an ``And`` child element."
    },
    "ReplicationRuleAndOperator" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Prefix" : {
          "type" : "string",
          "description" : "An object key name prefix that identifies the subset of objects to which the rule applies."
        },
        "TagFilters" : {
          "type" : "array",
          "uniqueItems" : true,
          "insertionOrder" : true,
          "items" : {
            "$ref" : "#/definitions/TagFilter"
          },
          "description" : "An array of tags containing key and value pairs."
        }
      },
      "description" : "A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter. \n For example:\n  +  If you specify both a ``Prefix`` and a ``TagFilter``, wrap these filters in an ``And`` tag. \n  +  If you specify a filter based on multiple tags, wrap the ``TagFilter`` elements in an ``And`` tag"
    },
    "SourceSelectionCriteria" : {
      "description" : "A container that describes additional filters for identifying the source objects that you want to replicate. You can choose to enable or disable the replication of these objects.",
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "ReplicaModifications" : {
          "description" : "A filter that you can specify for selection for modifications on replicas.",
          "$ref" : "#/definitions/ReplicaModifications"
        },
        "SseKmsEncryptedObjects" : {
          "description" : "A container for filter information for the selection of Amazon S3 objects encrypted with AWS KMS.",
          "$ref" : "#/definitions/SseKmsEncryptedObjects"
        }
      }
    },
    "ReplicaModifications" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Status" : {
          "description" : "Specifies whether Amazon S3 replicates modifications on replicas.\n *Allowed values*: ``Enabled`` | ``Disabled``",
          "type" : "string",
          "enum" : [ "Enabled", "Disabled" ]
        }
      },
      "required" : [ "Status" ],
      "description" : "A filter that you can specify for selection for modifications on replicas."
    },
    "SseKmsEncryptedObjects" : {
      "type" : "object",
      "description" : "A container for filter information for the selection of S3 objects encrypted with AWS KMS.",
      "additionalProperties" : false,
      "properties" : {
        "Status" : {
          "description" : "Specifies whether Amazon S3 replicates objects created with server-side encryption using an AWS KMS key stored in AWS Key Management Service.",
          "type" : "string",
          "enum" : [ "Disabled", "Enabled" ]
        }
      },
      "required" : [ "Status" ]
    },
    "Tag" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Key" : {
          "type" : "string",
          "minLength" : 1,
          "maxLength" : 128,
          "description" : "Name of the object key."
        },
        "Value" : {
          "type" : "string",
          "maxLength" : 256,
          "description" : "Value of the tag."
        }
      },
      "required" : [ "Value", "Key" ],
      "description" : "A container of a key value name pair."
    },
    "VersioningConfiguration" : {
      "description" : "Describes the versioning state of an Amazon S3 bucket. For more information, see [PUT Bucket versioning](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html) in the *Amazon S3 API Reference*.\n Keep the following timing in mind when enabling, suspending, or transitioning between versioning states:\n  +  *Enabling versioning* - Changes may take up to 15 minutes to propagate across all AWS regions for full consistency.\n  +  *Suspending versioning* - Takes effect immediately with no propagation delay.\n  +  *Transitioning between states* - Any change from Suspended to Enabled has a 15-minute delay.",
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Status" : {
          "description" : "The versioning state of the bucket.",
          "type" : "string",
          "default" : "Suspended",
          "enum" : [ "Enabled", "Suspended" ]
        }
      },
      "required" : [ "Status" ]
    },
    "WebsiteConfiguration" : {
      "type" : "object",
      "description" : "Specifies website configuration parameters for an Amazon S3 bucket.",
      "additionalProperties" : false,
      "properties" : {
        "ErrorDocument" : {
          "description" : "The name of the error document for the website.",
          "type" : "string"
        },
        "IndexDocument" : {
          "description" : "The name of the index document for the website.",
          "type" : "string"
        },
        "RoutingRules" : {
          "type" : "array",
          "insertionOrder" : true,
          "items" : {
            "$ref" : "#/definitions/RoutingRule"
          },
          "description" : "Rules that define when a redirect is applied and the redirect behavior."
        },
        "RedirectAllRequestsTo" : {
          "$ref" : "#/definitions/RedirectAllRequestsTo",
          "description" : "The redirect behavior for every request to this bucket's website endpoint.\n  If you specify this property, you can't specify any other property."
        }
      }
    },
    "RoutingRule" : {
      "description" : "Specifies the redirect behavior and when a redirect is applied. For more information about routing rules, see [Configuring advanced conditional redirects](https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html#advanced-conditional-redirects) in the *Amazon S3 User Guide*.",
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "RedirectRule" : {
          "description" : "Container for redirect information. You can redirect requests to another host, to another page, or with another protocol. In the event of an error, you can specify a different error code to return.",
          "$ref" : "#/definitions/RedirectRule"
        },
        "RoutingRuleCondition" : {
          "$ref" : "#/definitions/RoutingRuleCondition",
          "description" : "A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the ``/docs`` folder, redirect to the ``/documents`` folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error."
        }
      },
      "required" : [ "RedirectRule" ]
    },
    "RedirectRule" : {
      "type" : "object",
      "description" : "Specifies how requests are redirected. In the event of an error, you can specify a different error code to return.",
      "additionalProperties" : false,
      "properties" : {
        "HostName" : {
          "description" : "The host name to use in the redirect request.",
          "type" : "string"
        },
        "HttpRedirectCode" : {
          "description" : "The HTTP redirect code to use on the response. Not required if one of the siblings is present.",
          "type" : "string"
        },
        "Protocol" : {
          "description" : "Protocol to use when redirecting requests. The default is the protocol that is used in the original request.",
          "enum" : [ "http", "https" ],
          "type" : "string"
        },
        "ReplaceKeyPrefixWith" : {
          "description" : "The object key prefix to use in the redirect request. For example, to redirect requests for all pages with prefix ``docs/`` (objects in the ``docs/`` folder) to ``documents/``, you can set a condition block with ``KeyPrefixEquals`` set to ``docs/`` and in the Redirect set ``ReplaceKeyPrefixWith`` to ``/documents``. Not required if one of the siblings is present. Can be present only if ``ReplaceKeyWith`` is not provided.\n  Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see [XML related object key constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints).",
          "type" : "string"
        },
        "ReplaceKeyWith" : {
          "description" : "The specific object key to use in the redirect request. For example, redirect request to ``error.html``. Not required if one of the siblings is present. Can be present only if ``ReplaceKeyPrefixWith`` is not provided.\n  Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see [XML related object key constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints).",
          "type" : "string"
        }
      }
    },
    "RoutingRuleCondition" : {
      "description" : "A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the ``/docs`` folder, redirect to the ``/documents`` folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error.",
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "KeyPrefixEquals" : {
          "description" : "The object key name prefix when the redirect is applied. For example, to redirect requests for ``ExamplePage.html``, the key prefix will be ``ExamplePage.html``. To redirect request for all pages with the prefix ``docs/``, the key prefix will be ``docs/``, which identifies all objects in the docs/ folder.\n Required when the parent element ``Condition`` is specified and sibling ``HttpErrorCodeReturnedEquals`` is not specified. If both conditions are specified, both must be true for the redirect to be applied.",
          "type" : "string"
        },
        "HttpErrorCodeReturnedEquals" : {
          "description" : "The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied.\n Required when parent element ``Condition`` is specified and sibling ``KeyPrefixEquals`` is not specified. If both are specified, then both must be true for the redirect to be applied.",
          "type" : "string"
        }
      }
    },
    "RedirectAllRequestsTo" : {
      "description" : "Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.",
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "HostName" : {
          "description" : "Name of the host where requests are redirected.",
          "type" : "string"
        },
        "Protocol" : {
          "description" : "Protocol to use when redirecting requests. The default is the protocol that is used in the original request.",
          "type" : "string",
          "enum" : [ "http", "https" ]
        }
      },
      "required" : [ "HostName" ]
    },
    "Arn" : {
      "description" : "the Amazon Resource Name (ARN) of the specified bucket.",
      "type" : "string"
    },
    "MetadataTableConfiguration" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "S3TablesDestination" : {
          "$ref" : "#/definitions/S3TablesDestination",
          "description" : "The destination information for the metadata table configuration. The destination table bucket must be in the same Region and AWS-account as the general purpose bucket. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket."
        }
      },
      "required" : [ "S3TablesDestination" ],
      "description" : "We recommend that you create your S3 Metadata configurations by using the V2 [MetadataConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-s3-bucket-metadataconfiguration.html) resource type. We no longer recommend using the V1 ``MetadataTableConfiguration`` resource type. \n If you created your S3 Metadata configuration before July 15, 2025, we recommend that you delete and re-create your configuration by using the [MetadataConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-s3-bucket-metadataconfiguration.html) resource type so that you can expire journal table records and create a live inventory table.\n  Creates a V1 S3 Metadata configuration for a general purpose bucket. For more information, see [Accelerating data discovery with S3 Metadata](https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html) in the *Amazon S3 User Guide*."
    },
    "S3TablesDestination" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "TableBucketArn" : {
          "type" : "string",
          "description" : "The Amazon Resource Name (ARN) for the table bucket that's specified as the destination in the metadata table configuration. The destination table bucket must be in the same Region and AWS-account as the general purpose bucket."
        },
        "TableName" : {
          "type" : "string",
          "description" : "The name for the metadata table in your metadata table configuration. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket."
        },
        "TableNamespace" : {
          "type" : "string",
          "description" : "The table bucket namespace for the metadata table in your metadata table configuration. This value is always ``aws_s3_metadata``."
        },
        "TableArn" : {
          "type" : "string",
          "description" : "The Amazon Resource Name (ARN) for the metadata table in the metadata table configuration. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket."
        }
      },
      "required" : [ "TableBucketArn", "TableName" ],
      "description" : "The destination information for a V1 S3 Metadata configuration. The destination table bucket must be in the same Region and AWS-account as the general purpose bucket. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket."
    },
    "RecordExpiration" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Expiration" : {
          "type" : "string",
          "enum" : [ "ENABLED", "DISABLED" ],
          "description" : "Specifies whether journal table record expiration is enabled or disabled."
        },
        "Days" : {
          "type" : "integer",
          "description" : "If you enable journal table record expiration, you can set the number of days to retain your journal table records. Journal table records must be retained for a minimum of 7 days. To set this value, specify any whole number from ``7`` to ``2147483647``. For example, to retain your journal table records for one year, set this value to ``365``."
        }
      },
      "required" : [ "Expiration" ],
      "description" : "The journal table record expiration settings for a journal table in an S3 Metadata configuration."
    },
    "MetadataTableEncryptionConfiguration" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "SseAlgorithm" : {
          "type" : "string",
          "enum" : [ "aws:kms", "AES256" ],
          "description" : "The encryption type specified for a metadata table. To specify server-side encryption with KMSlong (KMS) keys (SSE-KMS), use the ``aws:kms`` value. To specify server-side encryption with Amazon S3 managed keys (SSE-S3), use the ``AES256`` value."
        },
        "KmsKeyArn" : {
          "type" : "string",
          "description" : "If server-side encryption with KMSlong (KMS) keys (SSE-KMS) is specified, you must also specify the KMS key Amazon Resource Name (ARN). You must specify a customer-managed KMS key that's located in the same Region as the general purpose bucket that corresponds to the metadata table configuration."
        }
      },
      "required" : [ "SseAlgorithm" ],
      "description" : "The encryption settings for an S3 Metadata journal table or inventory table configuration."
    },
    "MetadataDestination" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "TableBucketType" : {
          "type" : "string",
          "enum" : [ "aws", "customer" ],
          "description" : "The type of the table bucket where the metadata configuration is stored. The ``aws`` value indicates an AWS managed table bucket, and the ``customer`` value indicates a customer-managed table bucket. V2 metadata configurations are stored in AWS managed table buckets, and V1 metadata configurations are stored in customer-managed table buckets."
        },
        "TableBucketArn" : {
          "type" : "string",
          "description" : "The Amazon Resource Name (ARN) of the table bucket where the metadata configuration is stored."
        },
        "TableNamespace" : {
          "type" : "string",
          "description" : "The namespace in the table bucket where the metadata tables for a metadata configuration are stored."
        }
      },
      "required" : [ "TableBucketType" ],
      "description" : "The destination information for the S3 Metadata configuration."
    },
    "JournalTableConfiguration" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "TableName" : {
          "type" : "string",
          "description" : "The name of the journal table."
        },
        "TableArn" : {
          "type" : "string",
          "description" : "The Amazon Resource Name (ARN) for the journal table."
        },
        "RecordExpiration" : {
          "$ref" : "#/definitions/RecordExpiration",
          "description" : "The journal table record expiration settings for the journal table."
        },
        "EncryptionConfiguration" : {
          "$ref" : "#/definitions/MetadataTableEncryptionConfiguration",
          "description" : "The encryption configuration for the journal table."
        }
      },
      "required" : [ "RecordExpiration" ],
      "description" : "The journal table configuration for an S3 Metadata configuration."
    },
    "InventoryTableConfiguration" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "TableName" : {
          "type" : "string",
          "description" : "The name of the inventory table."
        },
        "TableArn" : {
          "type" : "string",
          "description" : "The Amazon Resource Name (ARN) for the inventory table."
        },
        "ConfigurationState" : {
          "type" : "string",
          "enum" : [ "ENABLED", "DISABLED" ],
          "description" : "The configuration state of the inventory table, indicating whether the inventory table is enabled or disabled."
        },
        "EncryptionConfiguration" : {
          "$ref" : "#/definitions/MetadataTableEncryptionConfiguration",
          "description" : "The encryption configuration for the inventory table."
        }
      },
      "required" : [ "ConfigurationState" ],
      "description" : "The inventory table configuration for an S3 Metadata configuration."
    },
    "MetadataConfiguration" : {
      "type" : "object",
      "additionalProperties" : false,
      "description" : "Creates a V2 S3 Metadata configuration of a general purpose bucket. For more information, see [Accelerating data discovery with S3 Metadata](https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html) in the *Amazon S3 User Guide*.",
      "properties" : {
        "Destination" : {
          "$ref" : "#/definitions/MetadataDestination",
          "description" : "The destination information for the S3 Metadata configuration."
        },
        "JournalTableConfiguration" : {
          "$ref" : "#/definitions/JournalTableConfiguration",
          "description" : "The journal table configuration for a metadata configuration."
        },
        "InventoryTableConfiguration" : {
          "$ref" : "#/definitions/InventoryTableConfiguration",
          "description" : "The inventory table configuration for a metadata configuration."
        }
      },
      "required" : [ "JournalTableConfiguration" ]
    }
  },
  "tagging" : {
    "taggable" : true,
    "tagOnCreate" : true,
    "tagUpdatable" : true,
    "cloudFormationSystemTags" : true,
    "tagProperty" : "/properties/Tags",
    "permissions" : [ "s3:PutBucketTagging", "s3:GetBucketTagging", "s3:DeleteBucketTagging", "s3:TagResource", "s3:UntagResource", "s3:ListTagsForResource" ]
  },
  "createOnlyProperties" : [ "/properties/BucketName", "/properties/BucketNamePrefix", "/properties/BucketNamespace" ],
  "primaryIdentifier" : [ "/properties/BucketName" ],
  "readOnlyProperties" : [ "/properties/Arn", "/properties/DomainName", "/properties/DualStackDomainName", "/properties/RegionalDomainName", "/properties/MetadataTableConfiguration/S3TablesDestination/TableNamespace", "/properties/MetadataTableConfiguration/S3TablesDestination/TableArn", "/properties/MetadataConfiguration/Destination", "/properties/MetadataConfiguration/JournalTableConfiguration/TableName", "/properties/MetadataConfiguration/JournalTableConfiguration/TableArn", "/properties/MetadataConfiguration/InventoryTableConfiguration/TableName", "/properties/MetadataConfiguration/InventoryTableConfiguration/TableArn", "/properties/WebsiteURL" ],
  "writeOnlyProperties" : [ "/properties/AccessControl", "/properties/BucketNamePrefix", "/properties/BucketNamespace", "/properties/MetadataConfiguration/JournalTableConfiguration/EncryptionConfiguration", "/properties/MetadataConfiguration/InventoryTableConfiguration/EncryptionConfiguration", "/properties/LifecycleConfiguration/Rules/*/NoncurrentVersionExpirationInDays", "/properties/LifecycleConfiguration/Rules/*/NoncurrentVersionTransition", "/properties/LifecycleConfiguration/Rules/*/Transition", "/properties/ReplicationConfiguration/Rules/*/Prefix", "/properties/LifecycleConfiguration/Rules/*/ExpiredObjectDeleteMarker" ],
  "propertyTransform" : {
    "/properties/NotificationConfiguration/QueueConfigurations/*/Filter/S3Key/Rules/*/Name" : "$replace(Name, \"prefix\", \"Prefix\") $OR $replace(Name, \"suffix\", \"Suffix\")",
    "/properties/NotificationConfiguration/LambdaConfigurations/*/Filter/S3Key/Rules/*/Name" : "$replace(Name, \"prefix\", \"Prefix\") $OR $replace(Name, \"suffix\", \"Suffix\")",
    "/properties/NotificationConfiguration/TopicConfigurations/*/Filter/S3Key/Rules/*/Name" : "$replace(Name, \"prefix\", \"Prefix\") $OR $replace(Name, \"suffix\", \"Suffix\")"
  },
  "handlers" : {
    "create" : {
      "permissions" : [ "s3:CreateBucket", "s3:PutBucketTagging", "s3:TagResource", "s3:PutBucketAbac", "s3:PutAnalyticsConfiguration", "s3:PutEncryptionConfiguration", "s3:PutBucketCORS", "s3:PutInventoryConfiguration", "s3:PutLifecycleConfiguration", "s3:PutMetricsConfiguration", "s3:PutBucketNotification", "s3:PutBucketReplication", "s3:PutBucketWebsite", "s3:PutAccelerateConfiguration", "s3:PutBucketPublicAccessBlock", "s3:PutReplicationConfiguration", "s3:PutObjectAcl", "s3:PutBucketObjectLockConfiguration", "s3:GetBucketAcl", "s3:ListBucket", "iam:PassRole", "s3:DeleteObject", "s3:PutBucketLogging", "s3:PutBucketVersioning", "s3:PutObjectLockConfiguration", "s3:PutBucketOwnershipControls", "s3:PutIntelligentTieringConfiguration", "s3:GetBucketMetadataTableConfiguration", "s3:CreateBucketMetadataTableConfiguration", "s3tables:CreateNamespace", "s3tables:CreateTable", "s3tables:CreateTableBucket", "s3tables:GetTable", "s3tables:PutTableBucketPolicy", "s3tables:PutTableEncryption", "s3tables:PutTablePolicy", "s3tables:GetTableMetadataLocation", "s3tables:UpdateTableMetadataLocation" ]
    },
    "read" : {
      "permissions" : [ "s3:GetAccelerateConfiguration", "s3:GetLifecycleConfiguration", "s3:GetBucketPublicAccessBlock", "s3:GetAnalyticsConfiguration", "s3:GetBucketCORS", "s3:GetEncryptionConfiguration", "s3:GetInventoryConfiguration", "s3:GetBucketLogging", "s3:GetMetricsConfiguration", "s3:GetBucketNotification", "s3:GetBucketVersioning", "s3:GetReplicationConfiguration", "S3:GetBucketWebsite", "s3:GetBucketPublicAccessBlock", "s3:GetBucketObjectLockConfiguration", "s3:GetBucketTagging", "s3:ListTagsForResource", "s3:GetBucketAbac", "s3:GetBucketOwnershipControls", "s3:GetIntelligentTieringConfiguration", "s3:GetBucketMetadataTableConfiguration", "s3:ListBucket" ]
    },
    "update" : {
      "permissions" : [ "s3:PutBucketAcl", "s3:PutBucketTagging", "s3:TagResource", "s3:UntagResource", "s3:PutBucketAbac", "s3:PutAnalyticsConfiguration", "s3:PutEncryptionConfiguration", "s3:PutBucketCORS", "s3:PutInventoryConfiguration", "s3:PutLifecycleConfiguration", "s3:PutMetricsConfiguration", "s3:PutBucketNotification", "s3:PutBucketReplication", "s3:PutBucketWebsite", "s3:PutAccelerateConfiguration", "s3:GetBucketMetadataTableConfiguration", "s3:DeleteBucketMetadataTableConfiguration", "s3:CreateBucketMetadataTableConfiguration", "s3:UpdateBucketMetadataJournalTableConfiguration", "s3:UpdateBucketMetadataInventoryTableConfiguration", "s3tables:CreateNamespace", "s3tables:CreateTable", "s3tables:CreateTableBucket", "s3tables:GetTable", "s3tables:PutTableBucketPolicy", "s3tables:PutTableEncryption", "s3tables:PutTablePolicy", "s3tables:GetTableMetadataLocation", "s3tables:UpdateTableMetadataLocation", "s3:PutBucketPublicAccessBlock", "s3:PutReplicationConfiguration", "s3:PutBucketOwnershipControls", "s3:PutIntelligentTieringConfiguration", "s3:DeleteBucketWebsite", "s3:PutBucketLogging", "s3:PutBucketVersioning", "s3:PutObjectLockConfiguration", "s3:PutBucketObjectLockConfiguration", "s3:DeleteBucketAnalyticsConfiguration", "s3:DeleteBucketCors", "s3:DeleteBucketMetricsConfiguration", "s3:DeleteBucketEncryption", "s3:DeleteBucketLifecycle", "s3:DeleteBucketReplication", "iam:PassRole", "s3:ListBucket" ]
    },
    "delete" : {
      "permissions" : [ "s3:DeleteBucket", "s3:ListBucket" ]
    },
    "list" : {
      "permissions" : [ "s3:ListAllMyBuckets" ]
    }
  }
}