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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.AwsLogDriverProps
AwsLogDriverProps.Builder, AwsLogDriverProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(AwsLogDriverProps.Builder builder) Constructor that initializes the object based on literal property values passed by theAwsLogDriverProps.Builder
.protected
Jsii$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.JsonNode
final boolean
final String
This option defines a multiline start pattern in Python strftime format.final ILogGroup
The log group to log to.final RetentionDays
The number of days log events are kept in CloudWatch Logs when the log group is automatically created by this construct.final AwsLogDriverMode
getMode()
The delivery mode of log messages from the container to awslogs.final String
This option defines a multiline start pattern using a regular expression.final String
Prefix for the log streams.final int
hashCode()
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:AwsLogDriverProps
Prefix 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:
getStreamPrefix
in interfaceAwsLogDriverProps
-
getDatetimeFormat
Description copied from interface:AwsLogDriverProps
This 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:
getDatetimeFormat
in interfaceAwsLogDriverProps
-
getLogGroup
Description copied from interface:AwsLogDriverProps
The log group to log to.Default: - A log group is automatically created.
- Specified by:
getLogGroup
in interfaceAwsLogDriverProps
-
getLogRetention
Description copied from interface:AwsLogDriverProps
The 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:
getLogRetention
in interfaceAwsLogDriverProps
-
getMode
Description copied from interface:AwsLogDriverProps
The delivery mode of log messages from the container to awslogs.Default: - AwsLogDriverMode.BLOCKING
- Specified by:
getMode
in interfaceAwsLogDriverProps
-
getMultilinePattern
Description copied from interface:AwsLogDriverProps
This 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:
getMultilinePattern
in interfaceAwsLogDriverProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-