Skip to content
v2.277.0

StoreOptionsProperty Struct ​

The store's file parsing options.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_omics as omics } from 'aws-cdk-lib';

declare const schema: any;
const storeOptionsProperty: omics.CfnAnnotationStore.StoreOptionsProperty = {
  tsvStoreOptions: {
    annotationType: 'annotationType',
    formatToHeader: {
      formatToHeaderKey: 'formatToHeader',
    },
    schema: schema,
  },
};
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_omics as omics

# schema: Any

store_options_property = omics.CfnAnnotationStore.StoreOptionsProperty(
    tsv_store_options=omics.CfnAnnotationStore.TsvStoreOptionsProperty(
        annotation_type="annotationType",
        format_to_header={
            "format_to_header_key": "formatToHeader"
        },
        schema=schema
    )
)
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.omics.*;

Object schema;

StoreOptionsProperty storeOptionsProperty = StoreOptionsProperty.builder()
        .tsvStoreOptions(TsvStoreOptionsProperty.builder()
                .annotationType("annotationType")
                .formatToHeader(Map.of(
                        "formatToHeaderKey", "formatToHeader"))
                .schema(schema)
                .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.Omics;

var schema;

var storeOptionsProperty = new StoreOptionsProperty {
    TsvStoreOptions = new TsvStoreOptionsProperty {
        AnnotationType = "annotationType",
        FormatToHeader = new Dictionary<string, string> {
            { "formatToHeaderKey", "formatToHeader" }
        },
        Schema = schema
    }
};
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"

var schema interface{}

storeOptionsProperty := &StoreOptionsProperty{
	TsvStoreOptions: &TsvStoreOptionsProperty{
		AnnotationType: jsii.String("annotationType"),
		FormatToHeader: map[string]*string{
			"formatToHeaderKey": jsii.String("formatToHeader"),
		},
		Schema: schema,
	},
}

Properties ​

tsvStoreOptionsIResolvable | CfnAnnotationStore.TsvStoreOptionsPropertytsv_store_optionstyping.Union[IResolvable, TsvStoreOptionsProperty]tsvStoreOptionsIResolvableTsvStoreOptionsIResolvableTsvStoreOptionsinterface{} required #
Formatting options for a TSV file.