Interface CfnJobDefinitionPropsMixin.FirelensConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinitionPropsMixin.FirelensConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnJobDefinitionPropsMixin
This is used to specify and configure a log router for container logs. For more information, see Custom log routing in the Amazon Elastic Container Service Developer Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.batch.*;
FirelensConfigurationProperty firelensConfigurationProperty = FirelensConfigurationProperty.builder()
.options(Map.of(
"optionsKey", "options"))
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnJobDefinitionPropsMixin.FirelensConfigurationPropertystatic final classAn implementation forCfnJobDefinitionPropsMixin.FirelensConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOptions
The options to use when configuring the log router.This field is optional and can be used to specify a custom configuration file or to add additional metadata, such as the task, task definition, cluster, and container instance details to the log event. If specified, the syntax to use is
"options":{"enable-ecs-log-metadata":"true|false","config-file-type:"s3|file","config-file-value":"arn:aws:s3:::mybucket/fluent.conf|filepath"}. For more information, see Creating a task definition that uses a FireLens configuration in the Amazon Elastic Container Service Developer Guide .Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
getType
The log router to use.The valid values are
fluentdorfluentbit.- See Also:
-
builder
@Stability(Stable) static CfnJobDefinitionPropsMixin.FirelensConfigurationProperty.Builder builder()
-