# MLUserDataEncryptionProperty

The encryption-at-rest settings of the transform that apply to accessing user data.

- 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_glue as glue } from 'aws-cdk-lib';
const mLUserDataEncryptionProperty: glue.CfnMLTransform.MLUserDataEncryptionProperty = {
  mlUserDataEncryptionMode: 'mlUserDataEncryptionMode',

  // the properties below are optional
  kmsKeyId: 'kmsKeyId',
};
```

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_glue as glue

m_l_user_data_encryption_property = glue.CfnMLTransform.MLUserDataEncryptionProperty(
    ml_user_data_encryption_mode="mlUserDataEncryptionMode",

    # the properties below are optional
    kms_key_id="kmsKeyId"
)
```

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.glue.*;

MLUserDataEncryptionProperty mLUserDataEncryptionProperty = MLUserDataEncryptionProperty.builder()
        .mlUserDataEncryptionMode("mlUserDataEncryptionMode")

        // the properties below are optional
        .kmsKeyId("kmsKeyId")
        .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.Glue;

var mLUserDataEncryptionProperty = new MLUserDataEncryptionProperty {
    MlUserDataEncryptionMode = "mlUserDataEncryptionMode",

    // the properties below are optional
    KmsKeyId = "kmsKeyId"
};
```

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"

mLUserDataEncryptionProperty := &MLUserDataEncryptionProperty{
	MlUserDataEncryptionMode: jsii.String("mlUserDataEncryptionMode"),

	// the properties below are optional
	KmsKeyId: jsii.String("kmsKeyId"),
}
```

## Properties

- `kmsKeyId`: string — The ID for the customer-provided KMS key.

- `mlUserDataEncryptionMode`: string (required) — The encryption mode applied to user data. Valid values are:.

  - DISABLED: encryption is disabled.
  - SSEKMS: use of server-side encryption with AWS Key Management Service (SSE-KMS) for user data
  stored in Amazon S3.
