Class: AWSCDK::Omics::CfnWorkflowVersion::ContainerRegistryMapProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Omics::CfnWorkflowVersion::ContainerRegistryMapProperty
- Defined in:
- omics/cfn_workflow_version.rb
Overview
Use a container registry map to specify mappings between the ECR private repository and one or more upstream registries.
For more information, see Container images in the AWS HealthOmics User Guide .
Instance Attribute Summary collapse
-
#image_mappings ⇒ AWSCDK::IResolvable, ...
readonly
Image mappings specify path mappings between the ECR private repository and their corresponding external repositories.
-
#registry_mappings ⇒ AWSCDK::IResolvable, ...
readonly
Mapping that provides the ECR repository path where upstream container images are pulled and synchronized.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(image_mappings: nil, registry_mappings: nil) ⇒ ContainerRegistryMapProperty
constructor
A new instance of ContainerRegistryMapProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(image_mappings: nil, registry_mappings: nil) ⇒ ContainerRegistryMapProperty
Returns a new instance of ContainerRegistryMapProperty.
775 776 777 778 779 780 |
# File 'omics/cfn_workflow_version.rb', line 775 def initialize(image_mappings: nil, registry_mappings: nil) @image_mappings = image_mappings Jsii::Type.check_type(@image_mappings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfb21pY3MuQ2ZuV29ya2Zsb3dWZXJzaW9uLkltYWdlTWFwcGluZ1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "imageMappings") unless @image_mappings.nil? @registry_mappings = registry_mappings Jsii::Type.check_type(@registry_mappings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfb21pY3MuQ2ZuV29ya2Zsb3dWZXJzaW9uLlJlZ2lzdHJ5TWFwcGluZ1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "registryMappings") unless @registry_mappings.nil? end |
Instance Attribute Details
#image_mappings ⇒ AWSCDK::IResolvable, ... (readonly)
Image mappings specify path mappings between the ECR private repository and their corresponding external repositories.
786 787 788 |
# File 'omics/cfn_workflow_version.rb', line 786 def image_mappings @image_mappings end |
#registry_mappings ⇒ AWSCDK::IResolvable, ... (readonly)
Mapping that provides the ECR repository path where upstream container images are pulled and synchronized.
791 792 793 |
# File 'omics/cfn_workflow_version.rb', line 791 def registry_mappings @registry_mappings end |
Class Method Details
.jsii_properties ⇒ Object
793 794 795 796 797 798 |
# File 'omics/cfn_workflow_version.rb', line 793 def self.jsii_properties { :image_mappings => "imageMappings", :registry_mappings => "registryMappings", } end |
Instance Method Details
#to_jsii ⇒ Object
800 801 802 803 804 805 806 807 |
# File 'omics/cfn_workflow_version.rb', line 800 def to_jsii result = {} result.merge!({ "imageMappings" => @image_mappings, "registryMappings" => @registry_mappings, }) result.compact end |