FilterAndOperatorProperty Struct
| 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_s3outposts as s3outposts } from 'aws-cdk-lib';
const filterAndOperatorProperty: s3outposts.CfnBucket.FilterAndOperatorProperty = {
tags: [{
key: 'key',
value: 'value',
}],
// the properties below are optional
prefix: 'prefix',
};
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_s3outposts as s3outposts
filter_and_operator_property = s3outposts.CfnBucket.FilterAndOperatorProperty(
tags=[s3outposts.CfnBucket.FilterTagProperty(
key="key",
value="value"
)],
# the properties below are optional
prefix="prefix"
)
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.s3outposts.*;
FilterAndOperatorProperty filterAndOperatorProperty = FilterAndOperatorProperty.builder()
.tags(List.of(FilterTagProperty.builder()
.key("key")
.value("value")
.build()))
// the properties below are optional
.prefix("prefix")
.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.S3Outposts;
var filterAndOperatorProperty = new FilterAndOperatorProperty {
Tags = new [] { new FilterTagProperty {
Key = "key",
Value = "value"
} },
// the properties below are optional
Prefix = "prefix"
};
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"
filterAndOperatorProperty := &FilterAndOperatorProperty{
Tags: []FilterTagProperty{
&FilterTagProperty{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
// the properties below are optional
Prefix: jsii.String("prefix"),
}
Properties
prefixoptionalstringprefixoptionalstrprefixoptionalStringPrefixoptionalstringPrefixoptional*string #Prefix identifies one or more objects to which the rule applies.
tagsCfnBucket.FilterTagProperty[]tagstyping.List[FilterTagProperty]tagsList<FilterTagProperty>TagsFilterTagProperty[]Tags*[]FilterTagProperty required #All of these tags must exist in the object's tag set in order for the rule to apply.