Class: AWSCDK::Bedrock::CfnFlow::PromptFlowNodeResourceConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock/cfn_flow.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.



2184
2185
2186
2187
# File 'bedrock/cfn_flow.rb', line 2184

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.



2193
2194
2195
# File 'bedrock/cfn_flow.rb', line 2193

def prompt_arn
  @prompt_arn
end

Class Method Details

.jsii_propertiesObject



2195
2196
2197
2198
2199
# File 'bedrock/cfn_flow.rb', line 2195

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

Instance Method Details

#to_jsiiObject



2201
2202
2203
2204
2205
2206
2207
# File 'bedrock/cfn_flow.rb', line 2201

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