@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:44.237Z") @Stability(value=Stable) public interface CfnMonitoringSubscriptionProps extends software.amazon.jsii.JsiiSerializable
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.cloudfront.*;
CfnMonitoringSubscriptionProps cfnMonitoringSubscriptionProps = CfnMonitoringSubscriptionProps.builder()
.distributionId("distributionId")
.monitoringSubscription(MonitoringSubscriptionProperty.builder()
.realtimeMetricsSubscriptionConfig(RealtimeMetricsSubscriptionConfigProperty.builder()
.realtimeMetricsSubscriptionStatus("realtimeMetricsSubscriptionStatus")
.build())
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnMonitoringSubscriptionProps.Builder
A builder for
CfnMonitoringSubscriptionProps |
static class |
CfnMonitoringSubscriptionProps.Jsii$Proxy
An implementation for
CfnMonitoringSubscriptionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnMonitoringSubscriptionProps.Builder |
builder() |
String |
getDistributionId()
The ID of the distribution that you are enabling metrics for.
|
Object |
getMonitoringSubscription()
A subscription configuration for additional CloudWatch metrics.
|
@Stability(value=Stable) @NotNull String getDistributionId()
@Stability(value=Stable) @NotNull Object getMonitoringSubscription()
@Stability(value=Stable) static CfnMonitoringSubscriptionProps.Builder builder()
Copyright © 2022. All rights reserved.