Class: AWSCDK::ImageBuilder::CfnContainerRecipe::TargetContainerRepositoryProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ImageBuilder::CfnContainerRecipe::TargetContainerRepositoryProperty
- Defined in:
- image_builder/cfn_container_recipe.rb
Overview
The container repository where the output container image is stored.
Instance Attribute Summary collapse
-
#repository_name ⇒ String?
readonly
The name of the container repository where the output container image is stored.
-
#service ⇒ String?
readonly
Specifies the service in which this image was registered.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(repository_name: nil, service: nil) ⇒ TargetContainerRepositoryProperty
constructor
A new instance of TargetContainerRepositoryProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(repository_name: nil, service: nil) ⇒ TargetContainerRepositoryProperty
Returns a new instance of TargetContainerRepositoryProperty.
1119 1120 1121 1122 1123 1124 |
# File 'image_builder/cfn_container_recipe.rb', line 1119 def initialize(repository_name: nil, service: nil) @repository_name = repository_name Jsii::Type.check_type(@repository_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "repositoryName") unless @repository_name.nil? @service = service Jsii::Type.check_type(@service, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "service") unless @service.nil? end |
Instance Attribute Details
#repository_name ⇒ String? (readonly)
The name of the container repository where the output container image is stored.
This name is prefixed by the repository location. For example, <repository location url>/repository_name .
1132 1133 1134 |
# File 'image_builder/cfn_container_recipe.rb', line 1132 def repository_name @repository_name end |
#service ⇒ String? (readonly)
Specifies the service in which this image was registered.
1137 1138 1139 |
# File 'image_builder/cfn_container_recipe.rb', line 1137 def service @service end |
Class Method Details
.jsii_properties ⇒ Object
1139 1140 1141 1142 1143 1144 |
# File 'image_builder/cfn_container_recipe.rb', line 1139 def self.jsii_properties { :repository_name => "repositoryName", :service => "service", } end |
Instance Method Details
#to_jsii ⇒ Object
1146 1147 1148 1149 1150 1151 1152 1153 |
# File 'image_builder/cfn_container_recipe.rb', line 1146 def to_jsii result = {} result.merge!({ "repositoryName" => @repository_name, "service" => @service, }) result.compact end |