Class: Aws::ObservabilityAdmin::Types::LogGroupNameConfiguration

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

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#log_group_name_patternString

The pattern used to generate destination log group names during centralization. The pattern can contain static text and dynamic variables that are replaced with source attributes. If a variable cannot be resolved, it inherits the value from its parent variable in the hierarchy. The pattern must be between 1 and 512 characters.

Supported variables:

  • $Aws::ObservabilityAdmin::Types::LogGroupNameConfiguration.sourcesource.logGroup — The original log group name from the source account.

  • $Aws::ObservabilityAdmin::Types::LogGroupNameConfiguration.sourcesource.accountId — The AWS account ID where the log originated.

  • $Aws::ObservabilityAdmin::Types::LogGroupNameConfiguration.sourcesource.region — The AWS Region where the log originated.

  • $Aws::ObservabilityAdmin::Types::LogGroupNameConfiguration.sourcesource.orgsource.org.id — The AWS Organization ID of the source account.

  • $Aws::ObservabilityAdmin::Types::LogGroupNameConfiguration.sourcesource.orgsource.org.ouId — The organizational unit ID of the source account.

  • $Aws::ObservabilityAdmin::Types::LogGroupNameConfiguration.sourcesource.orgsource.org.rootId — The organization Root ID.

  • $Aws::ObservabilityAdmin::Types::LogGroupNameConfiguration.sourcesource.orgsource.org.path — The organizational path from account to root.

Returns:

  • (String)


1593
1594
1595
1596
1597
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 1593

class LogGroupNameConfiguration < Struct.new(
  :log_group_name_pattern)
  SENSITIVE = []
  include Aws::Structure
end