Class: AWSCDK::ECR::CfnPublicRepository::RepositoryCatalogDataProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ECR::CfnPublicRepository::RepositoryCatalogDataProperty
- Defined in:
- ecr/cfn_public_repository.rb
Overview
The details about the repository that are publicly visible in the Amazon ECR Public Gallery.
For more information, see Amazon ECR Public repository catalog data in the Amazon ECR Public User Guide .
Instance Attribute Summary collapse
-
#about_text ⇒ String?
readonly
The longform description of the contents of the repository.
-
#architectures ⇒ Array<String>?
readonly
The architecture tags that are associated with the repository.
-
#operating_systems ⇒ Array<String>?
readonly
The operating system tags that are associated with the repository.
-
#repository_description ⇒ String?
readonly
The short description of the repository.
-
#usage_text ⇒ String?
readonly
The longform usage details of the contents of the repository.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(about_text: nil, architectures: nil, operating_systems: nil, repository_description: nil, usage_text: nil) ⇒ RepositoryCatalogDataProperty
constructor
A new instance of RepositoryCatalogDataProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(about_text: nil, architectures: nil, operating_systems: nil, repository_description: nil, usage_text: nil) ⇒ RepositoryCatalogDataProperty
Returns a new instance of RepositoryCatalogDataProperty.
592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'ecr/cfn_public_repository.rb', line 592 def initialize(about_text: nil, architectures: nil, operating_systems: nil, repository_description: nil, usage_text: nil) @about_text = about_text Jsii::Type.check_type(@about_text, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "aboutText") unless @about_text.nil? @architectures = architectures Jsii::Type.check_type(@architectures, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "architectures") unless @architectures.nil? @operating_systems = Jsii::Type.check_type(@operating_systems, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "operatingSystems") unless @operating_systems.nil? @repository_description = repository_description Jsii::Type.check_type(@repository_description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "repositoryDescription") unless @repository_description.nil? @usage_text = usage_text Jsii::Type.check_type(@usage_text, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "usageText") unless @usage_text.nil? end |
Instance Attribute Details
#about_text ⇒ String? (readonly)
The longform description of the contents of the repository.
This text appears in the repository details on the Amazon ECR Public Gallery.
611 612 613 |
# File 'ecr/cfn_public_repository.rb', line 611 def about_text @about_text end |
#architectures ⇒ Array<String>? (readonly)
The architecture tags that are associated with the repository.
616 617 618 |
# File 'ecr/cfn_public_repository.rb', line 616 def architectures @architectures end |
#operating_systems ⇒ Array<String>? (readonly)
The operating system tags that are associated with the repository.
621 622 623 |
# File 'ecr/cfn_public_repository.rb', line 621 def @operating_systems end |
#repository_description ⇒ String? (readonly)
The short description of the repository.
626 627 628 |
# File 'ecr/cfn_public_repository.rb', line 626 def repository_description @repository_description end |
#usage_text ⇒ String? (readonly)
The longform usage details of the contents of the repository.
The usage text provides context for users of the repository.
633 634 635 |
# File 'ecr/cfn_public_repository.rb', line 633 def usage_text @usage_text end |
Class Method Details
.jsii_properties ⇒ Object
635 636 637 638 639 640 641 642 643 |
# File 'ecr/cfn_public_repository.rb', line 635 def self.jsii_properties { :about_text => "aboutText", :architectures => "architectures", :operating_systems => "operatingSystems", :repository_description => "repositoryDescription", :usage_text => "usageText", } end |
Instance Method Details
#to_jsii ⇒ Object
645 646 647 648 649 650 651 652 653 654 655 |
# File 'ecr/cfn_public_repository.rb', line 645 def to_jsii result = {} result.merge!({ "aboutText" => @about_text, "architectures" => @architectures, "operatingSystems" => @operating_systems, "repositoryDescription" => @repository_description, "usageText" => @usage_text, }) result.compact end |