Skip to content
v2.278.0

QopConfigurationProperty Struct ​

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.

Example ​

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
# 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
// 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();
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"
};
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 ​

dataTransferProtectionoptionalstringdata_transfer_protectionoptionalstrdataTransferProtectionoptionalStringDataTransferProtectionoptionalstringDataTransferProtectionoptional*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.

rpcProtectionoptionalstringrpc_protectionoptionalstrrpcProtectionoptionalStringRpcProtectionoptionalstringRpcProtectionoptional*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.