Class: AWSCDK::Codepipeline::CfnCustomActionType::ArtifactDetailsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
codepipeline/cfn_custom_action_type.rb

Overview

Returns information about the details of an artifact.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(maximum_count:, minimum_count:) ⇒ ArtifactDetailsProperty

Returns a new instance of ArtifactDetailsProperty.

Parameters:

  • maximum_count (Numeric)

    The maximum number of artifacts allowed for the action type.

  • minimum_count (Numeric)

    The minimum number of artifacts allowed for the action type.



605
606
607
608
609
610
# File 'codepipeline/cfn_custom_action_type.rb', line 605

def initialize(maximum_count:, minimum_count:)
  @maximum_count = maximum_count
  Jsii::Type.check_type(@maximum_count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maximumCount")
  @minimum_count = minimum_count
  Jsii::Type.check_type(@minimum_count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "minimumCount")
end

Instance Attribute Details

#maximum_countNumeric (readonly)

The maximum number of artifacts allowed for the action type.



616
617
618
# File 'codepipeline/cfn_custom_action_type.rb', line 616

def maximum_count
  @maximum_count
end

#minimum_countNumeric (readonly)

The minimum number of artifacts allowed for the action type.



621
622
623
# File 'codepipeline/cfn_custom_action_type.rb', line 621

def minimum_count
  @minimum_count
end

Class Method Details

.jsii_propertiesObject



623
624
625
626
627
628
# File 'codepipeline/cfn_custom_action_type.rb', line 623

def self.jsii_properties
  {
    :maximum_count => "maximumCount",
    :minimum_count => "minimumCount",
  }
end

Instance Method Details

#to_jsiiObject



630
631
632
633
634
635
636
637
# File 'codepipeline/cfn_custom_action_type.rb', line 630

def to_jsii
  result = {}
  result.merge!({
    "maximumCount" => @maximum_count,
    "minimumCount" => @minimum_count,
  })
  result.compact
end