Class: AWSCDK::Datasync::CfnLocationHDFS::QopConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Datasync::CfnLocationHDFS::QopConfigurationProperty
- Defined in:
- datasync/cfn_location_hdfs.rb
Overview
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.
Instance Attribute Summary collapse
-
#data_transfer_protection ⇒ String?
readonly
The data transfer protection setting configured on the HDFS cluster.
-
#rpc_protection ⇒ String?
readonly
The Remote Procedure Call (RPC) protection setting configured on the HDFS cluster.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data_transfer_protection: nil, rpc_protection: nil) ⇒ QopConfigurationProperty
constructor
A new instance of QopConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(data_transfer_protection: nil, rpc_protection: nil) ⇒ QopConfigurationProperty
Returns a new instance of QopConfigurationProperty.
892 893 894 895 896 897 |
# File 'datasync/cfn_location_hdfs.rb', line 892 def initialize(data_transfer_protection: nil, rpc_protection: nil) @data_transfer_protection = data_transfer_protection Jsii::Type.check_type(@data_transfer_protection, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dataTransferProtection") unless @data_transfer_protection.nil? @rpc_protection = rpc_protection Jsii::Type.check_type(@rpc_protection, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "rpcProtection") unless @rpc_protection.nil? end |
Instance Attribute Details
#data_transfer_protection ⇒ String? (readonly)
Default: - "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.
906 907 908 |
# File 'datasync/cfn_location_hdfs.rb', line 906 def data_transfer_protection @data_transfer_protection end |
#rpc_protection ⇒ String? (readonly)
Default: - "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.
914 915 916 |
# File 'datasync/cfn_location_hdfs.rb', line 914 def rpc_protection @rpc_protection end |
Class Method Details
.jsii_properties ⇒ Object
916 917 918 919 920 921 |
# File 'datasync/cfn_location_hdfs.rb', line 916 def self.jsii_properties { :data_transfer_protection => "dataTransferProtection", :rpc_protection => "rpcProtection", } end |
Instance Method Details
#to_jsii ⇒ Object
923 924 925 926 927 928 929 930 |
# File 'datasync/cfn_location_hdfs.rb', line 923 def to_jsii result = {} result.merge!({ "dataTransferProtection" => @data_transfer_protection, "rpcProtection" => @rpc_protection, }) result.compact end |