Class: AWSCDK::AppStream::CfnFleet::S3LocationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppStream::CfnFleet::S3LocationProperty
- Defined in:
- app_stream/cfn_fleet.rb
Overview
Describes the S3 location.
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.
901 902 903 904 905 906 |
# File 'app_stream/cfn_fleet.rb', line 901 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.
912 913 914 |
# File 'app_stream/cfn_fleet.rb', line 912 def s3_bucket @s3_bucket end |
#s3_key ⇒ String (readonly)
The S3 key of the S3 object.
917 918 919 |
# File 'app_stream/cfn_fleet.rb', line 917 def s3_key @s3_key end |
Class Method Details
.jsii_properties ⇒ Object
919 920 921 922 923 924 |
# File 'app_stream/cfn_fleet.rb', line 919 def self.jsii_properties { :s3_bucket => "s3Bucket", :s3_key => "s3Key", } end |
Instance Method Details
#to_jsii ⇒ Object
926 927 928 929 930 931 932 933 |
# File 'app_stream/cfn_fleet.rb', line 926 def to_jsii result = {} result.merge!({ "s3Bucket" => @s3_bucket, "s3Key" => @s3_key, }) result.compact end |