Interface CfnTelemetryRule.TelemetryDestinationConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTelemetryRule.TelemetryDestinationConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnTelemetryRule
@Stability(Stable)
public static interface CfnTelemetryRule.TelemetryDestinationConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration specifying where and how telemetry data should be delivered for AWS resources.
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.observabilityadmin.*;
TelemetryDestinationConfigurationProperty telemetryDestinationConfigurationProperty = TelemetryDestinationConfigurationProperty.builder()
.destinationPattern("destinationPattern")
.destinationType("destinationType")
.retentionInDays(123)
.vpcFlowLogParameters(VPCFlowLogParametersProperty.builder()
.logFormat("logFormat")
.maxAggregationInterval(123)
.trafficType("trafficType")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnTelemetryRule.TelemetryDestinationConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe pattern used to generate the destination path or name, supporting macros likeand . default StringThe type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").default NumberThe number of days to retain the telemetry data in the destination.default ObjectConfiguration parameters specific to VPC Flow Logs when VPC is the resource type.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestinationPattern
The pattern used to generate the destination path or name, supporting macros likeand . - See Also:
-
getDestinationType
The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").- See Also:
-
getRetentionInDays
The number of days to retain the telemetry data in the destination.- See Also:
-
getVpcFlowLogParameters
Configuration parameters specific to VPC Flow Logs when VPC is the resource type.Returns union: either
IResolvableorCfnTelemetryRule.VPCFlowLogParametersProperty- See Also:
-
builder
@Stability(Stable) static CfnTelemetryRule.TelemetryDestinationConfigurationProperty.Builder builder()
-