Class: AWSCDK::ServiceCatalog::CloudFormationTemplateConfig
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ServiceCatalog::CloudFormationTemplateConfig
- Defined in:
- service_catalog/cloud_formation_template_config.rb
Overview
Result of binding Template into a Product.
Instance Attribute Summary collapse
-
#asset_bucket ⇒ AWSCDK::S3::IBucket?
readonly
The S3 bucket containing product stack assets.
-
#http_url ⇒ String
readonly
The http url of the template in S3.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(http_url:, asset_bucket: nil) ⇒ CloudFormationTemplateConfig
constructor
A new instance of CloudFormationTemplateConfig.
- #to_jsii ⇒ Object
Constructor Details
#initialize(http_url:, asset_bucket: nil) ⇒ CloudFormationTemplateConfig
Returns a new instance of CloudFormationTemplateConfig.
9 10 11 12 13 14 |
# File 'service_catalog/cloud_formation_template_config.rb', line 9 def initialize(http_url:, asset_bucket: nil) @http_url = http_url Jsii::Type.check_type(@http_url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "httpUrl") @asset_bucket = asset_bucket Jsii::Type.check_type(@asset_bucket, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfczMuSUJ1Y2tldCJ9")), "assetBucket") unless @asset_bucket.nil? end |
Instance Attribute Details
#asset_bucket ⇒ AWSCDK::S3::IBucket? (readonly)
Note:
Default: - None - no assets are used in this product
The S3 bucket containing product stack assets.
24 25 26 |
# File 'service_catalog/cloud_formation_template_config.rb', line 24 def asset_bucket @asset_bucket end |
#http_url ⇒ String (readonly)
The http url of the template in S3.
19 20 21 |
# File 'service_catalog/cloud_formation_template_config.rb', line 19 def http_url @http_url end |
Class Method Details
.jsii_properties ⇒ Object
26 27 28 29 30 31 |
# File 'service_catalog/cloud_formation_template_config.rb', line 26 def self.jsii_properties { :http_url => "httpUrl", :asset_bucket => "assetBucket", } end |
Instance Method Details
#to_jsii ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'service_catalog/cloud_formation_template_config.rb', line 33 def to_jsii result = {} result.merge!({ "httpUrl" => @http_url, "assetBucket" => @asset_bucket, }) result.compact end |