# DatastoreProperty

The datastore activity that specifies where to store the processed data.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 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_iotanalytics as iotanalytics } from 'aws-cdk-lib';
const datastoreProperty: iotanalytics.CfnPipeline.DatastoreProperty = {
  datastoreName: 'datastoreName',
  name: 'name',
};
```

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_iotanalytics as iotanalytics

datastore_property = iotanalytics.CfnPipeline.DatastoreProperty(
    datastore_name="datastoreName",
    name="name"
)
```

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

DatastoreProperty datastoreProperty = DatastoreProperty.builder()
        .datastoreName("datastoreName")
        .name("name")
        .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.IoTAnalytics;

var datastoreProperty = new DatastoreProperty {
    DatastoreName = "datastoreName",
    Name = "name"
};
```

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"

datastoreProperty := &DatastoreProperty{
	DatastoreName: jsii.String("datastoreName"),
	Name: jsii.String("name"),
}
```

## Properties

- `datastoreName`: string (required) — The name of the data store where processed messages are stored.

- `name`: string (required) — The name of the datastore activity.
