class Aws::SecurityHub::Types::AwsS3BucketDetails

The details of an Amazon S3 bucket.

@note When making an API call, you may pass AwsS3BucketDetails

data as a hash:

    {
      owner_id: "NonEmptyString",
      owner_name: "NonEmptyString",
      created_at: "NonEmptyString",
      server_side_encryption_configuration: {
        rules: [
          {
            apply_server_side_encryption_by_default: {
              sse_algorithm: "NonEmptyString",
              kms_master_key_id: "NonEmptyString",
            },
          },
        ],
      },
      bucket_lifecycle_configuration: {
        rules: [
          {
            abort_incomplete_multipart_upload: {
              days_after_initiation: 1,
            },
            expiration_date: "NonEmptyString",
            expiration_in_days: 1,
            expired_object_delete_marker: false,
            filter: {
              predicate: {
                operands: [
                  {
                    prefix: "NonEmptyString",
                    tag: {
                      key: "NonEmptyString",
                      value: "NonEmptyString",
                    },
                    type: "NonEmptyString",
                  },
                ],
                prefix: "NonEmptyString",
                tag: {
                  key: "NonEmptyString",
                  value: "NonEmptyString",
                },
                type: "NonEmptyString",
              },
            },
            id: "NonEmptyString",
            noncurrent_version_expiration_in_days: 1,
            noncurrent_version_transitions: [
              {
                days: 1,
                storage_class: "NonEmptyString",
              },
            ],
            prefix: "NonEmptyString",
            status: "NonEmptyString",
            transitions: [
              {
                date: "NonEmptyString",
                days: 1,
                storage_class: "NonEmptyString",
              },
            ],
          },
        ],
      },
      public_access_block_configuration: {
        block_public_acls: false,
        block_public_policy: false,
        ignore_public_acls: false,
        restrict_public_buckets: false,
      },
      access_control_list: "NonEmptyString",
      bucket_logging_configuration: {
        destination_bucket_name: "NonEmptyString",
        log_file_prefix: "NonEmptyString",
      },
      bucket_website_configuration: {
        error_document: "NonEmptyString",
        index_document_suffix: "NonEmptyString",
        redirect_all_requests_to: {
          hostname: "NonEmptyString",
          protocol: "NonEmptyString",
        },
        routing_rules: [
          {
            condition: {
              http_error_code_returned_equals: "NonEmptyString",
              key_prefix_equals: "NonEmptyString",
            },
            redirect: {
              hostname: "NonEmptyString",
              http_redirect_code: "NonEmptyString",
              protocol: "NonEmptyString",
              replace_key_prefix_with: "NonEmptyString",
              replace_key_with: "NonEmptyString",
            },
          },
        ],
      },
      bucket_notification_configuration: {
        configurations: [
          {
            events: ["NonEmptyString"],
            filter: {
              s3_key_filter: {
                filter_rules: [
                  {
                    name: "Prefix", # accepts Prefix, Suffix
                    value: "NonEmptyString",
                  },
                ],
              },
            },
            destination: "NonEmptyString",
            type: "NonEmptyString",
          },
        ],
      },
    }

@!attribute [rw] owner_id

The canonical user ID of the owner of the S3 bucket.
@return [String]

@!attribute [rw] owner_name

The display name of the owner of the S3 bucket.
@return [String]

@!attribute [rw] created_at

Indicates when the S3 bucket was created.

Uses the `date-time` format specified in [RFC 3339 section 5.6,
Internet Date/Time Format][1]. The value cannot contain spaces. For
example, `2020-03-22T13:22:13.933Z`.

[1]: https://tools.ietf.org/html/rfc3339#section-5.6
@return [String]

@!attribute [rw] server_side_encryption_configuration

The encryption rules that are applied to the S3 bucket.
@return [Types::AwsS3BucketServerSideEncryptionConfiguration]

@!attribute [rw] bucket_lifecycle_configuration

The lifecycle configuration for objects in the S3 bucket.
@return [Types::AwsS3BucketBucketLifecycleConfigurationDetails]

@!attribute [rw] public_access_block_configuration

Provides information about the Amazon S3 Public Access Block
configuration for the S3 bucket.
@return [Types::AwsS3AccountPublicAccessBlockDetails]

@!attribute [rw] access_control_list

The access control list for the S3 bucket.
@return [String]

@!attribute [rw] bucket_logging_configuration

The logging configuration for the S3 bucket.
@return [Types::AwsS3BucketLoggingConfiguration]

@!attribute [rw] bucket_website_configuration

The website configuration parameters for the S3 bucket.
@return [Types::AwsS3BucketWebsiteConfiguration]

@!attribute [rw] bucket_notification_configuration

The notification configuration for the S3 bucket.
@return [Types::AwsS3BucketNotificationConfiguration]

@see docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsS3BucketDetails AWS API Documentation

Constants

SENSITIVE