Interface FireLensLogDriverProps
- All Superinterfaces:
BaseLogDriverProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FireLensLogDriverProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.353Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forFireLensLogDriverPropsstatic final classAn 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, getTagMethods 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.BuilderofFireLensLogDriverProps
-