Class: AWSCDK::ElasticBeanstalk::CfnApplicationVersion::SourceBundleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ElasticBeanstalk::CfnApplicationVersion::SourceBundleProperty
- Defined in:
- elastic_beanstalk/cfn_application_version.rb
Overview
Use the SourceBundle property type to specify the Amazon S3 location of the source bundle for an AWS Elastic Beanstalk application version when defining an AWS::ElasticBeanstalk::ApplicationVersion resource in an AWS CloudFormation template.
The SourceBundle property is an embedded property of the AWS::ElasticBeanstalk::ApplicationVersion resource. It specifies the Amazon S3 location of the source bundle for an AWS Elastic Beanstalk application version.
Instance Attribute Summary collapse
-
#s3_bucket ⇒ String
readonly
The Amazon S3 bucket where the data is located.
-
#s3_key ⇒ String
readonly
The Amazon S3 key where the data is located.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(s3_bucket:, s3_key:) ⇒ SourceBundleProperty
constructor
A new instance of SourceBundleProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(s3_bucket:, s3_key:) ⇒ SourceBundleProperty
Returns a new instance of SourceBundleProperty.
532 533 534 535 536 537 |
# File 'elastic_beanstalk/cfn_application_version.rb', line 532 def initialize(s3_bucket:, s3_key:) @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
#s3_bucket ⇒ String (readonly)
The Amazon S3 bucket where the data is located.
543 544 545 |
# File 'elastic_beanstalk/cfn_application_version.rb', line 543 def s3_bucket @s3_bucket end |
#s3_key ⇒ String (readonly)
The Amazon S3 key where the data is located.
548 549 550 |
# File 'elastic_beanstalk/cfn_application_version.rb', line 548 def s3_key @s3_key end |
Class Method Details
.jsii_properties ⇒ Object
550 551 552 553 554 555 |
# File 'elastic_beanstalk/cfn_application_version.rb', line 550 def self.jsii_properties { :s3_bucket => "s3Bucket", :s3_key => "s3Key", } end |
Instance Method Details
#to_jsii ⇒ Object
557 558 559 560 561 562 563 564 |
# File 'elastic_beanstalk/cfn_application_version.rb', line 557 def to_jsii result = {} result.merge!({ "s3Bucket" => @s3_bucket, "s3Key" => @s3_key, }) result.compact end |