Class: AWSCDK::ServiceCatalog::CfnServiceActionAssociationProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
service_catalog/cfn_service_action_association_props.rb

Overview

Properties for defining a CfnServiceActionAssociation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(product_id:, provisioning_artifact_id:, service_action_id:) ⇒ CfnServiceActionAssociationProps

Returns a new instance of CfnServiceActionAssociationProps.

Parameters:



12
13
14
15
16
17
18
19
# File 'service_catalog/cfn_service_action_association_props.rb', line 12

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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoic3RyaW5nIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5pbnRlcmZhY2VzLmF3c19zZXJ2aWNlY2F0YWxvZy5JU2VydmljZUFjdGlvblJlZiJ9XX19")), "serviceActionId")
end

Instance Attribute Details

#product_idString (readonly)

The product identifier.

For example, prod-abcdzk7xy33qa .



27
28
29
# File 'service_catalog/cfn_service_action_association_props.rb', line 27

def product_id
  @product_id
end

#provisioning_artifact_idString (readonly)

The identifier of the provisioning artifact.

For example, pa-4abcdjnxjj6ne .



34
35
36
# File 'service_catalog/cfn_service_action_association_props.rb', line 34

def provisioning_artifact_id
  @provisioning_artifact_id
end

#service_action_idString, AWSCDK::Interfaces::AWSServicecatalog::IServiceActionRef (readonly)

The self-service action identifier.

For example, act-fs7abcd89wxyz .



41
42
43
# File 'service_catalog/cfn_service_action_association_props.rb', line 41

def service_action_id
  @service_action_id
end

Class Method Details

.jsii_propertiesObject



43
44
45
46
47
48
49
# File 'service_catalog/cfn_service_action_association_props.rb', line 43

def self.jsii_properties
  {
    :product_id => "productId",
    :provisioning_artifact_id => "provisioningArtifactId",
    :service_action_id => "serviceActionId",
  }
end

Instance Method Details

#to_jsiiObject



51
52
53
54
55
56
57
58
59
# File 'service_catalog/cfn_service_action_association_props.rb', line 51

def to_jsii
  result = {}
  result.merge!({
    "productId" => @product_id,
    "provisioningArtifactId" => @provisioning_artifact_id,
    "serviceActionId" => @service_action_id,
  })
  result.compact
end