Class: AWSCDK::SimSpaceWeaver::CfnSimulation::S3LocationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SimSpaceWeaver::CfnSimulation::S3LocationProperty
- Defined in:
- sim_space_weaver/cfn_simulation.rb
Overview
A location in Amazon Simple Storage Service ( Amazon S3 ) where SimSpace Weaver stores simulation data, such as your app .zip files and schema file. For more information about Amazon S3 , see the Amazon Simple Storage Service User Guide .
Instance Attribute Summary collapse
-
#bucket_name ⇒ String
readonly
The name of an Amazon S3 bucket.
-
#object_key ⇒ String
readonly
The key name of an object in Amazon S3.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_name:, object_key:) ⇒ S3LocationProperty
constructor
A new instance of S3LocationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_name:, object_key:) ⇒ S3LocationProperty
Returns a new instance of S3LocationProperty.
579 580 581 582 583 584 |
# File 'sim_space_weaver/cfn_simulation.rb', line 579 def initialize(bucket_name:, object_key:) @bucket_name = bucket_name Jsii::Type.check_type(@bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketName") @object_key = object_key Jsii::Type.check_type(@object_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "objectKey") end |
Instance Attribute Details
#bucket_name ⇒ String (readonly)
The name of an Amazon S3 bucket.
For more information about buckets, see Creating, configuring, and working with Amazon S3 buckets in the Amazon Simple Storage Service User Guide .
592 593 594 |
# File 'sim_space_weaver/cfn_simulation.rb', line 592 def bucket_name @bucket_name end |
#object_key ⇒ String (readonly)
The key name of an object in Amazon S3.
For more information about Amazon S3 objects and object keys, see Uploading, downloading, and working with objects in Amazon S3 in the Amazon Simple Storage Service User Guide .
599 600 601 |
# File 'sim_space_weaver/cfn_simulation.rb', line 599 def object_key @object_key end |
Class Method Details
.jsii_properties ⇒ Object
601 602 603 604 605 606 |
# File 'sim_space_weaver/cfn_simulation.rb', line 601 def self.jsii_properties { :bucket_name => "bucketName", :object_key => "objectKey", } end |
Instance Method Details
#to_jsii ⇒ Object
608 609 610 611 612 613 614 615 |
# File 'sim_space_weaver/cfn_simulation.rb', line 608 def to_jsii result = {} result.merge!({ "bucketName" => @bucket_name, "objectKey" => @object_key, }) result.compact end |