PrefixConfigProperty Struct
Specifies elements that Amazon AppFlow includes in the file and folder names in the flow destination.
| 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_appflow as appflow } from 'aws-cdk-lib';
const prefixConfigProperty: appflow.CfnFlow.PrefixConfigProperty = {
pathPrefixHierarchy: ['pathPrefixHierarchy'],
prefixFormat: 'prefixFormat',
prefixType: 'prefixType',
};
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_appflow as appflow
prefix_config_property = appflow.CfnFlow.PrefixConfigProperty(
path_prefix_hierarchy=["pathPrefixHierarchy"],
prefix_format="prefixFormat",
prefix_type="prefixType"
)
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.appflow.*;
PrefixConfigProperty prefixConfigProperty = PrefixConfigProperty.builder()
.pathPrefixHierarchy(List.of("pathPrefixHierarchy"))
.prefixFormat("prefixFormat")
.prefixType("prefixType")
.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.AppFlow;
var prefixConfigProperty = new PrefixConfigProperty {
PathPrefixHierarchy = new [] { "pathPrefixHierarchy" },
PrefixFormat = "prefixFormat",
PrefixType = "prefixType"
};
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"
prefixConfigProperty := &PrefixConfigProperty{
PathPrefixHierarchy: []*string{
jsii.String("pathPrefixHierarchy"),
},
PrefixFormat: jsii.String("prefixFormat"),
PrefixType: jsii.String("prefixType"),
}
Properties
pathPrefixHierarchyoptionalstring[]path_prefix_hierarchyoptionaltyping.List[str]pathPrefixHierarchyoptionalList<String>PathPrefixHierarchyoptionalstring[]PathPrefixHierarchyoptional*[]*string #Specifies whether the destination file path includes either or both of the following elements:.
notes
EXECUTION_ID - The ID that Amazon AppFlow assigns to the flow run.
SCHEMA_VERSION - The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration:
Source-to-destination field mappings
Field data types
Partition keys
prefixFormatoptionalstringprefix_formatoptionalstrprefixFormatoptionalStringPrefixFormatoptionalstringPrefixFormatoptional*string #Determines the level of granularity for the date and time that's included in the prefix.
prefixTypeoptionalstringprefix_typeoptionalstrprefixTypeoptionalStringPrefixTypeoptionalstringPrefixTypeoptional*string #Determines the format of the prefix, and whether it applies to the file name, file path, or both.