Interface CfnTelemetryRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTelemetryRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:44.158Z")
@Stability(Stable)
public interface CfnTelemetryRuleProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTelemetryRule.
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.*;
CfnTelemetryRuleProps cfnTelemetryRuleProps = CfnTelemetryRuleProps.builder()
.rule(TelemetryRuleProperty.builder()
.resourceType("resourceType")
.telemetryType("telemetryType")
// the properties below are optional
.destinationConfiguration(TelemetryDestinationConfigurationProperty.builder()
.destinationPattern("destinationPattern")
.destinationType("destinationType")
.retentionInDays(123)
.vpcFlowLogParameters(VPCFlowLogParametersProperty.builder()
.logFormat("logFormat")
.maxAggregationInterval(123)
.trafficType("trafficType")
.build())
.build())
.selectionCriteria("selectionCriteria")
.build())
.ruleName("ruleName")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTelemetryRulePropsstatic final classAn implementation forCfnTelemetryRuleProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRule
Retrieves the details of a specific telemetry rule in your account.Returns union: either
IResolvableorCfnTelemetryRule.TelemetryRuleProperty- See Also:
-
getRuleName
The name of the telemetry rule.- See Also:
-
getTags
Lists all tags attached to the specified telemetry rule resource.- See Also:
-
builder
- Returns:
- a
CfnTelemetryRuleProps.BuilderofCfnTelemetryRuleProps
-