@aws-cdk_aws-glue-alpha.ContinuousLoggingProps

interface ContinuousLoggingProps ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Glue.Alpha.ContinuousLoggingProps
Gogithub.com/aws/aws-cdk-go/awscdkgluealpha/v2#ContinuousLoggingProps
Javasoftware.amazon.awscdk.services.glue.alpha.ContinuousLoggingProps
Pythonaws_cdk.aws_glue_alpha.ContinuousLoggingProps
TypeScript (source)@aws-cdk/aws-glue-alpha ยป ContinuousLoggingProps

Properties for enabling Continuous Logging for Glue Jobs.

See also: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as glue_alpha from '@aws-cdk/aws-glue-alpha';
import { aws_logs as logs } from 'aws-cdk-lib';

declare const logGroup: logs.LogGroup;
const continuousLoggingProps: glue_alpha.ContinuousLoggingProps = {
  enabled: false,

  // the properties below are optional
  conversionPattern: 'conversionPattern',
  logGroup: logGroup,
  logStreamPrefix: 'logStreamPrefix',
  quiet: false,
};

Properties

NameTypeDescription
enabled๐Ÿ”นbooleanEnable continouous logging.
conversionPattern?๐Ÿ”นstringApply the provided conversion pattern.
logGroup?๐Ÿ”นILogGroupSpecify a custom CloudWatch log group name.
logStreamPrefix?๐Ÿ”นstringSpecify a custom CloudWatch log stream prefix.
quiet?๐Ÿ”นbooleanFilter out non-useful Apache Spark driver/executor and Apache Hadoop YARN heartbeat log messages.

enabled๐Ÿ”น

Type: boolean

Enable continouous logging.


conversionPattern?๐Ÿ”น

Type: string (optional, default: %d{yy/MM/dd HH:mm:ss} %p %c{1}: %m%n)

Apply the provided conversion pattern.

This is a Log4j Conversion Pattern to customize driver and executor logs.


logGroup?๐Ÿ”น

Type: ILogGroup (optional, default: a log group is created with name /aws-glue/jobs/logs-v2/.)

Specify a custom CloudWatch log group name.


logStreamPrefix?๐Ÿ”น

Type: string (optional, default: the job run ID.)

Specify a custom CloudWatch log stream prefix.


quiet?๐Ÿ”น

Type: boolean (optional, default: true)

Filter out non-useful Apache Spark driver/executor and Apache Hadoop YARN heartbeat log messages.