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