Class: AWSCDK::BedrockAgentCore::CfnMemory::InvocationConfigurationInputProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock_agent_core/cfn_memory.rb

Overview

The memory invocation configuration input.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(payload_delivery_bucket_name: nil, topic_arn: nil) ⇒ InvocationConfigurationInputProperty

Returns a new instance of InvocationConfigurationInputProperty.

Parameters:

  • payload_delivery_bucket_name (String, nil) (defaults to: nil)

    The message invocation configuration information for the bucket name.

  • topic_arn (String, nil) (defaults to: nil)

    The memory trigger condition topic Amazon Resource Name (ARN).



1339
1340
1341
1342
1343
1344
# File 'bedrock_agent_core/cfn_memory.rb', line 1339

def initialize(payload_delivery_bucket_name: nil, topic_arn: nil)
  @payload_delivery_bucket_name = payload_delivery_bucket_name
  Jsii::Type.check_type(@payload_delivery_bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "payloadDeliveryBucketName") unless @payload_delivery_bucket_name.nil?
  @topic_arn = topic_arn
  Jsii::Type.check_type(@topic_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "topicArn") unless @topic_arn.nil?
end

Instance Attribute Details

#payload_delivery_bucket_nameString? (readonly)

The message invocation configuration information for the bucket name.



1350
1351
1352
# File 'bedrock_agent_core/cfn_memory.rb', line 1350

def payload_delivery_bucket_name
  @payload_delivery_bucket_name
end

#topic_arnString? (readonly)

The memory trigger condition topic Amazon Resource Name (ARN).



1355
1356
1357
# File 'bedrock_agent_core/cfn_memory.rb', line 1355

def topic_arn
  @topic_arn
end

Class Method Details

.jsii_propertiesObject



1357
1358
1359
1360
1361
1362
# File 'bedrock_agent_core/cfn_memory.rb', line 1357

def self.jsii_properties
  {
    :payload_delivery_bucket_name => "payloadDeliveryBucketName",
    :topic_arn => "topicArn",
  }
end

Instance Method Details

#to_jsiiObject



1364
1365
1366
1367
1368
1369
1370
1371
# File 'bedrock_agent_core/cfn_memory.rb', line 1364

def to_jsii
  result = {}
  result.merge!({
    "payloadDeliveryBucketName" => @payload_delivery_bucket_name,
    "topicArn" => @topic_arn,
  })
  result.compact
end