Class: AWSCDK::ImageBuilder::CfnImagePipeline::ECRConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ImageBuilder::CfnImagePipeline::ECRConfigurationProperty
- Defined in:
- image_builder/cfn_image_pipeline.rb
Overview
Settings that Image Builder uses to configure the ECR repository and the output container images that Amazon Inspector scans.
Instance Attribute Summary collapse
-
#container_tags ⇒ Array<String>?
readonly
Tags for Image Builder to apply to the output container image that Amazon Inspector scans.
-
#repository_name ⇒ String?
readonly
The name of the container repository that Amazon Inspector scans to identify findings for your container images.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(container_tags: nil, repository_name: nil) ⇒ ECRConfigurationProperty
constructor
A new instance of ECRConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(container_tags: nil, repository_name: nil) ⇒ ECRConfigurationProperty
Returns a new instance of ECRConfigurationProperty.
756 757 758 759 760 761 |
# File 'image_builder/cfn_image_pipeline.rb', line 756 def initialize(container_tags: nil, repository_name: nil) @container_tags = Jsii::Type.check_type(@container_tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "containerTags") unless @container_tags.nil? @repository_name = repository_name Jsii::Type.check_type(@repository_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "repositoryName") unless @repository_name.nil? end |
Instance Attribute Details
#container_tags ⇒ Array<String>? (readonly)
Tags for Image Builder to apply to the output container image that Amazon Inspector scans.
Tags can help you identify and manage your scanned images.
769 770 771 |
# File 'image_builder/cfn_image_pipeline.rb', line 769 def @container_tags end |
#repository_name ⇒ String? (readonly)
The name of the container repository that Amazon Inspector scans to identify findings for your container images.
The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account named image-builder-image-scanning-repository for vulnerability scans of your output container images.
776 777 778 |
# File 'image_builder/cfn_image_pipeline.rb', line 776 def repository_name @repository_name end |
Class Method Details
.jsii_properties ⇒ Object
778 779 780 781 782 783 |
# File 'image_builder/cfn_image_pipeline.rb', line 778 def self.jsii_properties { :container_tags => "containerTags", :repository_name => "repositoryName", } end |
Instance Method Details
#to_jsii ⇒ Object
785 786 787 788 789 790 791 792 |
# File 'image_builder/cfn_image_pipeline.rb', line 785 def to_jsii result = {} result.merge!({ "containerTags" => @container_tags, "repositoryName" => @repository_name, }) result.compact end |