Class: AWSCDK::RoboMaker::CfnRobotApplication::SourceConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RoboMaker::CfnRobotApplication::SourceConfigProperty
- Defined in:
- robo_maker/cfn_robot_application.rb
Overview
Information about a source configuration.
Instance Attribute Summary collapse
-
#architecture ⇒ String
readonly
The target processor architecture for the application.
-
#s3_bucket ⇒ String
readonly
The Amazon S3 bucket name.
-
#s3_key ⇒ String
readonly
The s3 object key.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(architecture:, s3_bucket:, s3_key:) ⇒ SourceConfigProperty
constructor
A new instance of SourceConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(architecture:, s3_bucket:, s3_key:) ⇒ SourceConfigProperty
Returns a new instance of SourceConfigProperty.
639 640 641 642 643 644 645 646 |
# File 'robo_maker/cfn_robot_application.rb', line 639 def initialize(architecture:, s3_bucket:, s3_key:) @architecture = architecture Jsii::Type.check_type(@architecture, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "architecture") @s3_bucket = s3_bucket Jsii::Type.check_type(@s3_bucket, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3Bucket") @s3_key = s3_key Jsii::Type.check_type(@s3_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3Key") end |
Instance Attribute Details
#architecture ⇒ String (readonly)
The target processor architecture for the application.
652 653 654 |
# File 'robo_maker/cfn_robot_application.rb', line 652 def architecture @architecture end |
#s3_bucket ⇒ String (readonly)
The Amazon S3 bucket name.
657 658 659 |
# File 'robo_maker/cfn_robot_application.rb', line 657 def s3_bucket @s3_bucket end |
#s3_key ⇒ String (readonly)
The s3 object key.
662 663 664 |
# File 'robo_maker/cfn_robot_application.rb', line 662 def s3_key @s3_key end |
Class Method Details
.jsii_properties ⇒ Object
664 665 666 667 668 669 670 |
# File 'robo_maker/cfn_robot_application.rb', line 664 def self.jsii_properties { :architecture => "architecture", :s3_bucket => "s3Bucket", :s3_key => "s3Key", } end |
Instance Method Details
#to_jsii ⇒ Object
672 673 674 675 676 677 678 679 680 |
# File 'robo_maker/cfn_robot_application.rb', line 672 def to_jsii result = {} result.merge!({ "architecture" => @architecture, "s3Bucket" => @s3_bucket, "s3Key" => @s3_key, }) result.compact end |