Class: AWSCDK::DataZone::CfnConnection::ConnectionPropertiesInputProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
data_zone/cfn_connection.rb

Overview

The properties of a connection.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(amazon_q_properties: nil, athena_properties: nil, glue_properties: nil, hyper_pod_properties: nil, iam_properties: nil, lakehouse_properties: nil, mlflow_properties: nil, redshift_properties: nil, s3_properties: nil, spark_emr_properties: nil, spark_glue_properties: nil, workflows_mwaa_properties: nil, workflows_serverless_properties: nil) ⇒ ConnectionPropertiesInputProperty

Returns a new instance of ConnectionPropertiesInputProperty.

Parameters:



1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
# File 'data_zone/cfn_connection.rb', line 1038

def initialize(amazon_q_properties: nil, athena_properties: nil, glue_properties: nil, hyper_pod_properties: nil, iam_properties: nil, lakehouse_properties: nil, mlflow_properties: nil, redshift_properties: nil, s3_properties: nil, spark_emr_properties: nil, spark_glue_properties: nil, workflows_mwaa_properties: nil, workflows_serverless_properties: nil)
  @amazon_q_properties = amazon_q_properties.is_a?(Hash) ? ::AWSCDK::DataZone::CfnConnection::AmazonQPropertiesInputProperty.new(**amazon_q_properties.transform_keys(&:to_sym)) : amazon_q_properties
  Jsii::Type.check_type(@amazon_q_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Db25uZWN0aW9uLkFtYXpvblFQcm9wZXJ0aWVzSW5wdXRQcm9wZXJ0eSJ9XX19")), "amazonQProperties") unless @amazon_q_properties.nil?
  @athena_properties = athena_properties.is_a?(Hash) ? ::AWSCDK::DataZone::CfnConnection::AthenaPropertiesInputProperty.new(**athena_properties.transform_keys(&:to_sym)) : athena_properties
  Jsii::Type.check_type(@athena_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Db25uZWN0aW9uLkF0aGVuYVByb3BlcnRpZXNJbnB1dFByb3BlcnR5In1dfX0=")), "athenaProperties") unless @athena_properties.nil?
  @glue_properties = glue_properties.is_a?(Hash) ? ::AWSCDK::DataZone::CfnConnection::GluePropertiesInputProperty.new(**glue_properties.transform_keys(&:to_sym)) : glue_properties
  Jsii::Type.check_type(@glue_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Db25uZWN0aW9uLkdsdWVQcm9wZXJ0aWVzSW5wdXRQcm9wZXJ0eSJ9XX19")), "glueProperties") unless @glue_properties.nil?
  @hyper_pod_properties = hyper_pod_properties.is_a?(Hash) ? ::AWSCDK::DataZone::CfnConnection::HyperPodPropertiesInputProperty.new(**hyper_pod_properties.transform_keys(&:to_sym)) : hyper_pod_properties
  Jsii::Type.check_type(@hyper_pod_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Db25uZWN0aW9uLkh5cGVyUG9kUHJvcGVydGllc0lucHV0UHJvcGVydHkifV19fQ==")), "hyperPodProperties") unless @hyper_pod_properties.nil?
  @iam_properties = iam_properties.is_a?(Hash) ? ::AWSCDK::DataZone::CfnConnection::IAMPropertiesInputProperty.new(**iam_properties.transform_keys(&:to_sym)) : iam_properties
  Jsii::Type.check_type(@iam_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Db25uZWN0aW9uLklhbVByb3BlcnRpZXNJbnB1dFByb3BlcnR5In1dfX0=")), "iamProperties") unless @iam_properties.nil?
  @lakehouse_properties = lakehouse_properties.is_a?(Hash) ? ::AWSCDK::DataZone::CfnConnection::LakehousePropertiesInputProperty.new(**lakehouse_properties.transform_keys(&:to_sym)) : lakehouse_properties
  Jsii::Type.check_type(@lakehouse_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Db25uZWN0aW9uLkxha2Vob3VzZVByb3BlcnRpZXNJbnB1dFByb3BlcnR5In1dfX0=")), "lakehouseProperties") unless @lakehouse_properties.nil?
  @mlflow_properties = mlflow_properties.is_a?(Hash) ? ::AWSCDK::DataZone::CfnConnection::MlflowPropertiesInputProperty.new(**mlflow_properties.transform_keys(&:to_sym)) : mlflow_properties
  Jsii::Type.check_type(@mlflow_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Db25uZWN0aW9uLk1sZmxvd1Byb3BlcnRpZXNJbnB1dFByb3BlcnR5In1dfX0=")), "mlflowProperties") unless @mlflow_properties.nil?
  @redshift_properties = redshift_properties.is_a?(Hash) ? ::AWSCDK::DataZone::CfnConnection::RedshiftPropertiesInputProperty.new(**redshift_properties.transform_keys(&:to_sym)) : redshift_properties
  Jsii::Type.check_type(@redshift_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Db25uZWN0aW9uLlJlZHNoaWZ0UHJvcGVydGllc0lucHV0UHJvcGVydHkifV19fQ==")), "redshiftProperties") unless @redshift_properties.nil?
  @s3_properties = s3_properties.is_a?(Hash) ? ::AWSCDK::DataZone::CfnConnection::S3PropertiesInputProperty.new(**s3_properties.transform_keys(&:to_sym)) : s3_properties
  Jsii::Type.check_type(@s3_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Db25uZWN0aW9uLlMzUHJvcGVydGllc0lucHV0UHJvcGVydHkifV19fQ==")), "s3Properties") unless @s3_properties.nil?
  @spark_emr_properties = spark_emr_properties.is_a?(Hash) ? ::AWSCDK::DataZone::CfnConnection::SparkEMRPropertiesInputProperty.new(**spark_emr_properties.transform_keys(&:to_sym)) : spark_emr_properties
  Jsii::Type.check_type(@spark_emr_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Db25uZWN0aW9uLlNwYXJrRW1yUHJvcGVydGllc0lucHV0UHJvcGVydHkifV19fQ==")), "sparkEmrProperties") unless @spark_emr_properties.nil?
  @spark_glue_properties = spark_glue_properties.is_a?(Hash) ? ::AWSCDK::DataZone::CfnConnection::SparkGluePropertiesInputProperty.new(**spark_glue_properties.transform_keys(&:to_sym)) : spark_glue_properties
  Jsii::Type.check_type(@spark_glue_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Db25uZWN0aW9uLlNwYXJrR2x1ZVByb3BlcnRpZXNJbnB1dFByb3BlcnR5In1dfX0=")), "sparkGlueProperties") unless @spark_glue_properties.nil?
  @workflows_mwaa_properties = workflows_mwaa_properties.is_a?(Hash) ? ::AWSCDK::DataZone::CfnConnection::WorkflowsMWAAPropertiesInputProperty.new(**workflows_mwaa_properties.transform_keys(&:to_sym)) : workflows_mwaa_properties
  Jsii::Type.check_type(@workflows_mwaa_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Db25uZWN0aW9uLldvcmtmbG93c013YWFQcm9wZXJ0aWVzSW5wdXRQcm9wZXJ0eSJ9XX19")), "workflowsMwaaProperties") unless @workflows_mwaa_properties.nil?
  @workflows_serverless_properties = workflows_serverless_properties
  Jsii::Type.check_type(@workflows_serverless_properties, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "workflowsServerlessProperties") unless @workflows_serverless_properties.nil?
end

Instance Attribute Details

#amazon_q_propertiesAWSCDK::IResolvable, ... (readonly)

Amazon Q properties of the connection.



1071
1072
1073
# File 'data_zone/cfn_connection.rb', line 1071

def amazon_q_properties
  @amazon_q_properties
end

#athena_propertiesAWSCDK::IResolvable, ... (readonly)

The Amazon Athena properties of a connection.



1076
1077
1078
# File 'data_zone/cfn_connection.rb', line 1076

def athena_properties
  @athena_properties
end

#glue_propertiesAWSCDK::IResolvable, ... (readonly)

The AWS Glue properties of a connection.



1081
1082
1083
# File 'data_zone/cfn_connection.rb', line 1081

def glue_properties
  @glue_properties
end

#hyper_pod_propertiesAWSCDK::IResolvable, ... (readonly)

The hyper pod properties of a connection.



1086
1087
1088
# File 'data_zone/cfn_connection.rb', line 1086

def hyper_pod_properties
  @hyper_pod_properties
end

#iam_propertiesAWSCDK::IResolvable, ... (readonly)

The IAM properties of a connection.



1091
1092
1093
# File 'data_zone/cfn_connection.rb', line 1091

def iam_properties
  @iam_properties
end

#lakehouse_propertiesAWSCDK::IResolvable, ... (readonly)

Lakehouse Properties Input.



1096
1097
1098
# File 'data_zone/cfn_connection.rb', line 1096

def lakehouse_properties
  @lakehouse_properties
end

#mlflow_propertiesAWSCDK::IResolvable, ... (readonly)

MLflow Properties Input.



1101
1102
1103
# File 'data_zone/cfn_connection.rb', line 1101

def mlflow_properties
  @mlflow_properties
end

#redshift_propertiesAWSCDK::IResolvable, ... (readonly)

The Amazon Redshift properties of a connection.



1106
1107
1108
# File 'data_zone/cfn_connection.rb', line 1106

def redshift_properties
  @redshift_properties
end

#spark_emr_propertiesAWSCDK::IResolvable, ... (readonly)

The Spark EMR properties of a connection.



1116
1117
1118
# File 'data_zone/cfn_connection.rb', line 1116

def spark_emr_properties
  @spark_emr_properties
end

#spark_glue_propertiesAWSCDK::IResolvable, ... (readonly)

The Spark AWS Glue properties of a connection.



1121
1122
1123
# File 'data_zone/cfn_connection.rb', line 1121

def spark_glue_properties
  @spark_glue_properties
end

#workflows_mwaa_propertiesAWSCDK::IResolvable, ... (readonly)

Workflows MWAA Properties Input.



1126
1127
1128
# File 'data_zone/cfn_connection.rb', line 1126

def workflows_mwaa_properties
  @workflows_mwaa_properties
end

#workflows_serverless_propertiesObject? (readonly)

Workflows Serverless Properties Input.



1131
1132
1133
# File 'data_zone/cfn_connection.rb', line 1131

def workflows_serverless_properties
  @workflows_serverless_properties
end

Class Method Details

.jsii_propertiesObject



1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
# File 'data_zone/cfn_connection.rb', line 1133

def self.jsii_properties
  {
    :amazon_q_properties => "amazonQProperties",
    :athena_properties => "athenaProperties",
    :glue_properties => "glueProperties",
    :hyper_pod_properties => "hyperPodProperties",
    :iam_properties => "iamProperties",
    :lakehouse_properties => "lakehouseProperties",
    :mlflow_properties => "mlflowProperties",
    :redshift_properties => "redshiftProperties",
    :s3_properties => "s3Properties",
    :spark_emr_properties => "sparkEmrProperties",
    :spark_glue_properties => "sparkGlueProperties",
    :workflows_mwaa_properties => "workflowsMwaaProperties",
    :workflows_serverless_properties => "workflowsServerlessProperties",
  }
end

Instance Method Details

#to_jsiiObject



1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
# File 'data_zone/cfn_connection.rb', line 1151

def to_jsii
  result = {}
  result.merge!({
    "amazonQProperties" => @amazon_q_properties,
    "athenaProperties" => @athena_properties,
    "glueProperties" => @glue_properties,
    "hyperPodProperties" => @hyper_pod_properties,
    "iamProperties" => @iam_properties,
    "lakehouseProperties" => @lakehouse_properties,
    "mlflowProperties" => @mlflow_properties,
    "redshiftProperties" => @redshift_properties,
    "s3Properties" => @s3_properties,
    "sparkEmrProperties" => @spark_emr_properties,
    "sparkGlueProperties" => @spark_glue_properties,
    "workflowsMwaaProperties" => @workflows_mwaa_properties,
    "workflowsServerlessProperties" => @workflows_serverless_properties,
  })
  result.compact
end