StorageConfigProperty Struct
Request to update the configuration of the storage capability of your EKS Auto Mode cluster.
For example, enable the capability. For more information, see EKS Auto Mode block storage capability in the Amazon EKS User Guide .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
const storageConfigProperty: eks.CfnCluster.StorageConfigProperty = {
blockStorage: {
enabled: false,
},
};
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_eks as eks
storage_config_property = eks.CfnCluster.StorageConfigProperty(
block_storage=eks.CfnCluster.BlockStorageProperty(
enabled=False
)
)
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.eks.*;
StorageConfigProperty storageConfigProperty = StorageConfigProperty.builder()
.blockStorage(BlockStorageProperty.builder()
.enabled(false)
.build())
.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.EKS;
var storageConfigProperty = new StorageConfigProperty {
BlockStorage = new BlockStorageProperty {
Enabled = false
}
};
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"
storageConfigProperty := &StorageConfigProperty{
BlockStorage: &BlockStorageProperty{
Enabled: jsii.Boolean(false),
},
}
Properties
blockStorageoptionalIResolvable | CfnCluster.BlockStoragePropertyblock_storageoptionaltyping.Union[IResolvable, BlockStorageProperty]blockStorageoptionalIResolvableBlockStorageoptionalIResolvableBlockStorageoptionalinterface{} #Request to configure EBS Block Storage settings for your EKS Auto Mode cluster.