Class: AWSCDK::Bedrock::CfnFlow::AgentFlowNodeConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock/cfn_flow.rb

Overview

Defines an agent node in your flow.

You specify the agent to invoke at this point in the flow. For more information, see Node types in a flow in the Amazon Bedrock User Guide.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(agent_alias_arn:) ⇒ AgentFlowNodeConfigurationProperty

Returns a new instance of AgentFlowNodeConfigurationProperty.

Parameters:

  • agent_alias_arn (String)

    The Amazon Resource Name (ARN) of the alias of the agent to invoke.



702
703
704
705
# File 'bedrock/cfn_flow.rb', line 702

def initialize(agent_alias_arn:)
  @agent_alias_arn = agent_alias_arn
  Jsii::Type.check_type(@agent_alias_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "agentAliasArn")
end

Instance Attribute Details

#agent_alias_arnString (readonly)

The Amazon Resource Name (ARN) of the alias of the agent to invoke.



711
712
713
# File 'bedrock/cfn_flow.rb', line 711

def agent_alias_arn
  @agent_alias_arn
end

Class Method Details

.jsii_propertiesObject



713
714
715
716
717
# File 'bedrock/cfn_flow.rb', line 713

def self.jsii_properties
  {
    :agent_alias_arn => "agentAliasArn",
  }
end

Instance Method Details

#to_jsiiObject



719
720
721
722
723
724
725
# File 'bedrock/cfn_flow.rb', line 719

def to_jsii
  result = {}
  result.merge!({
    "agentAliasArn" => @agent_alias_arn,
  })
  result.compact
end