Skip to content
v2.274.0

AdvancedFieldSelectorProperty Struct ​

Defines criteria for selecting resources based on field values.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_observabilityadmin as observabilityadmin } from 'aws-cdk-lib';
const advancedFieldSelectorProperty: observabilityadmin.CfnOrganizationTelemetryRule.AdvancedFieldSelectorProperty = {
  endsWith: ['endsWith'],
  equalTo: ['equalTo'],
  field: 'field',
  notEndsWith: ['notEndsWith'],
  notEquals: ['notEquals'],
  notStartsWith: ['notStartsWith'],
  startsWith: ['startsWith'],
};

Properties ​

endsWithstring[]ends_withtyping.List[str]endsWithList<String>EndsWithstring[]EndsWith*[]*string#
Matches if the field value ends with the specified value.
equalTostring[]equal_totyping.List[str]equalToList<String>EqualTostring[]EqualTo*[]*string#
Matches if the field value equals the specified value.
fieldstringfieldstrfieldStringFieldstringField*string#
The name of the field to use for selection.
notEndsWithstring[]not_ends_withtyping.List[str]notEndsWithList<String>NotEndsWithstring[]NotEndsWith*[]*string#
Matches if the field value does not end with the specified value.
notEqualsstring[]not_equalstyping.List[str]notEqualsList<String>NotEqualsstring[]NotEquals*[]*string#
Matches if the field value does not equal the specified value.
notStartsWithstring[]not_starts_withtyping.List[str]notStartsWithList<String>NotStartsWithstring[]NotStartsWith*[]*string#
Matches if the field value does not start with the specified value.
startsWithstring[]starts_withtyping.List[str]startsWithList<String>StartsWithstring[]StartsWith*[]*string#
Matches if the field value starts with the specified value.