Interface FireLensLogDriverProps
- All Superinterfaces:
BaseLogDriverProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FireLensLogDriverProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:01.103Z")
@Stability(Stable)
public interface FireLensLogDriverProps
extends software.amazon.jsii.JsiiSerializable, BaseLogDriverProps
Specifies the firelens log driver configuration options.
Example:
// Create a Task Definition for the container to start Ec2TaskDefinition taskDefinition = new Ec2TaskDefinition(this, "TaskDef"); taskDefinition.addContainer("TheContainer", ContainerDefinitionOptions.builder() .image(ContainerImage.fromRegistry("example-image")) .memoryLimitMiB(256) .logging(LogDrivers.firelens(FireLensLogDriverProps.builder() .options(Map.of( "Name", "firehose", "region", "us-west-2", "delivery_stream", "my-stream")) .build())) .build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forFireLensLogDriverProps
static final class
An implementation forFireLensLogDriverProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The configuration options to send to the log driver.The secrets to pass to the log configuration.Methods inherited from interface software.amazon.awscdk.services.ecs.BaseLogDriverProps
getEnv, getEnvRegex, getLabels, getTag
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOptions
The configuration options to send to the log driver.Default: - the log driver options
-
getSecretOptions
The secrets to pass to the log configuration.Default: - No secret options provided.
-
builder
- Returns:
- a
FireLensLogDriverProps.Builder
ofFireLensLogDriverProps
-