interface MonitoringProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnLaunchTemplate.MonitoringProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnLaunchTemplate_MonitoringProperty |
Java | software.amazon.awscdk.services.ec2.CfnLaunchTemplate.MonitoringProperty |
Python | aws_cdk.aws_ec2.CfnLaunchTemplate.MonitoringProperty |
TypeScript | aws-cdk-lib » 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 { aws_ec2 as ec2 } from 'aws-cdk-lib';
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.