Class: AWSCDK::ImageBuilder::CfnImage::ImagePipelineExecutionSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ImageBuilder::CfnImage::ImagePipelineExecutionSettingsProperty
- Defined in:
- image_builder/cfn_image.rb
Overview
Contains settings for starting an image pipeline execution.
Instance Attribute Summary collapse
-
#deployment_id ⇒ String?
readonly
The deployment identifier of the pipeline, utilized to initiate new image pipeline executions.
-
#on_update ⇒ Boolean, ...
readonly
Defines whether the pipeline should be executed upon pipeline updates.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(deployment_id: nil, on_update: nil) ⇒ ImagePipelineExecutionSettingsProperty
constructor
A new instance of ImagePipelineExecutionSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(deployment_id: nil, on_update: nil) ⇒ ImagePipelineExecutionSettingsProperty
Returns a new instance of ImagePipelineExecutionSettingsProperty.
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_id ⇒ String? (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_update ⇒ Boolean, ... (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_properties ⇒ Object
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_jsii ⇒ Object
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 |