Interface FirelensConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FirelensConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:55:57.373Z")
@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
-