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