ImportOptionsProperty Struct
Contains options for controlling the import process.
For example, if the failOnError key is set to false, the import skips the data that caused the error and continues if possible (whereas if set to true, the default, or if omitted, the import operation halts immediately when an error is encountered).
| 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_neptunegraph as neptunegraph } from 'aws-cdk-lib';
const importOptionsProperty: neptunegraph.CfnGraph.ImportOptionsProperty = {
neptune: {
s3ExportKmsKeyId: 's3ExportKmsKeyId',
s3ExportPath: 's3ExportPath',
// the properties below are optional
preserveDefaultVertexLabels: false,
preserveEdgeIds: false,
},
};
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_neptunegraph as neptunegraph
import_options_property = neptunegraph.CfnGraph.ImportOptionsProperty(
neptune=neptunegraph.CfnGraph.NeptuneImportOptionsProperty(
s3_export_kms_key_id="s3ExportKmsKeyId",
s3_export_path="s3ExportPath",
# the properties below are optional
preserve_default_vertex_labels=False,
preserve_edge_ids=False
)
)
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.neptunegraph.*;
ImportOptionsProperty importOptionsProperty = ImportOptionsProperty.builder()
.neptune(NeptuneImportOptionsProperty.builder()
.s3ExportKmsKeyId("s3ExportKmsKeyId")
.s3ExportPath("s3ExportPath")
// the properties below are optional
.preserveDefaultVertexLabels(false)
.preserveEdgeIds(false)
.build())
.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.NeptuneGraph;
var importOptionsProperty = new ImportOptionsProperty {
Neptune = new NeptuneImportOptionsProperty {
S3ExportKmsKeyId = "s3ExportKmsKeyId",
S3ExportPath = "s3ExportPath",
// the properties below are optional
PreserveDefaultVertexLabels = false,
PreserveEdgeIds = false
}
};
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"
importOptionsProperty := &ImportOptionsProperty{
Neptune: &NeptuneImportOptionsProperty{
S3ExportKmsKeyId: jsii.String("s3ExportKmsKeyId"),
S3ExportPath: jsii.String("s3ExportPath"),
// the properties below are optional
PreserveDefaultVertexLabels: jsii.Boolean(false),
PreserveEdgeIds: jsii.Boolean(false),
},
}
Properties
neptuneoptionalIResolvable | CfnGraph.neptuneoptionaltyping.Union[IResolvable, NeptuneImportOptionsProperty]neptuneoptionalIResolvableNeptuneoptionalIResolvableNeptuneoptionalinterface{} #Options for importing data from a Neptune database.