Class: AWSCDK::Panorama::CfnPackage::StorageLocationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Panorama::CfnPackage::StorageLocationProperty
- Defined in:
- panorama/cfn_package.rb
Overview
A storage location.
Instance Attribute Summary collapse
-
#binary_prefix_location ⇒ String?
readonly
The location's binary prefix.
-
#bucket ⇒ String?
readonly
The location's bucket.
-
#generated_prefix_location ⇒ String?
readonly
The location's generated prefix.
-
#manifest_prefix_location ⇒ String?
readonly
The location's manifest prefix.
-
#repo_prefix_location ⇒ String?
readonly
The location's repo prefix.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(binary_prefix_location: nil, bucket: nil, generated_prefix_location: nil, manifest_prefix_location: nil, repo_prefix_location: nil) ⇒ StorageLocationProperty
constructor
A new instance of StorageLocationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(binary_prefix_location: nil, bucket: nil, generated_prefix_location: nil, manifest_prefix_location: nil, repo_prefix_location: nil) ⇒ StorageLocationProperty
Returns a new instance of StorageLocationProperty.
636 637 638 639 640 641 642 643 644 645 646 647 |
# File 'panorama/cfn_package.rb', line 636 def initialize(binary_prefix_location: nil, bucket: nil, generated_prefix_location: nil, manifest_prefix_location: nil, repo_prefix_location: nil) @binary_prefix_location = binary_prefix_location Jsii::Type.check_type(@binary_prefix_location, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "binaryPrefixLocation") unless @binary_prefix_location.nil? @bucket = bucket Jsii::Type.check_type(@bucket, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucket") unless @bucket.nil? @generated_prefix_location = generated_prefix_location Jsii::Type.check_type(@generated_prefix_location, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "generatedPrefixLocation") unless @generated_prefix_location.nil? @manifest_prefix_location = manifest_prefix_location Jsii::Type.check_type(@manifest_prefix_location, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "manifestPrefixLocation") unless @manifest_prefix_location.nil? @repo_prefix_location = repo_prefix_location Jsii::Type.check_type(@repo_prefix_location, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "repoPrefixLocation") unless @repo_prefix_location.nil? end |
Instance Attribute Details
#binary_prefix_location ⇒ String? (readonly)
The location's binary prefix.
653 654 655 |
# File 'panorama/cfn_package.rb', line 653 def binary_prefix_location @binary_prefix_location end |
#bucket ⇒ String? (readonly)
The location's bucket.
658 659 660 |
# File 'panorama/cfn_package.rb', line 658 def bucket @bucket end |
#generated_prefix_location ⇒ String? (readonly)
The location's generated prefix.
663 664 665 |
# File 'panorama/cfn_package.rb', line 663 def generated_prefix_location @generated_prefix_location end |
#manifest_prefix_location ⇒ String? (readonly)
The location's manifest prefix.
668 669 670 |
# File 'panorama/cfn_package.rb', line 668 def manifest_prefix_location @manifest_prefix_location end |
#repo_prefix_location ⇒ String? (readonly)
The location's repo prefix.
673 674 675 |
# File 'panorama/cfn_package.rb', line 673 def repo_prefix_location @repo_prefix_location end |
Class Method Details
.jsii_properties ⇒ Object
675 676 677 678 679 680 681 682 683 |
# File 'panorama/cfn_package.rb', line 675 def self.jsii_properties { :binary_prefix_location => "binaryPrefixLocation", :bucket => "bucket", :generated_prefix_location => "generatedPrefixLocation", :manifest_prefix_location => "manifestPrefixLocation", :repo_prefix_location => "repoPrefixLocation", } end |
Instance Method Details
#to_jsii ⇒ Object
685 686 687 688 689 690 691 692 693 694 695 |
# File 'panorama/cfn_package.rb', line 685 def to_jsii result = {} result.merge!({ "binaryPrefixLocation" => @binary_prefix_location, "bucket" => @bucket, "generatedPrefixLocation" => @generated_prefix_location, "manifestPrefixLocation" => @manifest_prefix_location, "repoPrefixLocation" => @repo_prefix_location, }) result.compact end |