Class: Aws::AmplifyGen3::Types::DatabaseS3DeliveryConfigRequest

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

Overview

The Amazon S3 delivery settings to apply to database logs. Amplify delivers the logs to an S3 bucket in your account.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucket_arn ⇒ String

The Amazon Resource Name (ARN) of the S3 bucket to deliver the database logs to. Required when Status is ENABLED, unless a bucket is already stored. If you omit this, the stored bucket is used. If you specify a different bucket, delivery moves to that bucket.

Returns:

  • (String)


1743
1744
1745
1746
1747
1748
1749
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 1743

class DatabaseS3DeliveryConfigRequest < Struct.new(
  :status,
  :sampling_rate,
  :bucket_arn)
  SENSITIVE = []
  include Aws::Structure
end

#sampling_rate ⇒ Integer

The percentage of database log lines to deliver to Amazon S3. When Status is ENABLED, specify a value from 1 to 100. When Status is DISABLED, omit this or specify 0. If you omit this, the stored rate is used, or 100 if no rate is stored.

Returns:

  • (Integer)


1743
1744
1745
1746
1747
1748
1749
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 1743

class DatabaseS3DeliveryConfigRequest < Struct.new(
  :status,
  :sampling_rate,
  :bucket_arn)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

Specifies whether to deliver database logs to Amazon S3.

Returns:

  • (String)


1743
1744
1745
1746
1747
1748
1749
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 1743

class DatabaseS3DeliveryConfigRequest < Struct.new(
  :status,
  :sampling_rate,
  :bucket_arn)
  SENSITIVE = []
  include Aws::Structure
end