Class: Aws::AmplifyGen3::Types::DatabaseCloudWatchLogsDeliveryConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::AmplifyGen3::Types::DatabaseCloudWatchLogsDeliveryConfig
- Defined in:
- gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb
Overview
The Amazon CloudWatch Logs delivery settings for 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
-
#log_group_arn ⇒ String
The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log group that receives the database logs.
-
#sampling_rate ⇒ Integer
The percentage of database log lines that are delivered to CloudWatch Logs, from 0 to 100.
-
#status ⇒ String
Specifies whether database logs are delivered to CloudWatch Logs.
Instance Attribute Details
#log_group_arn ⇒ String
The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log group that receives the database logs. Present while delivery is ENABLED.
1570 1571 1572 1573 1574 1575 1576 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 1570 class DatabaseCloudWatchLogsDeliveryConfig < Struct.new( :status, :sampling_rate, :log_group_arn) SENSITIVE = [] include Aws::Structure end |
#sampling_rate ⇒ Integer
The percentage of database log lines that are delivered to CloudWatch Logs, from 0 to 100. Absent when no rate is stored, in which case 100% of the lines are delivered.
1570 1571 1572 1573 1574 1575 1576 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 1570 class DatabaseCloudWatchLogsDeliveryConfig < Struct.new( :status, :sampling_rate, :log_group_arn) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
Specifies whether database logs are delivered to CloudWatch Logs.
1570 1571 1572 1573 1574 1575 1576 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 1570 class DatabaseCloudWatchLogsDeliveryConfig < Struct.new( :status, :sampling_rate, :log_group_arn) SENSITIVE = [] include Aws::Structure end |