interface MonitoringConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EMRServerless.CfnApplication.MonitoringConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsemrserverless#CfnApplication_MonitoringConfigurationProperty |
Java | software.amazon.awscdk.services.emrserverless.CfnApplication.MonitoringConfigurationProperty |
Python | aws_cdk.aws_emrserverless.CfnApplication.MonitoringConfigurationProperty |
TypeScript | aws-cdk-lib » aws_emrserverless » CfnApplication » MonitoringConfigurationProperty |
The configuration setting for monitoring.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emrserverless as emrserverless } from 'aws-cdk-lib';
const monitoringConfigurationProperty: emrserverless.CfnApplication.MonitoringConfigurationProperty = {
cloudWatchLoggingConfiguration: {
enabled: false,
encryptionKeyArn: 'encryptionKeyArn',
logGroupName: 'logGroupName',
logStreamNamePrefix: 'logStreamNamePrefix',
logTypeMap: [{
key: 'key',
value: ['value'],
}],
},
managedPersistenceMonitoringConfiguration: {
enabled: false,
encryptionKeyArn: 'encryptionKeyArn',
},
s3MonitoringConfiguration: {
encryptionKeyArn: 'encryptionKeyArn',
logUri: 'logUri',
},
};
Properties
Name | Type | Description |
---|---|---|
cloud | IResolvable | Cloud | The Amazon CloudWatch configuration for monitoring logs. |
managed | IResolvable | Managed | The managed log persistence configuration for a job run. |
s3 | IResolvable | S3 | The Amazon S3 configuration for monitoring log publishing. |
cloudWatchLoggingConfiguration?
Type:
IResolvable
|
Cloud
(optional)
The Amazon CloudWatch configuration for monitoring logs.
You can configure your jobs to send log information to CloudWatch .
managedPersistenceMonitoringConfiguration?
Type:
IResolvable
|
Managed
(optional)
The managed log persistence configuration for a job run.
s3MonitoringConfiguration?
Type:
IResolvable
|
S3
(optional)
The Amazon S3 configuration for monitoring log publishing.