Class: AWSCDK::AppStream::CfnApplication::S3LocationProperty

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

Overview

The S3 location of the application icon.

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.



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



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_jsiiObject



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