Class CfnApplicationPropsMixin.MonitoringConfigurationProperty
The configuration setting for monitoring logs.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EMRServerless
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnApplicationPropsMixin.MonitoringConfigurationProperty : CfnApplicationPropsMixin.IMonitoringConfigurationProperty
Syntax (vb)
Public Class CfnApplicationPropsMixin.MonitoringConfigurationProperty Implements CfnApplicationPropsMixin.IMonitoringConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EMRServerless;
var monitoringConfigurationProperty = new MonitoringConfigurationProperty {
CloudWatchLoggingConfiguration = new CloudWatchLoggingConfigurationProperty {
Enabled = false,
EncryptionKeyArn = "encryptionKeyArn",
LogGroupName = "logGroupName",
LogStreamNamePrefix = "logStreamNamePrefix",
LogTypeMap = new [] { new LogTypeMapKeyValuePairProperty {
Key = "key",
Value = new [] { "value" }
} }
},
ManagedPersistenceMonitoringConfiguration = new ManagedPersistenceMonitoringConfigurationProperty {
Enabled = false,
EncryptionKeyArn = "encryptionKeyArn"
},
PrometheusMonitoringConfiguration = new PrometheusMonitoringConfigurationProperty {
RemoteWriteUrl = "remoteWriteUrl"
},
S3MonitoringConfiguration = new S3MonitoringConfigurationProperty {
EncryptionKeyArn = "encryptionKeyArn",
LogUri = "logUri"
}
};
Synopsis
Constructors
| MonitoringConfigurationProperty() | The configuration setting for monitoring logs. |
Properties
| CloudWatchLoggingConfiguration | The Amazon CloudWatch configuration for monitoring logs. |
| ManagedPersistenceMonitoringConfiguration | The managed log persistence configuration for a job run. |
| PrometheusMonitoringConfiguration | The monitoring configuration object you can configure to send metrics to Amazon Managed Service for Prometheus for a job run. |
| S3MonitoringConfiguration | The Amazon S3 configuration for monitoring log publishing. |
Constructors
MonitoringConfigurationProperty()
The configuration setting for monitoring logs.
public MonitoringConfigurationProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EMRServerless;
var monitoringConfigurationProperty = new MonitoringConfigurationProperty {
CloudWatchLoggingConfiguration = new CloudWatchLoggingConfigurationProperty {
Enabled = false,
EncryptionKeyArn = "encryptionKeyArn",
LogGroupName = "logGroupName",
LogStreamNamePrefix = "logStreamNamePrefix",
LogTypeMap = new [] { new LogTypeMapKeyValuePairProperty {
Key = "key",
Value = new [] { "value" }
} }
},
ManagedPersistenceMonitoringConfiguration = new ManagedPersistenceMonitoringConfigurationProperty {
Enabled = false,
EncryptionKeyArn = "encryptionKeyArn"
},
PrometheusMonitoringConfiguration = new PrometheusMonitoringConfigurationProperty {
RemoteWriteUrl = "remoteWriteUrl"
},
S3MonitoringConfiguration = new S3MonitoringConfigurationProperty {
EncryptionKeyArn = "encryptionKeyArn",
LogUri = "logUri"
}
};
Properties
CloudWatchLoggingConfiguration
The Amazon CloudWatch configuration for monitoring logs.
public object? CloudWatchLoggingConfiguration { get; set; }
Property Value
Remarks
You can configure your jobs to send log information to CloudWatch.
Type union: either IResolvable or CfnApplicationPropsMixin.ICloudWatchLoggingConfigurationProperty
ManagedPersistenceMonitoringConfiguration
The managed log persistence configuration for a job run.
public object? ManagedPersistenceMonitoringConfiguration { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnApplicationPropsMixin.IManagedPersistenceMonitoringConfigurationProperty
PrometheusMonitoringConfiguration
The monitoring configuration object you can configure to send metrics to Amazon Managed Service for Prometheus for a job run.
public object? PrometheusMonitoringConfiguration { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnApplicationPropsMixin.IPrometheusMonitoringConfigurationProperty
S3MonitoringConfiguration
The Amazon S3 configuration for monitoring log publishing.
public object? S3MonitoringConfiguration { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnApplicationPropsMixin.IS3MonitoringConfigurationProperty