Class: AWSCDK::AppStream::CfnApplication::S3LocationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppStream::CfnApplication::S3LocationProperty
- Defined in:
- app_stream/cfn_application.rb
Overview
The S3 location of the application icon.
Instance Attribute Summary collapse
-
#s3_bucket ⇒ String
readonly
The S3 bucket of the S3 object.
-
#s3_key ⇒ String
readonly
The S3 key of the S3 object.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(s3_bucket:, s3_key:) ⇒ S3LocationProperty
constructor
A new instance of S3LocationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(s3_bucket:, s3_key:) ⇒ S3LocationProperty
Returns a new instance of S3LocationProperty.
672 673 674 675 676 677 |
# File 'app_stream/cfn_application.rb', line 672 def initialize(s3_bucket:, s3_key:) @s3_bucket = s3_bucket Jsii::Type.check_type(@s3_bucket, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3Bucket") @s3_key = s3_key Jsii::Type.check_type(@s3_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3Key") end |
Instance Attribute Details
#s3_bucket ⇒ String (readonly)
The S3 bucket of the S3 object.
683 684 685 |
# File 'app_stream/cfn_application.rb', line 683 def s3_bucket @s3_bucket end |
#s3_key ⇒ String (readonly)
The S3 key of the S3 object.
688 689 690 |
# File 'app_stream/cfn_application.rb', line 688 def s3_key @s3_key end |
Class Method Details
.jsii_properties ⇒ Object
690 691 692 693 694 695 |
# File 'app_stream/cfn_application.rb', line 690 def self.jsii_properties { :s3_bucket => "s3Bucket", :s3_key => "s3Key", } end |
Instance Method Details
#to_jsii ⇒ Object
697 698 699 700 701 702 703 704 |
# File 'app_stream/cfn_application.rb', line 697 def to_jsii result = {} result.merge!({ "s3Bucket" => @s3_bucket, "s3Key" => @s3_key, }) result.compact end |