# CfnVariantStoreProps

Properties for defining a `CfnVariantStore`.

Used as props by: [CfnVariantStore](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_omics.CfnVariantStore.html)

- Source: Generated at build time
- Type last changed: v2.64.0 · 9 Feb 2023

## Example

TypeScript:

```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';
const cfnVariantStoreProps: omics.CfnVariantStoreProps = {
  name: 'name',
  reference: {
    referenceArn: 'referenceArn',
  },

  // the properties below are optional
  description: 'description',
  sseConfig: {
    type: 'type',

    // the properties below are optional
    keyArn: 'keyArn',
  },
  tags: {
    tagsKey: 'tags',
  },
};
```

Python:

```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

cfn_variant_store_props = omics.CfnVariantStoreProps(
    name="name",
    reference=omics.CfnVariantStore.ReferenceItemProperty(
        reference_arn="referenceArn"
    ),

    # the properties below are optional
    description="description",
    sse_config=omics.CfnVariantStore.SseConfigProperty(
        type="type",

        # the properties below are optional
        key_arn="keyArn"
    ),
    tags={
        "tags_key": "tags"
    }
)
```

Java:

```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.*;

CfnVariantStoreProps cfnVariantStoreProps = CfnVariantStoreProps.builder()
        .name("name")
        .reference(ReferenceItemProperty.builder()
                .referenceArn("referenceArn")
                .build())

        // the properties below are optional
        .description("description")
        .sseConfig(SseConfigProperty.builder()
                .type("type")

                // the properties below are optional
                .keyArn("keyArn")
                .build())
        .tags(Map.of(
                "tagsKey", "tags"))
        .build();
```

C# / .NET:

```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 cfnVariantStoreProps = new CfnVariantStoreProps {
    Name = "name",
    Reference = new ReferenceItemProperty {
        ReferenceArn = "referenceArn"
    },

    // the properties below are optional
    Description = "description",
    SseConfig = new SseConfigProperty {
        Type = "type",

        // the properties below are optional
        KeyArn = "keyArn"
    },
    Tags = new Dictionary<string, string> {
        { "tagsKey", "tags" }
    }
};
```

Golang:

```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"

cfnVariantStoreProps := &CfnVariantStoreProps{
	Name: jsii.String("name"),
	Reference: &ReferenceItemProperty{
		ReferenceArn: jsii.String("referenceArn"),
	},

	// the properties below are optional
	Description: jsii.String("description"),
	SseConfig: &SseConfigProperty{
		Type: jsii.String("type"),

		// the properties below are optional
		KeyArn: jsii.String("keyArn"),
	},
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
}
```

## Properties

- `description`: string — A description for the store.

- `name`: string (required) — A name for the store.

- `reference`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnVariantStore.ReferenceItemProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_omics.CfnVariantStore.ReferenceItemProperty.html) (required) — The genome reference for the store's variants.

- `sseConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnVariantStore.SseConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_omics.CfnVariantStore.SseConfigProperty.html) — Server-side encryption (SSE) settings for the store.

- `tags`: { [key: string]: string } — Tags for the store.
