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