MatchObjectSizeProperty Struct
This resource filters objects that match the specified object size range.
| 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_s3 as s3 } from 'aws-cdk-lib';
const matchObjectSizeProperty: s3.CfnStorageLensGroup.MatchObjectSizeProperty = {
bytesGreaterThan: 123,
bytesLessThan: 123,
};
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_s3 as s3
match_object_size_property = s3.CfnStorageLensGroup.MatchObjectSizeProperty(
bytes_greater_than=123,
bytes_less_than=123
)
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.s3.*;
MatchObjectSizeProperty matchObjectSizeProperty = MatchObjectSizeProperty.builder()
.bytesGreaterThan(123)
.bytesLessThan(123)
.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.S3;
var matchObjectSizeProperty = new MatchObjectSizeProperty {
BytesGreaterThan = 123,
BytesLessThan = 123
};
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"
matchObjectSizeProperty := &MatchObjectSizeProperty{
BytesGreaterThan: jsii.Number(123),
BytesLessThan: jsii.Number(123),
}
Properties
bytesGreaterThanoptionalnumberbytes_greater_thanoptionalint | floatbytesGreaterThanoptionalNumberBytesGreaterThanoptionaldoubleBytesGreaterThanoptional*float64 #This property specifies the minimum object size in bytes.
The value must be a positive number, greater than 0 and less than 5 TB.
bytesLessThanoptionalnumberbytes_less_thanoptionalint | floatbytesLessThanoptionalNumberBytesLessThanoptionaldoubleBytesLessThanoptional*float64 #This property specifies the maximum object size in bytes.
The value must be a positive number, greater than the minimum object size and less than 5 TB.