Skip to content
v2.277.0

ImportDataRuleProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3files as s3files } from 'aws-cdk-lib';
const importDataRuleProperty: s3files.CfnFileSystem.ImportDataRuleProperty = {
  prefix: 'prefix',
  sizeLessThan: 123,
  trigger: 'trigger',
};
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_s3files as s3files

import_data_rule_property = s3files.CfnFileSystem.ImportDataRuleProperty(
    prefix="prefix",
    size_less_than=123,
    trigger="trigger"
)
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.s3files.*;

ImportDataRuleProperty importDataRuleProperty = ImportDataRuleProperty.builder()
        .prefix("prefix")
        .sizeLessThan(123)
        .trigger("trigger")
        .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.S3Files;

var importDataRuleProperty = new ImportDataRuleProperty {
    Prefix = "prefix",
    SizeLessThan = 123,
    Trigger = "trigger"
};
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"

importDataRuleProperty := &ImportDataRuleProperty{
	Prefix: jsii.String("prefix"),
	SizeLessThan: jsii.Number(123),
	Trigger: jsii.String("trigger"),
}

Properties ​

prefixstringprefixstrprefixStringPrefixstringPrefix*stringrequired#
sizeLessThannumbersize_less_thanint | floatsizeLessThanNumberSizeLessThandoubleSizeLessThan*float64required#
triggerstringtriggerstrtriggerStringTriggerstringTrigger*stringrequired#