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