# StorageMaximumSizeProperty

Struct · External

The maximum storage size for the data partition.

> Access to certain AWS IoT FleetWise features is currently gated. For more information, see [AWS Region and feature availability](https://docs.aws.amazon.com/iot-fleetwise/latest/developerguide/fleetwise-regions.html) in the *AWS IoT FleetWise Developer Guide* .

- Source: Generated at build time
- Type last changed: v2.169.0 · 21 Nov 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotfleetwise as iotfleetwise } from 'aws-cdk-lib';
const storageMaximumSizeProperty: iotfleetwise.CfnCampaign.StorageMaximumSizeProperty = {
  unit: 'unit',
  value: 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_iotfleetwise as iotfleetwise

storage_maximum_size_property = iotfleetwise.CfnCampaign.StorageMaximumSizeProperty(
    unit="unit",
    value=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.iotfleetwise.*;

StorageMaximumSizeProperty storageMaximumSizeProperty = StorageMaximumSizeProperty.builder()
        .unit("unit")
        .value(123)
        .build();
```

C#:

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

var storageMaximumSizeProperty = new StorageMaximumSizeProperty {
    Unit = "unit",
    Value = 123
};
```

Go:

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

storageMaximumSizeProperty := &StorageMaximumSizeProperty{
	Unit: jsii.String("unit"),
	Value: jsii.Number(123),
}
```

## Properties

- `unit`: string (required) — The data type of the data to store.

- `value`: number (required) — The maximum amount of time to store data.
