Class: AWSCDK::CodeBuild::BindToCodePipelineOptions

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
code_build/bind_to_code_pipeline_options.rb

Overview

The extra options passed to the IProject.bindToCodePipeline method.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(artifact_bucket:) ⇒ BindToCodePipelineOptions

Returns a new instance of BindToCodePipelineOptions.

Parameters:

  • artifact_bucket (AWSCDK::S3::IBucket)

    The artifact bucket that will be used by the action that invokes this project.



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_bucketAWSCDK::S3::IBucket (readonly)

The artifact bucket that will be used by the action that invokes this project.

Returns:



16
17
18
# File 'code_build/bind_to_code_pipeline_options.rb', line 16

def artifact_bucket
  @artifact_bucket
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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