Interface FirelensConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<FirelensConfiguration.Builder,FirelensConfiguration>
,SdkBuilder<FirelensConfiguration.Builder,FirelensConfiguration>
,SdkPojo
- Enclosing class:
- FirelensConfiguration
public static interface FirelensConfiguration.Builder extends SdkPojo, CopyableBuilder<FirelensConfiguration.Builder,FirelensConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FirelensConfiguration.Builder
options(Map<String,String> options)
The options to use when configuring the log router.FirelensConfiguration.Builder
type(String type)
The log router to use.FirelensConfiguration.Builder
type(FirelensConfigurationType type)
The log router to use.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
type
FirelensConfiguration.Builder type(String type)
The log router to use. The valid values are
fluentd
orfluentbit
.- Parameters:
type
- The log router to use. The valid values arefluentd
orfluentbit
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FirelensConfigurationType
,FirelensConfigurationType
-
type
FirelensConfiguration.Builder type(FirelensConfigurationType type)
The log router to use. The valid values are
fluentd
orfluentbit
.- Parameters:
type
- The log router to use. The valid values arefluentd
orfluentbit
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FirelensConfigurationType
,FirelensConfigurationType
-
options
FirelensConfiguration.Builder options(Map<String,String> options)
The options to use when configuring the log router. This field is optional and can be used to specify a custom configuration file or to add additional metadata, such as the task, task definition, cluster, and container instance details to the log event. If specified, the syntax to use is
"options":{"enable-ecs-log-metadata":"true|false","config-file-type:"s3|file","config-file-value":"arn:aws:s3:::mybucket/fluent.conf|filepath"}
. For more information, see Creating a task definition that uses a FireLens configuration in the Amazon Elastic Container Service Developer Guide.Tasks hosted on Fargate only support the
file
configuration file type.- Parameters:
options
- The options to use when configuring the log router. This field is optional and can be used to specify a custom configuration file or to add additional metadata, such as the task, task definition, cluster, and container instance details to the log event. If specified, the syntax to use is"options":{"enable-ecs-log-metadata":"true|false","config-file-type:"s3|file","config-file-value":"arn:aws:s3:::mybucket/fluent.conf|filepath"}
. For more information, see Creating a task definition that uses a FireLens configuration in the Amazon Elastic Container Service Developer Guide.Tasks hosted on Fargate only support the
file
configuration file type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-