Class: AWSCDK::Codepipeline::CrossRegionSupport
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Codepipeline::CrossRegionSupport
- Defined in:
- codepipeline/cross_region_support.rb
Overview
An interface representing resources generated in order to support the cross-region capabilities of CodePipeline.
You get instances of this interface from the Pipeline#crossRegionSupport property.
Instance Attribute Summary collapse
-
#replication_bucket ⇒ AWSCDK::S3::IBucket
readonly
The replication Bucket used by CodePipeline to operate in this region.
-
#stack ⇒ AWSCDK::Stack
readonly
The Stack that has been created to house the replication Bucket required for this region.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(replication_bucket:, stack:) ⇒ CrossRegionSupport
constructor
A new instance of CrossRegionSupport.
- #to_jsii ⇒ Object
Constructor Details
#initialize(replication_bucket:, stack:) ⇒ CrossRegionSupport
Returns a new instance of CrossRegionSupport.
11 12 13 14 15 16 |
# File 'codepipeline/cross_region_support.rb', line 11 def initialize(replication_bucket:, stack:) @replication_bucket = replication_bucket Jsii::Type.check_type(@replication_bucket, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfczMuSUJ1Y2tldCJ9")), "replicationBucket") @stack = stack Jsii::Type.check_type(@stack, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5TdGFjayJ9")), "stack") end |
Instance Attribute Details
#replication_bucket ⇒ AWSCDK::S3::IBucket (readonly)
The replication Bucket used by CodePipeline to operate in this region.
Belongs to stack.
23 24 25 |
# File 'codepipeline/cross_region_support.rb', line 23 def replication_bucket @replication_bucket end |
#stack ⇒ AWSCDK::Stack (readonly)
The Stack that has been created to house the replication Bucket required for this region.
27 28 29 |
# File 'codepipeline/cross_region_support.rb', line 27 def stack @stack end |
Class Method Details
.jsii_properties ⇒ Object
29 30 31 32 33 34 |
# File 'codepipeline/cross_region_support.rb', line 29 def self.jsii_properties { :replication_bucket => "replicationBucket", :stack => "stack", } end |
Instance Method Details
#to_jsii ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'codepipeline/cross_region_support.rb', line 36 def to_jsii result = {} result.merge!({ "replicationBucket" => @replication_bucket, "stack" => @stack, }) result.compact end |