# ResourceConfigurationProperty

The configuration of the resource used to execute the `containerAction` .

- 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 resourceConfigurationProperty: iotanalytics.CfnDataset.ResourceConfigurationProperty = {
  computeType: 'computeType',
  volumeSizeInGb: 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_iotanalytics as iotanalytics

resource_configuration_property = iotanalytics.CfnDataset.ResourceConfigurationProperty(
    compute_type="computeType",
    volume_size_in_gb=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.iotanalytics.*;

ResourceConfigurationProperty resourceConfigurationProperty = ResourceConfigurationProperty.builder()
        .computeType("computeType")
        .volumeSizeInGb(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.IoTAnalytics;

var resourceConfigurationProperty = new ResourceConfigurationProperty {
    ComputeType = "computeType",
    VolumeSizeInGb = 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"

resourceConfigurationProperty := &ResourceConfigurationProperty{
	ComputeType: jsii.String("computeType"),
	VolumeSizeInGb: jsii.Number(123),
}
```

## Properties

- `computeType`: string (required) — The type of the compute resource used to execute the `containerAction` .

  Possible values are: `ACU_1` (vCPU=4, memory=16 GiB) or `ACU_2` (vCPU=8, memory=32 GiB).

- `volumeSizeInGb`: number (required) — The size, in GB, of the persistent storage available to the resource instance used to execute the `containerAction` (min: 1, max: 50).
