Class: AWSCDK::Interfaces::AWSPipes::PipeReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSPipes::PipeReference
- Defined in:
- interfaces/aws_pipes/pipe_reference.rb
Overview
A reference to a Pipe resource.
Instance Attribute Summary collapse
-
#pipe_arn ⇒ String
readonly
The ARN of the Pipe resource.
-
#pipe_name ⇒ String
readonly
The Name of the Pipe resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(pipe_arn:, pipe_name:) ⇒ PipeReference
constructor
A new instance of PipeReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(pipe_arn:, pipe_name:) ⇒ PipeReference
Returns a new instance of PipeReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_pipes/pipe_reference.rb', line 9 def initialize(pipe_arn:, pipe_name:) @pipe_arn = pipe_arn Jsii::Type.check_type(@pipe_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "pipeArn") @pipe_name = pipe_name Jsii::Type.check_type(@pipe_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "pipeName") end |
Instance Attribute Details
#pipe_arn ⇒ String (readonly)
The ARN of the Pipe resource.
19 20 21 |
# File 'interfaces/aws_pipes/pipe_reference.rb', line 19 def pipe_arn @pipe_arn end |
#pipe_name ⇒ String (readonly)
The Name of the Pipe resource.
23 24 25 |
# File 'interfaces/aws_pipes/pipe_reference.rb', line 23 def pipe_name @pipe_name end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_pipes/pipe_reference.rb', line 25 def self.jsii_properties { :pipe_arn => "pipeArn", :pipe_name => "pipeName", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_pipes/pipe_reference.rb', line 32 def to_jsii result = {} result.merge!({ "pipeArn" => @pipe_arn, "pipeName" => @pipe_name, }) result.compact end |