Class: AWSCDK::Omics::CfnWorkflow::ContainerRegistryMapProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
omics/cfn_workflow.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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(image_mappings: nil, registry_mappings: nil) ⇒ ContainerRegistryMapProperty

Returns a new instance of ContainerRegistryMapProperty.

Parameters:



782
783
784
785
786
787
# File 'omics/cfn_workflow.rb', line 782

def initialize(image_mappings: nil, registry_mappings: nil)
  @image_mappings = image_mappings
  Jsii::Type.check_type(@image_mappings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfb21pY3MuQ2ZuV29ya2Zsb3cuSW1hZ2VNYXBwaW5nUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "imageMappings") unless @image_mappings.nil?
  @registry_mappings = registry_mappings
  Jsii::Type.check_type(@registry_mappings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfb21pY3MuQ2ZuV29ya2Zsb3cuUmVnaXN0cnlNYXBwaW5nUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "registryMappings") unless @registry_mappings.nil?
end

Instance Attribute Details

#image_mappingsAWSCDK::IResolvable, ... (readonly)

Image mappings specify path mappings between the ECR private repository and their corresponding external repositories.



793
794
795
# File 'omics/cfn_workflow.rb', line 793

def image_mappings
  @image_mappings
end

#registry_mappingsAWSCDK::IResolvable, ... (readonly)

Mapping that provides the ECR repository path where upstream container images are pulled and synchronized.



798
799
800
# File 'omics/cfn_workflow.rb', line 798

def registry_mappings
  @registry_mappings
end

Class Method Details

.jsii_propertiesObject



800
801
802
803
804
805
# File 'omics/cfn_workflow.rb', line 800

def self.jsii_properties
  {
    :image_mappings => "imageMappings",
    :registry_mappings => "registryMappings",
  }
end

Instance Method Details

#to_jsiiObject



807
808
809
810
811
812
813
814
# File 'omics/cfn_workflow.rb', line 807

def to_jsii
  result = {}
  result.merge!({
    "imageMappings" => @image_mappings,
    "registryMappings" => @registry_mappings,
  })
  result.compact
end