# EphemeralStorageConfigurationProperty

Configuration for ephemeral storage attached to the container task.

- Source: Generated at build time
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotsitewise as iotsitewise } from 'aws-cdk-lib';
const ephemeralStorageConfigurationProperty: iotsitewise.CfnTask.EphemeralStorageConfigurationProperty = {
  storageClass: 'storageClass',
  storageSizeInGiB: 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_iotsitewise as iotsitewise

ephemeral_storage_configuration_property = iotsitewise.CfnTask.EphemeralStorageConfigurationProperty(
    storage_class="storageClass",
    storage_size_in_gi_b=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.iotsitewise.*;

EphemeralStorageConfigurationProperty ephemeralStorageConfigurationProperty = EphemeralStorageConfigurationProperty.builder()
        .storageClass("storageClass")
        .storageSizeInGiB(123)
        .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.IoTSiteWise;

var ephemeralStorageConfigurationProperty = new EphemeralStorageConfigurationProperty {
    StorageClass = "storageClass",
    StorageSizeInGiB = 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"

ephemeralStorageConfigurationProperty := &EphemeralStorageConfigurationProperty{
	StorageClass: jsii.String("storageClass"),
	StorageSizeInGiB: jsii.Number(123),
}
```

## Properties

- `storageClass`: string (required) — The storage type that determines I/O performance characteristics.

  Family name indicates workload pattern, level number indicates performance within that family.

- `storageSizeInGiB`: number (required) — Storage volume size in GiB.
