Class: AWSCDK::ImageBuilder::CfnImage::ImagePipelineExecutionSettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
image_builder/cfn_image.rb

Overview

Contains settings for starting an image pipeline execution.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deployment_id: nil, on_update: nil) ⇒ ImagePipelineExecutionSettingsProperty

Returns a new instance of ImagePipelineExecutionSettingsProperty.

Parameters:

  • deployment_id (String, nil) (defaults to: nil)

    The deployment identifier of the pipeline, utilized to initiate new image pipeline executions.

  • on_update (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    Defines whether the pipeline should be executed upon pipeline updates.



869
870
871
872
873
874
# File 'image_builder/cfn_image.rb', line 869

def initialize(deployment_id: nil, on_update: nil)
  @deployment_id = deployment_id
  Jsii::Type.check_type(@deployment_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "deploymentId") unless @deployment_id.nil?
  @on_update = on_update
  Jsii::Type.check_type(@on_update, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "onUpdate") unless @on_update.nil?
end

Instance Attribute Details

#deployment_idString? (readonly)

The deployment identifier of the pipeline, utilized to initiate new image pipeline executions.



880
881
882
# File 'image_builder/cfn_image.rb', line 880

def deployment_id
  @deployment_id
end

#on_updateBoolean, ... (readonly)

Defines whether the pipeline should be executed upon pipeline updates.

False by default.



887
888
889
# File 'image_builder/cfn_image.rb', line 887

def on_update
  @on_update
end

Class Method Details

.jsii_propertiesObject



889
890
891
892
893
894
# File 'image_builder/cfn_image.rb', line 889

def self.jsii_properties
  {
    :deployment_id => "deploymentId",
    :on_update => "onUpdate",
  }
end

Instance Method Details

#to_jsiiObject



896
897
898
899
900
901
902
903
# File 'image_builder/cfn_image.rb', line 896

def to_jsii
  result = {}
  result.merge!({
    "deploymentId" => @deployment_id,
    "onUpdate" => @on_update,
  })
  result.compact
end