Class: Aws::SecurityHub::Types::AwsS3BucketDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

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",
      },
    ],
  },
}

The details of an Amazon S3 bucket.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_control_listString

The access control list for the S3 bucket.

Returns:

  • (String)


14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14834

class AwsS3BucketDetails < Struct.new(
  :owner_id,
  :owner_name,
  :created_at,
  :server_side_encryption_configuration,
  :bucket_lifecycle_configuration,
  :public_access_block_configuration,
  :access_control_list,
  :bucket_logging_configuration,
  :bucket_website_configuration,
  :bucket_notification_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#bucket_lifecycle_configurationTypes::AwsS3BucketBucketLifecycleConfigurationDetails

The lifecycle configuration for objects in the S3 bucket.



14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14834

class AwsS3BucketDetails < Struct.new(
  :owner_id,
  :owner_name,
  :created_at,
  :server_side_encryption_configuration,
  :bucket_lifecycle_configuration,
  :public_access_block_configuration,
  :access_control_list,
  :bucket_logging_configuration,
  :bucket_website_configuration,
  :bucket_notification_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#bucket_logging_configurationTypes::AwsS3BucketLoggingConfiguration

The logging configuration for the S3 bucket.



14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14834

class AwsS3BucketDetails < Struct.new(
  :owner_id,
  :owner_name,
  :created_at,
  :server_side_encryption_configuration,
  :bucket_lifecycle_configuration,
  :public_access_block_configuration,
  :access_control_list,
  :bucket_logging_configuration,
  :bucket_website_configuration,
  :bucket_notification_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#bucket_notification_configurationTypes::AwsS3BucketNotificationConfiguration

The notification configuration for the S3 bucket.



14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14834

class AwsS3BucketDetails < Struct.new(
  :owner_id,
  :owner_name,
  :created_at,
  :server_side_encryption_configuration,
  :bucket_lifecycle_configuration,
  :public_access_block_configuration,
  :access_control_list,
  :bucket_logging_configuration,
  :bucket_website_configuration,
  :bucket_notification_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#bucket_website_configurationTypes::AwsS3BucketWebsiteConfiguration

The website configuration parameters for the S3 bucket.



14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14834

class AwsS3BucketDetails < Struct.new(
  :owner_id,
  :owner_name,
  :created_at,
  :server_side_encryption_configuration,
  :bucket_lifecycle_configuration,
  :public_access_block_configuration,
  :access_control_list,
  :bucket_logging_configuration,
  :bucket_website_configuration,
  :bucket_notification_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#created_atString

Indicates when the S3 bucket was created.

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

Returns:

  • (String)


14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14834

class AwsS3BucketDetails < Struct.new(
  :owner_id,
  :owner_name,
  :created_at,
  :server_side_encryption_configuration,
  :bucket_lifecycle_configuration,
  :public_access_block_configuration,
  :access_control_list,
  :bucket_logging_configuration,
  :bucket_website_configuration,
  :bucket_notification_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#owner_idString

The canonical user ID of the owner of the S3 bucket.

Returns:

  • (String)


14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14834

class AwsS3BucketDetails < Struct.new(
  :owner_id,
  :owner_name,
  :created_at,
  :server_side_encryption_configuration,
  :bucket_lifecycle_configuration,
  :public_access_block_configuration,
  :access_control_list,
  :bucket_logging_configuration,
  :bucket_website_configuration,
  :bucket_notification_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#owner_nameString

The display name of the owner of the S3 bucket.

Returns:

  • (String)


14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14834

class AwsS3BucketDetails < Struct.new(
  :owner_id,
  :owner_name,
  :created_at,
  :server_side_encryption_configuration,
  :bucket_lifecycle_configuration,
  :public_access_block_configuration,
  :access_control_list,
  :bucket_logging_configuration,
  :bucket_website_configuration,
  :bucket_notification_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#public_access_block_configurationTypes::AwsS3AccountPublicAccessBlockDetails

Provides information about the Amazon S3 Public Access Block configuration for the S3 bucket.



14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14834

class AwsS3BucketDetails < Struct.new(
  :owner_id,
  :owner_name,
  :created_at,
  :server_side_encryption_configuration,
  :bucket_lifecycle_configuration,
  :public_access_block_configuration,
  :access_control_list,
  :bucket_logging_configuration,
  :bucket_website_configuration,
  :bucket_notification_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#server_side_encryption_configurationTypes::AwsS3BucketServerSideEncryptionConfiguration

The encryption rules that are applied to the S3 bucket.



14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14834

class AwsS3BucketDetails < Struct.new(
  :owner_id,
  :owner_name,
  :created_at,
  :server_side_encryption_configuration,
  :bucket_lifecycle_configuration,
  :public_access_block_configuration,
  :access_control_list,
  :bucket_logging_configuration,
  :bucket_website_configuration,
  :bucket_notification_configuration)
  SENSITIVE = []
  include Aws::Structure
end