MLUserDataEncryptionProperty Struct
The encryption-at-rest settings of the transform that apply to accessing user data.
| 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_glue as glue } from 'aws-cdk-lib';
const mLUserDataEncryptionProperty: glue.CfnMLTransform.MLUserDataEncryptionProperty = {
mlUserDataEncryptionMode: 'mlUserDataEncryptionMode',
// the properties below are optional
kmsKeyId: 'kmsKeyId',
};
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
// 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();
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"
};
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
kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string #The ID for the customer-provided KMS key.
mlUserDataEncryptionModestringml_user_data_encryption_modestrmlUserDataEncryptionModeStringMlUserDataEncryptionModestringMlUserDataEncryptionMode*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.