Class: AWSCDK::DataZone::CfnConnection::GlueConnectionInputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataZone::CfnConnection::GlueConnectionInputProperty
- Defined in:
- data_zone/cfn_connection.rb
Overview
The AWS Glue connecton input.
Instance Attribute Summary collapse
-
#athena_properties ⇒ AWSCDK::IResolvable, ...
readonly
The Amazon Athena properties of the AWS Glue connection.
-
#authentication_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The authentication configuration of the AWS Glue connection.
-
#connection_properties ⇒ AWSCDK::IResolvable, ...
readonly
The connection properties of the AWS Glue connection.
-
#connection_type ⇒ String?
readonly
The connection type of the AWS Glue connection.
-
#description ⇒ String?
readonly
The description of the AWS Glue connection.
-
#match_criteria ⇒ String?
readonly
The match criteria of the AWS Glue connection.
-
#name ⇒ String?
readonly
The name of the AWS Glue connection.
-
#physical_connection_requirements ⇒ AWSCDK::IResolvable, ...
readonly
The physical connection requirements for the AWS Glue connection.
-
#python_properties ⇒ AWSCDK::IResolvable, ...
readonly
The Python properties of the AWS Glue connection.
-
#spark_properties ⇒ AWSCDK::IResolvable, ...
readonly
The Spark properties of the AWS Glue connection.
-
#validate_credentials ⇒ Boolean, ...
readonly
Speciefies whether to validate credentials of the AWS Glue connection.
-
#validate_for_compute_environments ⇒ Array<String>?
readonly
Speciefies whether to validate for compute environments of the AWS Glue connection.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(athena_properties: nil, authentication_configuration: nil, connection_properties: nil, connection_type: nil, description: nil, match_criteria: nil, name: nil, physical_connection_requirements: nil, python_properties: nil, spark_properties: nil, validate_credentials: nil, validate_for_compute_environments: nil) ⇒ GlueConnectionInputProperty
constructor
A new instance of GlueConnectionInputProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(athena_properties: nil, authentication_configuration: nil, connection_properties: nil, connection_type: nil, description: nil, match_criteria: nil, name: nil, physical_connection_requirements: nil, python_properties: nil, spark_properties: nil, validate_credentials: nil, validate_for_compute_environments: nil) ⇒ GlueConnectionInputProperty
Returns a new instance of GlueConnectionInputProperty.
1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 |
# File 'data_zone/cfn_connection.rb', line 1190 def initialize(athena_properties: nil, authentication_configuration: nil, connection_properties: nil, connection_type: nil, description: nil, match_criteria: nil, name: nil, physical_connection_requirements: nil, python_properties: nil, spark_properties: nil, validate_credentials: nil, validate_for_compute_environments: nil) @athena_properties = athena_properties Jsii::Type.check_type(@athena_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJtYXAifX1dfX0=")), "athenaProperties") unless @athena_properties.nil? @authentication_configuration = authentication_configuration.is_a?(Hash) ? ::AWSCDK::DataZone::CfnConnection::AuthenticationConfigurationInputProperty.new(**authentication_configuration.transform_keys(&:to_sym)) : authentication_configuration Jsii::Type.check_type(@authentication_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Db25uZWN0aW9uLkF1dGhlbnRpY2F0aW9uQ29uZmlndXJhdGlvbklucHV0UHJvcGVydHkifV19fQ==")), "authenticationConfiguration") unless @authentication_configuration.nil? @connection_properties = connection_properties Jsii::Type.check_type(@connection_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJtYXAifX1dfX0=")), "connectionProperties") unless @connection_properties.nil? @connection_type = connection_type Jsii::Type.check_type(@connection_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "connectionType") unless @connection_type.nil? @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @match_criteria = match_criteria Jsii::Type.check_type(@match_criteria, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "matchCriteria") unless @match_criteria.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @physical_connection_requirements = physical_connection_requirements.is_a?(Hash) ? ::AWSCDK::DataZone::CfnConnection::PhysicalConnectionRequirementsProperty.new(**physical_connection_requirements.transform_keys(&:to_sym)) : physical_connection_requirements Jsii::Type.check_type(@physical_connection_requirements, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Db25uZWN0aW9uLlBoeXNpY2FsQ29ubmVjdGlvblJlcXVpcmVtZW50c1Byb3BlcnR5In1dfX0=")), "physicalConnectionRequirements") unless @physical_connection_requirements.nil? @python_properties = python_properties Jsii::Type.check_type(@python_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJtYXAifX1dfX0=")), "pythonProperties") unless @python_properties.nil? @spark_properties = spark_properties Jsii::Type.check_type(@spark_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJtYXAifX1dfX0=")), "sparkProperties") unless @spark_properties.nil? @validate_credentials = validate_credentials Jsii::Type.check_type(@validate_credentials, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "validateCredentials") unless @validate_credentials.nil? @validate_for_compute_environments = validate_for_compute_environments Jsii::Type.check_type(@validate_for_compute_environments, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "validateForComputeEnvironments") unless @validate_for_compute_environments.nil? end |
Instance Attribute Details
#athena_properties ⇒ AWSCDK::IResolvable, ... (readonly)
The Amazon Athena properties of the AWS Glue connection.
1221 1222 1223 |
# File 'data_zone/cfn_connection.rb', line 1221 def athena_properties @athena_properties end |
#authentication_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The authentication configuration of the AWS Glue connection.
1226 1227 1228 |
# File 'data_zone/cfn_connection.rb', line 1226 def authentication_configuration @authentication_configuration end |
#connection_properties ⇒ AWSCDK::IResolvable, ... (readonly)
The connection properties of the AWS Glue connection.
1231 1232 1233 |
# File 'data_zone/cfn_connection.rb', line 1231 def connection_properties @connection_properties end |
#connection_type ⇒ String? (readonly)
The connection type of the AWS Glue connection.
1236 1237 1238 |
# File 'data_zone/cfn_connection.rb', line 1236 def connection_type @connection_type end |
#description ⇒ String? (readonly)
The description of the AWS Glue connection.
1241 1242 1243 |
# File 'data_zone/cfn_connection.rb', line 1241 def description @description end |
#match_criteria ⇒ String? (readonly)
The match criteria of the AWS Glue connection.
1246 1247 1248 |
# File 'data_zone/cfn_connection.rb', line 1246 def match_criteria @match_criteria end |
#name ⇒ String? (readonly)
The name of the AWS Glue connection.
1251 1252 1253 |
# File 'data_zone/cfn_connection.rb', line 1251 def name @name end |
#physical_connection_requirements ⇒ AWSCDK::IResolvable, ... (readonly)
The physical connection requirements for the AWS Glue connection.
1256 1257 1258 |
# File 'data_zone/cfn_connection.rb', line 1256 def physical_connection_requirements @physical_connection_requirements end |
#python_properties ⇒ AWSCDK::IResolvable, ... (readonly)
The Python properties of the AWS Glue connection.
1261 1262 1263 |
# File 'data_zone/cfn_connection.rb', line 1261 def python_properties @python_properties end |
#spark_properties ⇒ AWSCDK::IResolvable, ... (readonly)
The Spark properties of the AWS Glue connection.
1266 1267 1268 |
# File 'data_zone/cfn_connection.rb', line 1266 def spark_properties @spark_properties end |
#validate_credentials ⇒ Boolean, ... (readonly)
Speciefies whether to validate credentials of the AWS Glue connection.
1271 1272 1273 |
# File 'data_zone/cfn_connection.rb', line 1271 def validate_credentials @validate_credentials end |
#validate_for_compute_environments ⇒ Array<String>? (readonly)
Speciefies whether to validate for compute environments of the AWS Glue connection.
1276 1277 1278 |
# File 'data_zone/cfn_connection.rb', line 1276 def validate_for_compute_environments @validate_for_compute_environments end |
Class Method Details
.jsii_properties ⇒ Object
1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 |
# File 'data_zone/cfn_connection.rb', line 1278 def self.jsii_properties { :athena_properties => "athenaProperties", :authentication_configuration => "authenticationConfiguration", :connection_properties => "connectionProperties", :connection_type => "connectionType", :description => "description", :match_criteria => "matchCriteria", :name => "name", :physical_connection_requirements => "physicalConnectionRequirements", :python_properties => "pythonProperties", :spark_properties => "sparkProperties", :validate_credentials => "validateCredentials", :validate_for_compute_environments => "validateForComputeEnvironments", } end |
Instance Method Details
#to_jsii ⇒ Object
1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 |
# File 'data_zone/cfn_connection.rb', line 1295 def to_jsii result = {} result.merge!({ "athenaProperties" => @athena_properties, "authenticationConfiguration" => @authentication_configuration, "connectionProperties" => @connection_properties, "connectionType" => @connection_type, "description" => @description, "matchCriteria" => @match_criteria, "name" => @name, "physicalConnectionRequirements" => @physical_connection_requirements, "pythonProperties" => @python_properties, "sparkProperties" => @spark_properties, "validateCredentials" => @validate_credentials, "validateForComputeEnvironments" => @validate_for_compute_environments, }) result.compact end |