Class: AWSCDK::KinesisAnalytics::CfnApplicationV2::S3ContentBaseLocationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
kinesis_analytics/cfn_application_v2.rb

Overview

The base location of the Amazon Data Analytics application.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket_arn:, base_path: nil) ⇒ S3ContentBaseLocationProperty

Returns a new instance of S3ContentBaseLocationProperty.

Parameters:

  • bucket_arn (String)

    The Amazon Resource Name (ARN) of the S3 bucket.

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

    The base path for the S3 bucket.



2208
2209
2210
2211
2212
2213
# File 'kinesis_analytics/cfn_application_v2.rb', line 2208

def initialize(bucket_arn:, base_path: nil)
  @bucket_arn = bucket_arn
  Jsii::Type.check_type(@bucket_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketArn")
  @base_path = base_path
  Jsii::Type.check_type(@base_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "basePath") unless @base_path.nil?
end

Instance Attribute Details

#base_pathString? (readonly)

The base path for the S3 bucket.



2224
2225
2226
# File 'kinesis_analytics/cfn_application_v2.rb', line 2224

def base_path
  @base_path
end

#bucket_arnString (readonly)

The Amazon Resource Name (ARN) of the S3 bucket.



2219
2220
2221
# File 'kinesis_analytics/cfn_application_v2.rb', line 2219

def bucket_arn
  @bucket_arn
end

Class Method Details

.jsii_propertiesObject



2226
2227
2228
2229
2230
2231
# File 'kinesis_analytics/cfn_application_v2.rb', line 2226

def self.jsii_properties
  {
    :bucket_arn => "bucketArn",
    :base_path => "basePath",
  }
end

Instance Method Details

#to_jsiiObject



2233
2234
2235
2236
2237
2238
2239
2240
# File 'kinesis_analytics/cfn_application_v2.rb', line 2233

def to_jsii
  result = {}
  result.merge!({
    "bucketArn" => @bucket_arn,
    "basePath" => @base_path,
  })
  result.compact
end