Skip to content
v2.278.0

DataCollectionOptionsProperty Struct ​

Information about the data collection options enabled for a VM cluster.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_odb as odb } from 'aws-cdk-lib';
const dataCollectionOptionsProperty: odb.CfnCloudVmCluster.DataCollectionOptionsProperty = {
  isDiagnosticsEventsEnabled: false,
  isHealthMonitoringEnabled: false,
  isIncidentLogsEnabled: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_odb as odb

data_collection_options_property = odb.CfnCloudVmCluster.DataCollectionOptionsProperty(
    is_diagnostics_events_enabled=False,
    is_health_monitoring_enabled=False,
    is_incident_logs_enabled=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.odb.*;

DataCollectionOptionsProperty dataCollectionOptionsProperty = DataCollectionOptionsProperty.builder()
        .isDiagnosticsEventsEnabled(false)
        .isHealthMonitoringEnabled(false)
        .isIncidentLogsEnabled(false)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ODB;

var dataCollectionOptionsProperty = new DataCollectionOptionsProperty {
    IsDiagnosticsEventsEnabled = false,
    IsHealthMonitoringEnabled = false,
    IsIncidentLogsEnabled = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

dataCollectionOptionsProperty := &DataCollectionOptionsProperty{
	IsDiagnosticsEventsEnabled: jsii.Boolean(false),
	IsHealthMonitoringEnabled: jsii.Boolean(false),
	IsIncidentLogsEnabled: jsii.Boolean(false),
}

Properties ​

isDiagnosticsEventsEnabledoptionalboolean | IResolvableis_diagnostics_events_enabledoptionaltyping.Union[bool, IResolvable]isDiagnosticsEventsEnabledoptionalBooleanIsDiagnosticsEventsEnabledoptionalboolIsDiagnosticsEventsEnabledoptionalinterface{} #
Specifies whether diagnostic collection is enabled for the VM cluster.
isHealthMonitoringEnabledoptionalboolean | IResolvableis_health_monitoring_enabledoptionaltyping.Union[bool, IResolvable]isHealthMonitoringEnabledoptionalBooleanIsHealthMonitoringEnabledoptionalboolIsHealthMonitoringEnabledoptionalinterface{} #
Specifies whether health monitoring is enabled for the VM cluster.
isIncidentLogsEnabledoptionalboolean | IResolvableis_incident_logs_enabledoptionaltyping.Union[bool, IResolvable]isIncidentLogsEnabledoptionalBooleanIsIncidentLogsEnabledoptionalboolIsIncidentLogsEnabledoptionalinterface{} #
Specifies whether incident logs are enabled for the VM cluster.