@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:09.609Z") @Stability(value=Experimental) public interface ContinuousLoggingProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;
import software.amazon.awscdk.services.logs.*;
LogGroup logGroup;
ContinuousLoggingProps continuousLoggingProps = ContinuousLoggingProps.builder()
.enabled(false)
// the properties below are optional
.conversionPattern("conversionPattern")
.logGroup(logGroup)
.logStreamPrefix("logStreamPrefix")
.quiet(false)
.build();
https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html| Modifier and Type | Interface and Description |
|---|---|
static class |
ContinuousLoggingProps.Builder
A builder for
ContinuousLoggingProps |
static class |
ContinuousLoggingProps.Jsii$Proxy
An implementation for
ContinuousLoggingProps |
| Modifier and Type | Method and Description |
|---|---|
static ContinuousLoggingProps.Builder |
builder() |
default String |
getConversionPattern()
(experimental) Apply the provided conversion pattern.
|
Boolean |
getEnabled()
(experimental) Enable continouous logging.
|
default ILogGroup |
getLogGroup()
(experimental) Specify a custom CloudWatch log group name.
|
default String |
getLogStreamPrefix()
(experimental) Specify a custom CloudWatch log stream prefix.
|
default Boolean |
getQuiet()
(experimental) Filter out non-useful Apache Spark driver/executor and Apache Hadoop YARN heartbeat log messages.
|
@Stability(value=Experimental) @NotNull Boolean getEnabled()
@Stability(value=Experimental) @Nullable default String getConversionPattern()
This is a Log4j Conversion Pattern to customize driver and executor logs.
Default: `%d{yy/MM/dd HH:mm:ss} %p %c{1}: %m%n`
@Stability(value=Experimental) @Nullable default ILogGroup getLogGroup()
Default: - a log group is created with name `/aws-glue/jobs/logs-v2/`.
@Stability(value=Experimental) @Nullable default String getLogStreamPrefix()
Default: - the job run ID.
@Stability(value=Experimental) @Nullable default Boolean getQuiet()
Default: true
@Stability(value=Experimental) static ContinuousLoggingProps.Builder builder()
ContinuousLoggingProps.Builder of ContinuousLoggingPropsCopyright © 2022. All rights reserved.