Skip to content
v2.278.0

FilterItemsProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_accessanalyzer as accessanalyzer } from 'aws-cdk-lib';
const filterItemsProperty: accessanalyzer.CfnArchiveRule.FilterItemsProperty = {
  contains: ['contains'],
  eq: ['eq'],
  exists: false,
  neq: ['neq'],
};
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_accessanalyzer as accessanalyzer

filter_items_property = accessanalyzer.CfnArchiveRule.FilterItemsProperty(
    contains=["contains"],
    eq=["eq"],
    exists=False,
    neq=["neq"]
)
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.accessanalyzer.*;

FilterItemsProperty filterItemsProperty = FilterItemsProperty.builder()
        .contains(List.of("contains"))
        .eq(List.of("eq"))
        .exists(false)
        .neq(List.of("neq"))
        .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.AccessAnalyzer;

var filterItemsProperty = new FilterItemsProperty {
    Contains = new [] { "contains" },
    Eq = new [] { "eq" },
    Exists = false,
    Neq = new [] { "neq" }
};
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"

filterItemsProperty := &FilterItemsProperty{
	Contains: []*string{
		jsii.String("contains"),
	},
	Eq: []*string{
		jsii.String("eq"),
	},
	Exists: jsii.Boolean(false),
	Neq: []*string{
		jsii.String("neq"),
	},
}

Properties ​

containsoptionalstring[]containsoptionaltyping.List[str]containsoptionalList<String>Containsoptionalstring[]Containsoptional*[]*string #
eqoptionalstring[]eqoptionaltyping.List[str]eqoptionalList<String>Eqoptionalstring[]Eqoptional*[]*string #
existsoptionalboolean | IResolvableexistsoptionaltyping.Union[bool, IResolvable]existsoptionalBooleanExistsoptionalboolExistsoptionalinterface{} #
neqoptionalstring[]neqoptionaltyping.List[str]neqoptionalList<String>Neqoptionalstring[]Neqoptional*[]*string #