Class: AWSCDK::DataZone::CfnConnection::ConnectionConfigurationProperty

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

Overview

A configuration of the connection.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(classification: nil, properties: nil) ⇒ ConnectionConfigurationProperty

Returns a new instance of ConnectionConfigurationProperty.

Parameters:

  • classification (String, nil) (defaults to: nil)

    The classification of the connection configuration.

  • properties (AWSCDK::IResolvable, Hash{String => String}, nil) (defaults to: nil)

    Property Map.



984
985
986
987
988
989
# File 'data_zone/cfn_connection.rb', line 984

def initialize(classification: nil, properties: nil)
  @classification = classification
  Jsii::Type.check_type(@classification, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "classification") unless @classification.nil?
  @properties = properties
  Jsii::Type.check_type(@properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJtYXAifX1dfX0=")), "properties") unless @properties.nil?
end

Instance Attribute Details

#classificationString? (readonly)

The classification of the connection configuration.



995
996
997
# File 'data_zone/cfn_connection.rb', line 995

def classification
  @classification
end

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

Property Map.



1000
1001
1002
# File 'data_zone/cfn_connection.rb', line 1000

def properties
  @properties
end

Class Method Details

.jsii_propertiesObject



1002
1003
1004
1005
1006
1007
# File 'data_zone/cfn_connection.rb', line 1002

def self.jsii_properties
  {
    :classification => "classification",
    :properties => "properties",
  }
end

Instance Method Details

#to_jsiiObject



1009
1010
1011
1012
1013
1014
1015
1016
# File 'data_zone/cfn_connection.rb', line 1009

def to_jsii
  result = {}
  result.merge!({
    "classification" => @classification,
    "properties" => @properties,
  })
  result.compact
end