Class: AWSCDK::CodeBuild::BindToCodePipelineOptions
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CodeBuild::BindToCodePipelineOptions
- Defined in:
- code_build/bind_to_code_pipeline_options.rb
Overview
The extra options passed to the IProject.bindToCodePipeline method.
Instance Attribute Summary collapse
-
#artifact_bucket ⇒ AWSCDK::S3::IBucket
readonly
The artifact bucket that will be used by the action that invokes this project.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(artifact_bucket:) ⇒ BindToCodePipelineOptions
constructor
A new instance of BindToCodePipelineOptions.
- #to_jsii ⇒ Object
Constructor Details
#initialize(artifact_bucket:) ⇒ BindToCodePipelineOptions
Returns a new instance of BindToCodePipelineOptions.
8 9 10 11 |
# File 'code_build/bind_to_code_pipeline_options.rb', line 8 def initialize(artifact_bucket:) @artifact_bucket = artifact_bucket Jsii::Type.check_type(@artifact_bucket, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfczMuSUJ1Y2tldCJ9")), "artifactBucket") end |
Instance Attribute Details
#artifact_bucket ⇒ AWSCDK::S3::IBucket (readonly)
The artifact bucket that will be used by the action that invokes this project.
16 17 18 |
# File 'code_build/bind_to_code_pipeline_options.rb', line 16 def artifact_bucket @artifact_bucket end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'code_build/bind_to_code_pipeline_options.rb', line 18 def self.jsii_properties { :artifact_bucket => "artifactBucket", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'code_build/bind_to_code_pipeline_options.rb', line 24 def to_jsii result = {} result.merge!({ "artifactBucket" => @artifact_bucket, }) result.compact end |