Interface LogGroupNameConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LogGroupNameConfiguration.Builder,,LogGroupNameConfiguration> SdkBuilder<LogGroupNameConfiguration.Builder,,LogGroupNameConfiguration> SdkPojo
- Enclosing class:
LogGroupNameConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionlogGroupNamePattern(String logGroupNamePattern) The pattern used to generate destination log group names during centralization.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
logGroupNamePattern
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:
-
${source.logGroup} — The original log group name from the source account.
-
${source.accountId} — The AWS account ID where the log originated.
-
${source.region} — The AWS Region where the log originated.
-
${source.org.id} — The AWS Organization ID of the source account.
-
${source.org.ouId} — The organizational unit ID of the source account.
-
${source.org.rootId} — The organization Root ID.
-
${source.org.path} — The organizational path from account to root.
- Parameters:
logGroupNamePattern- 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:
-
${source.logGroup} — The original log group name from the source account.
-
${source.accountId} — The AWS account ID where the log originated.
-
${source.region} — The AWS Region where the log originated.
-
${source.org.id} — The AWS Organization ID of the source account.
-
${source.org.ouId} — The organizational unit ID of the source account.
-
${source.org.rootId} — The organization Root ID.
-
${source.org.path} — The organizational path from account to root.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-