@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:07.437Z") @Stability(value=Experimental) 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()
.configFileValue("configFileValue")
// the properties below are optional
.configFileType(FirelensConfigFileType.S3)
.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()
(experimental) Custom configuration file, s3 or file.
|
String |
getConfigFileValue()
(experimental) Custom configuration file, S3 ARN or a file path.
|
default Boolean |
getEnableECSLogMetadata()
(experimental) By default, Amazon ECS adds additional fields in your log entries that help identify the source of the logs.
|
@Stability(value=Experimental) @NotNull String getConfigFileValue()
@Stability(value=Experimental) @Nullable default FirelensConfigFileType getConfigFileType()
Default: - determined by checking configFileValue with S3 ARN.
@Stability(value=Experimental) @Nullable default Boolean getEnableECSLogMetadata()
You can disable this action by setting enable-ecs-log-metadata to false.
Default: - true
@Stability(value=Experimental) static FirelensOptions.Builder builder()
FirelensOptions.Builder of FirelensOptionsCopyright © 2022. All rights reserved.