Interface CfnLaunchTemplate.IMonitoringProperty
Specifies whether detailed monitoring is enabled for an instance.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IMonitoringProperty
Syntax (vb)
Public Interface IMonitoringProperty
Remarks
For more information about detailed monitoring, see Enable or turn off detailed monitoring for your instances in the Amazon EC2 User Guide .
Monitoring
is a property of AWS::EC2::LaunchTemplate LaunchTemplateData .
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.AWS.EC2;
var monitoringProperty = new MonitoringProperty {
Enabled = false
};
Synopsis
Properties
Enabled | Specify |
Properties
Enabled
Specify true
to enable detailed monitoring.
virtual object Enabled { get; }
Property Value
System.Object
Remarks
Otherwise, basic monitoring is enabled.