Class: AWSCDK::AppStream::CfnFleet::S3LocationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_stream/cfn_fleet.rb

Overview

Describes the S3 location.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s3_bucket:, s3_key:) ⇒ S3LocationProperty

Returns a new instance of S3LocationProperty.

Parameters:

  • s3_bucket (String)

    The S3 bucket of the S3 object.

  • s3_key (String)

    The S3 key of the S3 object.



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_bucketString (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_keyString (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_propertiesObject



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_jsiiObject



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