interface MonitoringProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnLaunchTemplate.MonitoringProperty |
Java | software.amazon.awscdk.services.ec2.CfnLaunchTemplate.MonitoringProperty |
Python | aws_cdk.aws_ec2.CfnLaunchTemplate.MonitoringProperty |
TypeScript | @aws-cdk/aws-ec2 » CfnLaunchTemplate » 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 * as ec2 from '@aws-cdk/aws-ec2';
const monitoringProperty: ec2.CfnLaunchTemplate.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.