# DataStoreProperty

Configuration and status of the data store for the domain.

- Source: Generated at build time
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_customerprofiles as customerprofiles } from 'aws-cdk-lib';
const dataStoreProperty: customerprofiles.CfnDomain.DataStoreProperty = {
  enabled: false,
  readiness: {
    message: 'message',
    progressPercentage: 123,
  },
};
```

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_customerprofiles as customerprofiles

data_store_property = customerprofiles.CfnDomain.DataStoreProperty(
    enabled=False,
    readiness=customerprofiles.CfnDomain.ReadinessProperty(
        message="message",
        progress_percentage=123
    )
)
```

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

DataStoreProperty dataStoreProperty = DataStoreProperty.builder()
        .enabled(false)
        .readiness(ReadinessProperty.builder()
                .message("message")
                .progressPercentage(123)
                .build())
        .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.CustomerProfiles;

var dataStoreProperty = new DataStoreProperty {
    Enabled = false,
    Readiness = new ReadinessProperty {
        Message = "message",
        ProgressPercentage = 123
    }
};
```

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{
	Enabled: jsii.Boolean(false),
	Readiness: &ReadinessProperty{
		Message: jsii.String("message"),
		ProgressPercentage: jsii.Number(123),
	},
}
```

## Properties

- `enabled`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether the data store is enabled.

- `readiness`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDomain.ReadinessProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_customerprofiles.CfnDomain.ReadinessProperty.html) — Progress information for data store setup.
