Class AwsLogDriverProps.Jsii$Proxy
- All Implemented Interfaces:
AwsLogDriverProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
AwsLogDriverProps
AwsLogDriverProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.AwsLogDriverProps
AwsLogDriverProps.Builder, AwsLogDriverProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(AwsLogDriverProps.Builder builder) Constructor that initializes the object based on literal property values passed by theAwsLogDriverProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThis option defines a multiline start pattern in Python strftime format.final ILogGroupThe log group to log to.final RetentionDaysThe number of days log events are kept in CloudWatch Logs when the log group is automatically created by this construct.final SizeWhen AwsLogDriverMode.NON_BLOCKING is configured, this parameter controls the size of the non-blocking buffer used to temporarily store messages.final AwsLogDriverModegetMode()The delivery mode of log messages from the container to awslogs.final StringThis option defines a multiline start pattern using a regular expression.final StringPrefix for the log streams.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theAwsLogDriverProps.Builder.
-
-
Method Details
-
getStreamPrefix
Description copied from interface:AwsLogDriverPropsPrefix for the log streams.The awslogs-stream-prefix option allows you to associate a log stream with the specified prefix, the container name, and the ID of the Amazon ECS task to which the container belongs. If you specify a prefix with this option, then the log stream takes the following format:
prefix-name/container-name/ecs-task-id
- Specified by:
getStreamPrefixin interfaceAwsLogDriverProps
-
getDatetimeFormat
Description copied from interface:AwsLogDriverPropsThis option defines a multiline start pattern in Python strftime format.A log message consists of a line that matches the pattern and any following lines that don’t match the pattern. Thus the matched line is the delimiter between log messages.
Default: - No multiline matching.
- Specified by:
getDatetimeFormatin interfaceAwsLogDriverProps
-
getLogGroup
Description copied from interface:AwsLogDriverPropsThe log group to log to.Default: - A log group is automatically created.
- Specified by:
getLogGroupin interfaceAwsLogDriverProps
-
getLogRetention
Description copied from interface:AwsLogDriverPropsThe number of days log events are kept in CloudWatch Logs when the log group is automatically created by this construct.Default: - Logs never expire.
- Specified by:
getLogRetentionin interfaceAwsLogDriverProps
-
getMaxBufferSize
Description copied from interface:AwsLogDriverPropsWhen AwsLogDriverMode.NON_BLOCKING is configured, this parameter controls the size of the non-blocking buffer used to temporarily store messages. This parameter is not valid with AwsLogDriverMode.BLOCKING.Default: - 1 megabyte if driver mode is non-blocking, otherwise this property is not set
- Specified by:
getMaxBufferSizein interfaceAwsLogDriverProps
-
getMode
Description copied from interface:AwsLogDriverPropsThe delivery mode of log messages from the container to awslogs.Default: - AwsLogDriverMode.BLOCKING
- Specified by:
getModein interfaceAwsLogDriverProps
-
getMultilinePattern
Description copied from interface:AwsLogDriverPropsThis option defines a multiline start pattern using a regular expression.A log message consists of a line that matches the pattern and any following lines that don’t match the pattern. Thus the matched line is the delimiter between log messages.
This option is ignored if datetimeFormat is also configured.
Default: - No multiline matching.
- Specified by:
getMultilinePatternin interfaceAwsLogDriverProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-