LogOptions Struct
Defines what execution history events are logged and where they are logged.
Initializer
import { LogOptions } from '@cloudsnorkel/cdk-github-runners'
const logOptions: LogOptions = { ... }import cloudsnorkel.cdk_github_runners
cloudsnorkel.cdk_github_runners.LogOptions(
include_execution_data: bool = None,
level: LogLevel = None,
log_group_name: str = None,
log_retention: RetentionDays = None
)import com.cloudsnorkel.cdk.github.runners.LogOptions;
LogOptions.builder()
// .includeExecutionData(java.lang.Boolean)
// .level(LogLevel)
// .logGroupName(java.lang.String)
// .logRetention(RetentionDays)
.build();using CloudSnorkel;
new LogOptions {
bool IncludeExecutionData = null,
LogLevel Level = null,
string LogGroupName = null,
RetentionDays LogRetention = null
};import "github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners"
&cloudsnorkelcdkgithubrunners.LogOptions {
IncludeExecutionData: *bool,
Level: github.com/aws/aws-cdk-go/awscdk/v2.aws_stepfunctions.LogLevel,
LogGroupName: *string,
LogRetention: github.com/aws/aws-cdk-go/awscdk/v2.aws_logs.RetentionDays,
}Properties
includeExecutionDatainclude_execution_dataincludeExecutionDataIncludeExecutionDataIncludeExecutionData
includeExecutionData?: boolean
include_execution_data?: bool
includeExecutionData?: java.lang.Boolean
IncludeExecutionData?: bool
IncludeExecutionData?: *bool
Determines whether execution data is included in your log.
Default: true
levellevellevelLevelLevel
level?: LogLevel
level?: LogLevel
level?: LogLevel
Level?: LogLevel
Level?: LogLevel
Defines which category of execution history events are logged.
Default: ALL
logGroupNamelog_group_namelogGroupNameLogGroupNameLogGroupName
logGroupName?: string
log_group_name?: str
logGroupName?: java.lang.String
LogGroupName?: string
LogGroupName?: *string
The log group where the execution history events will be logged.
logRetentionlog_retentionlogRetentionLogRetentionLogRetention
logRetention?: RetentionDays
log_retention?: RetentionDays
logRetention?: RetentionDays
LogRetention?: RetentionDays
LogRetention?: RetentionDays
The number of days log events are kept in CloudWatch Logs.
When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to INFINITE.
Default: logs.RetentionDays.ONE_MONTH