interface SpotFleetMonitoringProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnSpotFleet.SpotFleetMonitoringProperty |
Java | software.amazon.awscdk.services.ec2.CfnSpotFleet.SpotFleetMonitoringProperty |
Python | aws_cdk.aws_ec2.CfnSpotFleet.SpotFleetMonitoringProperty |
TypeScript | @aws-cdk/aws-ec2 » CfnSpotFleet » SpotFleetMonitoringProperty |
Describes whether monitoring is enabled.
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 spotFleetMonitoringProperty: ec2.CfnSpotFleet.SpotFleetMonitoringProperty = {
enabled: false,
};
Properties
Name | Type | Description |
---|---|---|
enabled? | boolean | IResolvable | Enables monitoring for the instance. |
enabled?
Type:
boolean |
IResolvable
(optional)
Enables monitoring for the instance.
Default: false