# StorageConfigProperty

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: Generated at build time
- Type last changed: v2.172.0 · 7 Dec 2024

## Example

TypeScript:

```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:

```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:

```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();
```

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.EKS;

var storageConfigProperty = new StorageConfigProperty {
    BlockStorage = new BlockStorageProperty {
        Enabled = false
    }
};
```

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"

storageConfigProperty := &StorageConfigProperty{
	BlockStorage: &BlockStorageProperty{
		Enabled: jsii.Boolean(false),
	},
}
```

## Properties

- `blockStorage`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCluster.BlockStorageProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_eks.CfnCluster.BlockStorageProperty.html) — Request to configure EBS Block Storage settings for your EKS Auto Mode cluster.
