Class: Aws::AmplifyGen3::Types::DatabaseCloudWatchLogsDeliveryConfigRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AmplifyGen3::Types::DatabaseCloudWatchLogsDeliveryConfigRequest
- Defined in:
- gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb
Overview
The Amazon CloudWatch Logs delivery settings to apply to database logs. Amplify delivers the logs to a log group that it creates in your account, named /aws/amplifygen3/app-name/environment-name/database-logs.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#sampling_rate ⇒ Integer
The percentage of database log lines to deliver to CloudWatch Logs.
-
#status ⇒ String
Specifies whether to deliver database logs to CloudWatch Logs.
Instance Attribute Details
#sampling_rate ⇒ Integer
The percentage of database log lines to deliver to CloudWatch Logs. 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.
1596 1597 1598 1599 1600 1601 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 1596 class DatabaseCloudWatchLogsDeliveryConfigRequest < Struct.new( :status, :sampling_rate) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
Specifies whether to deliver database logs to CloudWatch Logs.
1596 1597 1598 1599 1600 1601 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 1596 class DatabaseCloudWatchLogsDeliveryConfigRequest < Struct.new( :status, :sampling_rate) SENSITIVE = [] include Aws::Structure end |