Class: Aws::ObservabilityAdmin::Types::DestinationLogsConfiguration

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

Overview

Configuration for centralization destination log groups, including encryption and backup settings.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#backup_configuration ⇒ Types::LogsBackupConfiguration

Configuration defining the backup region and an optional KMS key for the backup destination.



839
840
841
842
843
844
845
846
847
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 839

class DestinationLogsConfiguration < Struct.new(
  :logs_encryption_configuration,
  :backup_configuration,
  :log_group_name_configuration,
  :tag_propagation_configuration,
  :log_group_deletion_protection)
  SENSITIVE = []
  include Aws::Structure
end

#log_group_deletion_protection ⇒ String

Specifies whether this centralization rule enables deletion protection on the destination log groups that it creates. If you don't specify this setting, the rule doesn't enable deletion protection on the log groups that it creates. If you specify a backup Region in BackupConfiguration, the setting also applies to the log groups that the rule creates in the backup Region.

When you set this to ENABLED, the rule enables deletion protection only on log groups that it creates after you enable the setting. It does not add deletion protection to log groups the rule created before you enabled the setting.

If you remove this setting from the rule or delete the rule, deletion protection stays enabled on log groups that already have it. To delete one of these log groups, first disable deletion protection on the log group in the destination account.

Returns:

  • (String)


839
840
841
842
843
844
845
846
847
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 839

class DestinationLogsConfiguration < Struct.new(
  :logs_encryption_configuration,
  :backup_configuration,
  :log_group_name_configuration,
  :tag_propagation_configuration,
  :log_group_deletion_protection)
  SENSITIVE = []
  include Aws::Structure
end

#log_group_name_configuration ⇒ Types::LogGroupNameConfiguration

Configuration that specifies a naming pattern for destination log groups created during centralization. The pattern supports static text and dynamic variables that are replaced with source attributes when log groups are created.



839
840
841
842
843
844
845
846
847
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 839

class DestinationLogsConfiguration < Struct.new(
  :logs_encryption_configuration,
  :backup_configuration,
  :log_group_name_configuration,
  :tag_propagation_configuration,
  :log_group_deletion_protection)
  SENSITIVE = []
  include Aws::Structure
end

#logs_encryption_configuration ⇒ Types::LogsEncryptionConfiguration

The encryption configuration for centralization destination log groups.



839
840
841
842
843
844
845
846
847
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 839

class DestinationLogsConfiguration < Struct.new(
  :logs_encryption_configuration,
  :backup_configuration,
  :log_group_name_configuration,
  :tag_propagation_configuration,
  :log_group_deletion_protection)
  SENSITIVE = []
  include Aws::Structure
end

#tag_propagation_configuration ⇒ Types::TagPropagationConfiguration

Specifies the tag propagation configuration for this centralization rule. When present, LogGroupNameConfiguration must use a LogGroupNamePattern that contains ${source.logGroup}, ${source.accountId}, and ${source.region}.



839
840
841
842
843
844
845
846
847
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 839

class DestinationLogsConfiguration < Struct.new(
  :logs_encryption_configuration,
  :backup_configuration,
  :log_group_name_configuration,
  :tag_propagation_configuration,
  :log_group_deletion_protection)
  SENSITIVE = []
  include Aws::Structure
end