Class: AWSCDK::Bedrock::CfnFlowVersion::PromptFlowNodeResourceConfigurationProperty

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

Overview

Contains configurations for a prompt from Prompt management to use in a node.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(prompt_arn:) ⇒ PromptFlowNodeResourceConfigurationProperty

Returns a new instance of PromptFlowNodeResourceConfigurationProperty.

Parameters:

  • prompt_arn (String)

    The Amazon Resource Name (ARN) of the prompt from Prompt management.



2005
2006
2007
2008
# File 'bedrock/cfn_flow_version.rb', line 2005

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

Instance Attribute Details

#prompt_arnString (readonly)

The Amazon Resource Name (ARN) of the prompt from Prompt management.



2014
2015
2016
# File 'bedrock/cfn_flow_version.rb', line 2014

def prompt_arn
  @prompt_arn
end

Class Method Details

.jsii_propertiesObject



2016
2017
2018
2019
2020
# File 'bedrock/cfn_flow_version.rb', line 2016

def self.jsii_properties
  {
    :prompt_arn => "promptArn",
  }
end

Instance Method Details

#to_jsiiObject



2022
2023
2024
2025
2026
2027
2028
# File 'bedrock/cfn_flow_version.rb', line 2022

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