Skip to content
v2.278.0

ResourceConfigurationProperty Struct ​

The configuration of the resource used to execute the containerAction .

Example ​

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
# 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
// 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();
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
};
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 ​

computeTypestringcompute_typestrcomputeTypeStringComputeTypestringComputeType*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).

volumeSizeInGbnumbervolume_size_in_gbint | floatvolumeSizeInGbNumberVolumeSizeInGbdoubleVolumeSizeInGb*float64 required #
The size, in GB, of the persistent storage available to the resource instance used to execute the `containerAction` (min: 1, max: 50).