Class: AWSCDK::Panorama::CfnPackage::StorageLocationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
panorama/cfn_package.rb

Overview

A storage location.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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.

Parameters:

  • binary_prefix_location (String, nil) (defaults to: nil)

    The location's binary prefix.

  • bucket (String, nil) (defaults to: nil)

    The location's bucket.

  • generated_prefix_location (String, nil) (defaults to: nil)

    The location's generated prefix.

  • manifest_prefix_location (String, nil) (defaults to: nil)

    The location's manifest prefix.

  • repo_prefix_location (String, nil) (defaults to: nil)

    The location's repo prefix.



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_locationString? (readonly)

The location's binary prefix.



653
654
655
# File 'panorama/cfn_package.rb', line 653

def binary_prefix_location
  @binary_prefix_location
end

#bucketString? (readonly)

The location's bucket.



658
659
660
# File 'panorama/cfn_package.rb', line 658

def bucket
  @bucket
end

#generated_prefix_locationString? (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_locationString? (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_locationString? (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_propertiesObject



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_jsiiObject



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