Class: AWSCDK::ServiceCatalog::CfnCloudFormationProduct::SourceConnectionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ServiceCatalog::CfnCloudFormationProduct::SourceConnectionProperty
- Defined in:
- service_catalog/cfn_cloud_formation_product.rb
Overview
A top level ProductViewDetail response containing details about the product’s connection.
AWS Service Catalog returns this field for the CreateProduct , UpdateProduct , DescribeProductAsAdmin , and SearchProductAsAdmin APIs. This response contains the same fields as the ConnectionParameters request, with the addition of the LastSync response.
Instance Attribute Summary collapse
-
#connection_parameters ⇒ AWSCDK::IResolvable, AWSCDK::ServiceCatalog::CfnCloudFormationProduct::ConnectionParametersProperty
readonly
The connection details based on the connection
Type. -
#type ⇒ String
readonly
The only supported
SourceConnectiontype is Codestar.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(connection_parameters:, type:) ⇒ SourceConnectionProperty
constructor
A new instance of SourceConnectionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(connection_parameters:, type:) ⇒ SourceConnectionProperty
Returns a new instance of SourceConnectionProperty.
876 877 878 879 880 881 |
# File 'service_catalog/cfn_cloud_formation_product.rb', line 876 def initialize(connection_parameters:, type:) @connection_parameters = connection_parameters.is_a?(Hash) ? ::AWSCDK::ServiceCatalog::CfnCloudFormationProduct::ConnectionParametersProperty.new(**connection_parameters.transform_keys(&:to_sym)) : connection_parameters Jsii::Type.check_type(@connection_parameters, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXJ2aWNlY2F0YWxvZy5DZm5DbG91ZEZvcm1hdGlvblByb2R1Y3QuQ29ubmVjdGlvblBhcmFtZXRlcnNQcm9wZXJ0eSJ9XX19")), "connectionParameters") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#connection_parameters ⇒ AWSCDK::IResolvable, AWSCDK::ServiceCatalog::CfnCloudFormationProduct::ConnectionParametersProperty (readonly)
The connection details based on the connection Type .
887 888 889 |
# File 'service_catalog/cfn_cloud_formation_product.rb', line 887 def connection_parameters @connection_parameters end |
#type ⇒ String (readonly)
The only supported SourceConnection type is Codestar.
892 893 894 |
# File 'service_catalog/cfn_cloud_formation_product.rb', line 892 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
894 895 896 897 898 899 |
# File 'service_catalog/cfn_cloud_formation_product.rb', line 894 def self.jsii_properties { :connection_parameters => "connectionParameters", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
901 902 903 904 905 906 907 908 |
# File 'service_catalog/cfn_cloud_formation_product.rb', line 901 def to_jsii result = {} result.merge!({ "connectionParameters" => @connection_parameters, "type" => @type, }) result.compact end |