Class: AWSCDK::RoboMaker::CfnRobotApplication::SourceConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
robo_maker/cfn_robot_application.rb

Overview

Information about a source configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(architecture:, s3_bucket:, s3_key:) ⇒ SourceConfigProperty

Returns a new instance of SourceConfigProperty.

Parameters:

  • architecture (String)

    The target processor architecture for the application.

  • s3_bucket (String)

    The Amazon S3 bucket name.

  • s3_key (String)

    The s3 object key.



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

#architectureString (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_bucketString (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_keyString (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_propertiesObject



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_jsiiObject



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