Class: AWSCDK::ServiceCatalog::CfnCloudFormationProduct::CodeStarParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ServiceCatalog::CfnCloudFormationProduct::CodeStarParametersProperty
- Defined in:
- service_catalog/cfn_cloud_formation_product.rb
Overview
The subtype containing details about the Codestar connection Type .
Instance Attribute Summary collapse
-
#artifact_path ⇒ String
readonly
The absolute path wehre the artifact resides within the repo and branch, formatted as "folder/file.json.".
-
#branch ⇒ String
readonly
The specific branch where the artifact resides.
-
#connection_arn ⇒ String
readonly
The CodeStar ARN, which is the connection between AWS Service Catalog and the external repository.
-
#repository ⇒ String
readonly
The specific repository where the product’s artifact-to-be-synced resides, formatted as "Account/Repo.".
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(artifact_path:, branch:, connection_arn:, repository:) ⇒ CodeStarParametersProperty
constructor
A new instance of CodeStarParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(artifact_path:, branch:, connection_arn:, repository:) ⇒ CodeStarParametersProperty
Returns a new instance of CodeStarParametersProperty.
692 693 694 695 696 697 698 699 700 701 |
# File 'service_catalog/cfn_cloud_formation_product.rb', line 692 def initialize(artifact_path:, branch:, connection_arn:, repository:) @artifact_path = artifact_path Jsii::Type.check_type(@artifact_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "artifactPath") @branch = branch Jsii::Type.check_type(@branch, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "branch") @connection_arn = connection_arn Jsii::Type.check_type(@connection_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "connectionArn") @repository = repository Jsii::Type.check_type(@repository, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "repository") end |
Instance Attribute Details
#artifact_path ⇒ String (readonly)
The absolute path wehre the artifact resides within the repo and branch, formatted as "folder/file.json.".
707 708 709 |
# File 'service_catalog/cfn_cloud_formation_product.rb', line 707 def artifact_path @artifact_path end |
#branch ⇒ String (readonly)
The specific branch where the artifact resides.
712 713 714 |
# File 'service_catalog/cfn_cloud_formation_product.rb', line 712 def branch @branch end |
#connection_arn ⇒ String (readonly)
The CodeStar ARN, which is the connection between AWS Service Catalog and the external repository.
717 718 719 |
# File 'service_catalog/cfn_cloud_formation_product.rb', line 717 def connection_arn @connection_arn end |
#repository ⇒ String (readonly)
The specific repository where the product’s artifact-to-be-synced resides, formatted as "Account/Repo.".
722 723 724 |
# File 'service_catalog/cfn_cloud_formation_product.rb', line 722 def repository @repository end |
Class Method Details
.jsii_properties ⇒ Object
724 725 726 727 728 729 730 731 |
# File 'service_catalog/cfn_cloud_formation_product.rb', line 724 def self.jsii_properties { :artifact_path => "artifactPath", :branch => "branch", :connection_arn => "connectionArn", :repository => "repository", } end |
Instance Method Details
#to_jsii ⇒ Object
733 734 735 736 737 738 739 740 741 742 |
# File 'service_catalog/cfn_cloud_formation_product.rb', line 733 def to_jsii result = {} result.merge!({ "artifactPath" => @artifact_path, "branch" => @branch, "connectionArn" => @connection_arn, "repository" => @repository, }) result.compact end |