interface MonitoringProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnLaunchTemplatePropsMixin.MonitoringProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnLaunchTemplatePropsMixin_MonitoringProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnLaunchTemplatePropsMixin.MonitoringProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnLaunchTemplatePropsMixin.MonitoringProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnLaunchTemplatePropsMixin » MonitoringProperty |
Specifies whether detailed monitoring is enabled for an instance.
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 .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const monitoringProperty: ec2_mixins.CfnLaunchTemplatePropsMixin.MonitoringProperty = {
enabled: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| enabled? | boolean | IResolvable | Specify true to enable detailed monitoring. |
enabled?
Type:
boolean | IResolvable
(optional)
Specify true to enable detailed monitoring.
Otherwise, basic monitoring is enabled.

.NET
Go
Java
Python
TypeScript