Class: AWSCDK::Bedrock::CfnFlow::S3LocationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlow::S3LocationProperty
- Defined in:
- bedrock/cfn_flow.rb
Overview
The S3 location of the flow definition.
Instance Attribute Summary collapse
-
#bucket ⇒ String
readonly
The S3 bucket containing the flow definition.
-
#key ⇒ String
readonly
The object key for the S3 location containing the definition.
-
#version ⇒ String?
readonly
The Amazon S3 location from which to retrieve data for an S3 retrieve node or to which to store data for an S3 storage node.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket:, key:, version: nil) ⇒ S3LocationProperty
constructor
A new instance of S3LocationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket:, key:, version: nil) ⇒ S3LocationProperty
Returns a new instance of S3LocationProperty.
2580 2581 2582 2583 2584 2585 2586 2587 |
# File 'bedrock/cfn_flow.rb', line 2580 def initialize(bucket:, key:, version: nil) @bucket = bucket Jsii::Type.check_type(@bucket, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucket") @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @version = version Jsii::Type.check_type(@version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version") unless @version.nil? end |
Instance Attribute Details
#bucket ⇒ String (readonly)
The S3 bucket containing the flow definition.
2593 2594 2595 |
# File 'bedrock/cfn_flow.rb', line 2593 def bucket @bucket end |
#key ⇒ String (readonly)
The object key for the S3 location containing the definition.
2598 2599 2600 |
# File 'bedrock/cfn_flow.rb', line 2598 def key @key end |
#version ⇒ String? (readonly)
The Amazon S3 location from which to retrieve data for an S3 retrieve node or to which to store data for an S3 storage node.
2603 2604 2605 |
# File 'bedrock/cfn_flow.rb', line 2603 def version @version end |
Class Method Details
.jsii_properties ⇒ Object
2605 2606 2607 2608 2609 2610 2611 |
# File 'bedrock/cfn_flow.rb', line 2605 def self.jsii_properties { :bucket => "bucket", :key => "key", :version => "version", } end |
Instance Method Details
#to_jsii ⇒ Object
2613 2614 2615 2616 2617 2618 2619 2620 2621 |
# File 'bedrock/cfn_flow.rb', line 2613 def to_jsii result = {} result.merge!({ "bucket" => @bucket, "key" => @key, "version" => @version, }) result.compact end |