Skip to content
v2.278.0

ProvisionedThroughputProperty Struct ​

Contains information about provisioned throughput for EBS storage volumes attached to kafka broker nodes.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_msk as msk } from 'aws-cdk-lib';
const provisionedThroughputProperty: msk.CfnCluster.ProvisionedThroughputProperty = {
  enabled: false,
  volumeThroughput: 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_msk as msk

provisioned_throughput_property = msk.CfnCluster.ProvisionedThroughputProperty(
    enabled=False,
    volume_throughput=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.msk.*;

ProvisionedThroughputProperty provisionedThroughputProperty = ProvisionedThroughputProperty.builder()
        .enabled(false)
        .volumeThroughput(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.MSK;

var provisionedThroughputProperty = new ProvisionedThroughputProperty {
    Enabled = false,
    VolumeThroughput = 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"

provisionedThroughputProperty := &ProvisionedThroughputProperty{
	Enabled: jsii.Boolean(false),
	VolumeThroughput: jsii.Number(123),
}

Properties ​

enabledoptionalboolean | IResolvableenabledoptionaltyping.Union[bool, IResolvable]enabledoptionalBooleanEnabledoptionalboolEnabledoptionalinterface{} #
Provisioned throughput is on or off.
volumeThroughputoptionalnumbervolume_throughputoptionalint | floatvolumeThroughputoptionalNumberVolumeThroughputoptionaldoubleVolumeThroughputoptional*float64 #
Throughput value of the EBS volumes for the data drive on each kafka broker node in MiB per second.