Class: AWSCDK::Interfaces::AWSBedrockagentcore::HarnessReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSBedrockagentcore::HarnessReference
- Defined in:
- interfaces/aws_bedrockagentcore/harness_reference.rb
Overview
A reference to a Harness resource.
Instance Attribute Summary collapse
-
#harness_arn ⇒ String
readonly
The Arn of the Harness resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(harness_arn:) ⇒ HarnessReference
constructor
A new instance of HarnessReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(harness_arn:) ⇒ HarnessReference
Returns a new instance of HarnessReference.
8 9 10 11 |
# File 'interfaces/aws_bedrockagentcore/harness_reference.rb', line 8 def initialize(harness_arn:) @harness_arn = harness_arn Jsii::Type.check_type(@harness_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "harnessArn") end |
Instance Attribute Details
#harness_arn ⇒ String (readonly)
The Arn of the Harness resource.
16 17 18 |
# File 'interfaces/aws_bedrockagentcore/harness_reference.rb', line 16 def harness_arn @harness_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_bedrockagentcore/harness_reference.rb', line 18 def self.jsii_properties { :harness_arn => "harnessArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_bedrockagentcore/harness_reference.rb', line 24 def to_jsii result = {} result.merge!({ "harnessArn" => @harness_arn, }) result.compact end |