Class: AWSCDK::KinesisAnalyticsv2::CfnApplication::S3ContentBaseLocationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalyticsv2::CfnApplication::S3ContentBaseLocationProperty
- Defined in:
- kinesis_analyticsv2/cfn_application.rb
Overview
The base location of the Amazon Data Analytics application.
Instance Attribute Summary collapse
-
#base_path ⇒ String?
readonly
The base path for the S3 bucket.
-
#bucket_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the S3 bucket.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_arn:, base_path: nil) ⇒ S3ContentBaseLocationProperty
constructor
A new instance of S3ContentBaseLocationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_arn:, base_path: nil) ⇒ S3ContentBaseLocationProperty
Returns a new instance of S3ContentBaseLocationProperty.
2207 2208 2209 2210 2211 2212 |
# File 'kinesis_analyticsv2/cfn_application.rb', line 2207 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_path ⇒ String? (readonly)
The base path for the S3 bucket.
2223 2224 2225 |
# File 'kinesis_analyticsv2/cfn_application.rb', line 2223 def base_path @base_path end |
#bucket_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the S3 bucket.
2218 2219 2220 |
# File 'kinesis_analyticsv2/cfn_application.rb', line 2218 def bucket_arn @bucket_arn end |
Class Method Details
.jsii_properties ⇒ Object
2225 2226 2227 2228 2229 2230 |
# File 'kinesis_analyticsv2/cfn_application.rb', line 2225 def self.jsii_properties { :bucket_arn => "bucketArn", :base_path => "basePath", } end |
Instance Method Details
#to_jsii ⇒ Object
2232 2233 2234 2235 2236 2237 2238 2239 |
# File 'kinesis_analyticsv2/cfn_application.rb', line 2232 def to_jsii result = {} result.merge!({ "bucketArn" => @bucket_arn, "basePath" => @base_path, }) result.compact end |