Interface FirelensConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FirelensConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:07.550Z")
@Stability(Stable)
public interface FirelensConfig
extends software.amazon.jsii.JsiiSerializable
Firelens Configuration https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef.
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.*; FirelensConfig firelensConfig = FirelensConfig.builder() .type(FirelensLogRouterType.FLUENTBIT) // the properties below are optional .options(FirelensOptions.builder() .configFileType(FirelensConfigFileType.S3) .configFileValue("configFileValue") .enableECSLogMetadata(false) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forFirelensConfig
static final class
An implementation forFirelensConfig
-
Method Summary
Modifier and TypeMethodDescriptionstatic FirelensConfig.Builder
builder()
default FirelensOptions
Firelens options.getType()
The log router to use.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The log router to use.Default: - fluentbit
-
getOptions
Firelens options.Default: - no additional options
-
builder
- Returns:
- a
FirelensConfig.Builder
ofFirelensConfig
-