@Stability(value=Stable)
public static interface CfnLaunchTemplate.MonitoringProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ec2.*;
MonitoringProperty monitoringProperty = MonitoringProperty.builder()
.enabled(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLaunchTemplate.MonitoringProperty.Builder
A builder for
CfnLaunchTemplate.MonitoringProperty |
static class |
CfnLaunchTemplate.MonitoringProperty.Jsii$Proxy
An implementation for
CfnLaunchTemplate.MonitoringProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLaunchTemplate.MonitoringProperty.Builder |
builder() |
default Object |
getEnabled()
Specify `true` to enable detailed monitoring.
|
@Stability(value=Stable) @Nullable default Object getEnabled()
Otherwise, basic monitoring is enabled.
@Stability(value=Stable) static CfnLaunchTemplate.MonitoringProperty.Builder builder()
Copyright © 2022. All rights reserved.