Interface CfnTelemetryRule.AdvancedEventSelectorProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTelemetryRule.AdvancedEventSelectorProperty.Jsii$Proxy
- Enclosing class:
CfnTelemetryRule
@Stability(Stable)
public static interface CfnTelemetryRule.AdvancedEventSelectorProperty
extends software.amazon.jsii.JsiiSerializable
Advanced event selectors let you create fine-grained selectors for management, data, and network activity events.
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.*;
AdvancedEventSelectorProperty advancedEventSelectorProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTelemetryRule.AdvancedEventSelectorPropertystatic final classAn implementation forCfnTelemetryRule.AdvancedEventSelectorProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFieldSelectors
Contains all selector statements in an advanced event selector.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTelemetryRule.AdvancedFieldSelectorProperty>- See Also:
-
getName
An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".- See Also:
-
builder
-