Class: AWSCDK::Omics::CfnWorkflowVersion::ImageMappingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Omics::CfnWorkflowVersion::ImageMappingProperty
- Defined in:
- omics/cfn_workflow_version.rb
Overview
Specifies image mappings that workflow tasks can use.
For example, you can replace all the task references of a public image to use an equivalent image in your private ECR repository. You can use image mappings with upstream registries that don't support pull through cache. You need to manually synchronize the upstream registry with your private repository.
Instance Attribute Summary collapse
-
#destination_image ⇒ String?
readonly
Specifies the URI of the corresponding image in the private ECR registry.
-
#source_image ⇒ String?
readonly
Specifies the URI of the source image in the upstream registry.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(destination_image: nil, source_image: nil) ⇒ ImageMappingProperty
constructor
A new instance of ImageMappingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(destination_image: nil, source_image: nil) ⇒ ImageMappingProperty
Returns a new instance of ImageMappingProperty.
885 886 887 888 889 890 |
# File 'omics/cfn_workflow_version.rb', line 885 def initialize(destination_image: nil, source_image: nil) @destination_image = destination_image Jsii::Type.check_type(@destination_image, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "destinationImage") unless @destination_image.nil? @source_image = source_image Jsii::Type.check_type(@source_image, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceImage") unless @source_image.nil? end |
Instance Attribute Details
#destination_image ⇒ String? (readonly)
Specifies the URI of the corresponding image in the private ECR registry.
896 897 898 |
# File 'omics/cfn_workflow_version.rb', line 896 def destination_image @destination_image end |
#source_image ⇒ String? (readonly)
Specifies the URI of the source image in the upstream registry.
901 902 903 |
# File 'omics/cfn_workflow_version.rb', line 901 def source_image @source_image end |
Class Method Details
.jsii_properties ⇒ Object
903 904 905 906 907 908 |
# File 'omics/cfn_workflow_version.rb', line 903 def self.jsii_properties { :destination_image => "destinationImage", :source_image => "sourceImage", } end |
Instance Method Details
#to_jsii ⇒ Object
910 911 912 913 914 915 916 917 |
# File 'omics/cfn_workflow_version.rb', line 910 def to_jsii result = {} result.merge!({ "destinationImage" => @destination_image, "sourceImage" => @source_image, }) result.compact end |