Interface FirelensOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FirelensOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-01-25T00:20:55.052Z")
@Stability(Stable)
public interface FirelensOptions
extends software.amazon.jsii.JsiiSerializable
The options for firelens log router https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef-customconfig.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ecs.*; FirelensOptions firelensOptions = FirelensOptions.builder() .configFileType(FirelensConfigFileType.S3) .configFileValue("configFileValue") .enableECSLogMetadata(false) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forFirelensOptions
static final class
An implementation forFirelensOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic FirelensOptions.Builder
builder()
default FirelensConfigFileType
Custom configuration file, s3 or file.default String
Custom configuration file, S3 ARN or a file path Both configFileType and configFileValue must be used together to define a custom configuration source.default Boolean
By default, Amazon ECS adds additional fields in your log entries that help identify the source of the logs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfigFileType
Custom configuration file, s3 or file.Both configFileType and configFileValue must be used together to define a custom configuration source.
Default: - determined by checking configFileValue with S3 ARN.
-
getConfigFileValue
Custom configuration file, S3 ARN or a file path Both configFileType and configFileValue must be used together to define a custom configuration source.Default: - no config file value
-
getEnableECSLogMetadata
By default, Amazon ECS adds additional fields in your log entries that help identify the source of the logs.You can disable this action by setting enable-ecs-log-metadata to false.
Default: - true
-
builder
- Returns:
- a
FirelensOptions.Builder
ofFirelensOptions
-