Class: AWSCDK::Interfaces::AWSCodepipeline::CustomActionTypeReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_codepipeline/custom_action_type_reference.rb

Overview

A reference to a CustomActionType resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(category:, provider:, version:) ⇒ CustomActionTypeReference

Returns a new instance of CustomActionTypeReference.

Parameters:

  • category (String)

    The Category of the CustomActionType resource.

  • provider (String)

    The Provider of the CustomActionType resource.

  • version (String)

    The Version of the CustomActionType resource.



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

#categoryString (readonly)

The Category of the CustomActionType resource.

Returns:

  • (String)


22
23
24
# File 'interfaces/aws_codepipeline/custom_action_type_reference.rb', line 22

def category
  @category
end

#providerString (readonly)

The Provider of the CustomActionType resource.

Returns:

  • (String)


26
27
28
# File 'interfaces/aws_codepipeline/custom_action_type_reference.rb', line 26

def provider
  @provider
end

#versionString (readonly)

The Version of the CustomActionType resource.

Returns:

  • (String)


30
31
32
# File 'interfaces/aws_codepipeline/custom_action_type_reference.rb', line 30

def version
  @version
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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