Class: AWSCDK::Interfaces::AWSServicecatalog::ServiceActionAssociationReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSServicecatalog::ServiceActionAssociationReference
- Defined in:
- interfaces/aws_servicecatalog/service_action_association_reference.rb
Overview
A reference to a ServiceActionAssociation resource.
Instance Attribute Summary collapse
-
#product_id ⇒ String
readonly
The ProductId of the ServiceActionAssociation resource.
-
#provisioning_artifact_id ⇒ String
readonly
The ProvisioningArtifactId of the ServiceActionAssociation resource.
-
#service_action_id ⇒ String
readonly
The ServiceActionId of the ServiceActionAssociation resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(product_id:, provisioning_artifact_id:, service_action_id:) ⇒ ServiceActionAssociationReference
constructor
A new instance of ServiceActionAssociationReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(product_id:, provisioning_artifact_id:, service_action_id:) ⇒ ServiceActionAssociationReference
Returns a new instance of ServiceActionAssociationReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_servicecatalog/service_action_association_reference.rb', line 10 def initialize(product_id:, provisioning_artifact_id:, service_action_id:) @product_id = product_id Jsii::Type.check_type(@product_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "productId") @provisioning_artifact_id = provisioning_artifact_id Jsii::Type.check_type(@provisioning_artifact_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "provisioningArtifactId") @service_action_id = service_action_id Jsii::Type.check_type(@service_action_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "serviceActionId") end |
Instance Attribute Details
#product_id ⇒ String (readonly)
The ProductId of the ServiceActionAssociation resource.
22 23 24 |
# File 'interfaces/aws_servicecatalog/service_action_association_reference.rb', line 22 def product_id @product_id end |
#provisioning_artifact_id ⇒ String (readonly)
The ProvisioningArtifactId of the ServiceActionAssociation resource.
26 27 28 |
# File 'interfaces/aws_servicecatalog/service_action_association_reference.rb', line 26 def provisioning_artifact_id @provisioning_artifact_id end |
#service_action_id ⇒ String (readonly)
The ServiceActionId of the ServiceActionAssociation resource.
30 31 32 |
# File 'interfaces/aws_servicecatalog/service_action_association_reference.rb', line 30 def service_action_id @service_action_id end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_servicecatalog/service_action_association_reference.rb', line 32 def self.jsii_properties { :product_id => "productId", :provisioning_artifact_id => "provisioningArtifactId", :service_action_id => "serviceActionId", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_servicecatalog/service_action_association_reference.rb', line 40 def to_jsii result = {} result.merge!({ "productId" => @product_id, "provisioningArtifactId" => @provisioning_artifact_id, "serviceActionId" => @service_action_id, }) result.compact end |