@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.712Z") @Stability(value=Stable) public interface FirelensOptions extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
FirelensOptions.Builder
A builder for
FirelensOptions |
static class |
FirelensOptions.Jsii$Proxy
An implementation for
FirelensOptions |
| Modifier and Type | Method and Description |
|---|---|
static FirelensOptions.Builder |
builder() |
default FirelensConfigFileType |
getConfigFileType()
Custom configuration file, s3 or file.
|
default String |
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 Boolean |
getEnableECSLogMetadata()
By default, Amazon ECS adds additional fields in your log entries that help identify the source of the logs.
|
@Stability(value=Stable) @Nullable default FirelensConfigFileType getConfigFileType()
Both configFileType and configFileValue must be used together to define a custom configuration source.
Default: - determined by checking configFileValue with S3 ARN.
@Stability(value=Stable) @Nullable default String getConfigFileValue()
Default: - no config file value
@Stability(value=Stable) @Nullable default Boolean getEnableECSLogMetadata()
You can disable this action by setting enable-ecs-log-metadata to false.
Default: - true
@Stability(value=Stable) static FirelensOptions.Builder builder()
FirelensOptions.Builder of FirelensOptionsCopyright © 2022. All rights reserved.