Interface CfnOrganizationTelemetryRule.TelemetryRuleProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnOrganizationTelemetryRule.TelemetryRuleProperty.Jsii$Proxy
Enclosing class:
CfnOrganizationTelemetryRule

@Stability(Stable) public static interface CfnOrganizationTelemetryRule.TelemetryRuleProperty extends software.amazon.jsii.JsiiSerializable
Defines how telemetry should be configured for specific 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.*;
 TelemetryRuleProperty telemetryRuleProperty = TelemetryRuleProperty.builder()
         .resourceType("resourceType")
         .telemetryType("telemetryType")
         // the properties below are optional
         .destinationConfiguration(TelemetryDestinationConfigurationProperty.builder()
                 .cloudtrailParameters(CloudtrailParametersProperty.builder()
                         .advancedEventSelectors(List.of(AdvancedEventSelectorProperty.builder()
                                 .fieldSelectors(List.of(AdvancedFieldSelectorProperty.builder()
                                         .endsWith(List.of("endsWith"))
                                         .equalTo(List.of("equalTo"))
                                         .field("field")
                                         .notEndsWith(List.of("notEndsWith"))
                                         .notEquals(List.of("notEquals"))
                                         .notStartsWith(List.of("notStartsWith"))
                                         .startsWith(List.of("startsWith"))
                                         .build()))
                                 // the properties below are optional
                                 .name("name")
                                 .build()))
                         .build())
                 .destinationPattern("destinationPattern")
                 .destinationType("destinationType")
                 .elbLoadBalancerLoggingParameters(ELBLoadBalancerLoggingParametersProperty.builder()
                         .fieldDelimiter("fieldDelimiter")
                         .outputFormat("outputFormat")
                         .build())
                 .retentionInDays(123)
                 .vpcFlowLogParameters(VPCFlowLogParametersProperty.builder()
                         .logFormat("logFormat")
                         .maxAggregationInterval(123)
                         .trafficType("trafficType")
                         .build())
                 .wafLoggingParameters(WAFLoggingParametersProperty.builder()
                         .loggingFilter(LoggingFilterProperty.builder()
                                 .defaultBehavior("defaultBehavior")
                                 .filters(List.of(FilterProperty.builder()
                                         .behavior("behavior")
                                         .conditions(List.of(ConditionProperty.builder()
                                                 .actionCondition(ActionConditionProperty.builder()
                                                         .action("action")
                                                         .build())
                                                 .labelNameCondition(LabelNameConditionProperty.builder()
                                                         .labelName("labelName")
                                                         .build())
                                                 .build()))
                                         .requirement("requirement")
                                         .build()))
                                 .build())
                         .logType("logType")
                         .redactedFields(List.of(FieldToMatchProperty.builder()
                                 .method("method")
                                 .queryString("queryString")
                                 .singleHeader(SingleHeaderProperty.builder()
                                         .name("name")
                                         .build())
                                 .uriPath("uriPath")
                                 .build()))
                         .build())
                 .build())
         .scope("scope")
         .selectionCriteria("selectionCriteria")
         .telemetrySourceTypes(List.of("telemetrySourceTypes"))
         .build();
 

See Also: