# QopConfigurationProperty

The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer privacy settings configured on the Hadoop Distributed File System (HDFS) cluster.

- 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_datasync as datasync } from 'aws-cdk-lib';
const qopConfigurationProperty: datasync.CfnLocationHDFS.QopConfigurationProperty = {
  dataTransferProtection: 'dataTransferProtection',
  rpcProtection: 'rpcProtection',
};
```

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_datasync as datasync

qop_configuration_property = datasync.CfnLocationHDFS.QopConfigurationProperty(
    data_transfer_protection="dataTransferProtection",
    rpc_protection="rpcProtection"
)
```

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

QopConfigurationProperty qopConfigurationProperty = QopConfigurationProperty.builder()
        .dataTransferProtection("dataTransferProtection")
        .rpcProtection("rpcProtection")
        .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.DataSync;

var qopConfigurationProperty = new QopConfigurationProperty {
    DataTransferProtection = "dataTransferProtection",
    RpcProtection = "rpcProtection"
};
```

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"

qopConfigurationProperty := &QopConfigurationProperty{
	DataTransferProtection: jsii.String("dataTransferProtection"),
	RpcProtection: jsii.String("rpcProtection"),
}
```

## Properties

- `dataTransferProtection`: string = "PRIVACY" — The data transfer protection setting configured on the HDFS cluster.

  This setting corresponds to your `dfs.data.transfer.protection` setting in the `hdfs-site.xml` file on your Hadoop cluster.

- `rpcProtection`: string = "PRIVACY" — The Remote Procedure Call (RPC) protection setting configured on the HDFS cluster.

  This setting corresponds to your `hadoop.rpc.protection` setting in your `core-site.xml` file on your Hadoop cluster.
