Class: AWSCDK::KinesisAnalyticsv2::CfnApplication::S3ContentLocationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalyticsv2::CfnApplication::S3ContentLocationProperty
- Defined in:
- kinesis_analyticsv2/cfn_application.rb
Overview
The location of an application or a custom artifact.
Instance Attribute Summary collapse
-
#bucket_arn ⇒ String
readonly
The Amazon Resource Name (ARN) for the S3 bucket containing the application code.
-
#file_key ⇒ String
readonly
The file key for the object containing the application code.
-
#object_version ⇒ String?
readonly
The version of the object containing the application code.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_arn:, file_key:, object_version: nil) ⇒ S3ContentLocationProperty
constructor
A new instance of S3ContentLocationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_arn:, file_key:, object_version: nil) ⇒ S3ContentLocationProperty
Returns a new instance of S3ContentLocationProperty.
2251 2252 2253 2254 2255 2256 2257 2258 |
# File 'kinesis_analyticsv2/cfn_application.rb', line 2251 def initialize(bucket_arn:, file_key:, object_version: nil) @bucket_arn = bucket_arn Jsii::Type.check_type(@bucket_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketArn") @file_key = file_key Jsii::Type.check_type(@file_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fileKey") @object_version = object_version Jsii::Type.check_type(@object_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "objectVersion") unless @object_version.nil? end |
Instance Attribute Details
#bucket_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) for the S3 bucket containing the application code.
2264 2265 2266 |
# File 'kinesis_analyticsv2/cfn_application.rb', line 2264 def bucket_arn @bucket_arn end |
#file_key ⇒ String (readonly)
The file key for the object containing the application code.
2269 2270 2271 |
# File 'kinesis_analyticsv2/cfn_application.rb', line 2269 def file_key @file_key end |
#object_version ⇒ String? (readonly)
The version of the object containing the application code.
2274 2275 2276 |
# File 'kinesis_analyticsv2/cfn_application.rb', line 2274 def object_version @object_version end |
Class Method Details
.jsii_properties ⇒ Object
2276 2277 2278 2279 2280 2281 2282 |
# File 'kinesis_analyticsv2/cfn_application.rb', line 2276 def self.jsii_properties { :bucket_arn => "bucketArn", :file_key => "fileKey", :object_version => "objectVersion", } end |
Instance Method Details
#to_jsii ⇒ Object
2284 2285 2286 2287 2288 2289 2290 2291 2292 |
# File 'kinesis_analyticsv2/cfn_application.rb', line 2284 def to_jsii result = {} result.merge!({ "bucketArn" => @bucket_arn, "fileKey" => @file_key, "objectVersion" => @object_version, }) result.compact end |