AdvancedFieldSelectorProperty Struct
Defines criteria for selecting resources based on field values.
| Source | |
|---|---|
| Type last changed |
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'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_observabilityadmin as observabilityadmin
advanced_field_selector_property = observabilityadmin.CfnOrganizationTelemetryRule.AdvancedFieldSelectorProperty(
ends_with=["endsWith"],
equal_to=["equalTo"],
field="field",
not_ends_with=["notEndsWith"],
not_equals=["notEquals"],
not_starts_with=["notStartsWith"],
starts_with=["startsWith"]
)
java
// 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.*;
AdvancedFieldSelectorProperty advancedFieldSelectorProperty = 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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ObservabilityAdmin;
var advancedFieldSelectorProperty = new AdvancedFieldSelectorProperty {
EndsWith = new [] { "endsWith" },
EqualTo = new [] { "equalTo" },
Field = "field",
NotEndsWith = new [] { "notEndsWith" },
NotEquals = new [] { "notEquals" },
NotStartsWith = new [] { "notStartsWith" },
StartsWith = new [] { "startsWith" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
advancedFieldSelectorProperty := &AdvancedFieldSelectorProperty{
EndsWith: []*string{
jsii.String("endsWith"),
},
EqualTo: []*string{
jsii.String("equalTo"),
},
Field: jsii.String("field"),
NotEndsWith: []*string{
jsii.String("notEndsWith"),
},
NotEquals: []*string{
jsii.String("notEquals"),
},
NotStartsWith: []*string{
jsii.String("notStartsWith"),
},
StartsWith: []*string{
jsii.String("startsWith"),
},
}
Properties
endsWithoptionalstring[]ends_withoptionaltyping.List[str]endsWithoptionalList<String>EndsWithoptionalstring[]EndsWithoptional*[]*string #Matches if the field value ends with the specified value.
equalTooptionalstring[]equal_tooptionaltyping.List[str]equalTooptionalList<String>EqualTooptionalstring[]EqualTooptional*[]*string #Matches if the field value equals the specified value.
The name of the field to use for selection.
notEndsWithoptionalstring[]not_ends_withoptionaltyping.List[str]notEndsWithoptionalList<String>NotEndsWithoptionalstring[]NotEndsWithoptional*[]*string #Matches if the field value does not end with the specified value.
notEqualsoptionalstring[]not_equalsoptionaltyping.List[str]notEqualsoptionalList<String>NotEqualsoptionalstring[]NotEqualsoptional*[]*string #Matches if the field value does not equal the specified value.
notStartsWithoptionalstring[]not_starts_withoptionaltyping.List[str]notStartsWithoptionalList<String>NotStartsWithoptionalstring[]NotStartsWithoptional*[]*string #Matches if the field value does not start with the specified value.
startsWithoptionalstring[]starts_withoptionaltyping.List[str]startsWithoptionalList<String>StartsWithoptionalstring[]StartsWithoptional*[]*string #Matches if the field value starts with the specified value.