Class CfnLaunchTemplate.MonitoringProperty
Specifies whether detailed monitoring is enabled for an instance.
Inheritance
System.Object
CfnLaunchTemplate.MonitoringProperty
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MonitoringProperty : Object, CfnLaunchTemplate.IMonitoringProperty
Syntax (vb)
Public Class MonitoringProperty
Inherits Object
Implements CfnLaunchTemplate.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
Constructors
MonitoringProperty() |
Properties
Enabled | Specify |
Constructors
MonitoringProperty()
public MonitoringProperty()
Properties
Enabled
Specify true
to enable detailed monitoring.
public object Enabled { get; set; }
Property Value
System.Object
Remarks
Otherwise, basic monitoring is enabled.