Class: AWSCDK::BedrockAgentCore::CfnHarness::HarnessAgentCoreRuntimeEnvironmentProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnHarness::HarnessAgentCoreRuntimeEnvironmentProperty
- Defined in:
- bedrock_agent_core/cfn_harness.rb
Overview
Instance Attribute Summary collapse
-
#agent_runtime_arn ⇒ String?
readonly
The ARN of the underlying AgentCore Runtime.
-
#agent_runtime_id ⇒ String?
readonly
The ID of the underlying AgentCore Runtime.
-
#agent_runtime_name ⇒ String?
readonly
The name of the underlying AgentCore Runtime.
- #filesystem_configurations ⇒ AWSCDK::IResolvable, ... readonly
- #lifecycle_configuration ⇒ AWSCDK::IResolvable, ... readonly
- #network_configuration ⇒ AWSCDK::IResolvable, ... readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(agent_runtime_arn: nil, agent_runtime_id: nil, agent_runtime_name: nil, filesystem_configurations: nil, lifecycle_configuration: nil, network_configuration: nil) ⇒ HarnessAgentCoreRuntimeEnvironmentProperty
constructor
A new instance of HarnessAgentCoreRuntimeEnvironmentProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(agent_runtime_arn: nil, agent_runtime_id: nil, agent_runtime_name: nil, filesystem_configurations: nil, lifecycle_configuration: nil, network_configuration: nil) ⇒ HarnessAgentCoreRuntimeEnvironmentProperty
Returns a new instance of HarnessAgentCoreRuntimeEnvironmentProperty.
1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1335 def initialize(agent_runtime_arn: nil, agent_runtime_id: nil, agent_runtime_name: nil, filesystem_configurations: nil, lifecycle_configuration: nil, network_configuration: nil) @agent_runtime_arn = agent_runtime_arn Jsii::Type.check_type(@agent_runtime_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "agentRuntimeArn") unless @agent_runtime_arn.nil? @agent_runtime_id = agent_runtime_id Jsii::Type.check_type(@agent_runtime_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "agentRuntimeId") unless @agent_runtime_id.nil? @agent_runtime_name = agent_runtime_name Jsii::Type.check_type(@agent_runtime_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "agentRuntimeName") unless @agent_runtime_name.nil? @filesystem_configurations = filesystem_configurations Jsii::Type.check_type(@filesystem_configurations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9ja2FnZW50Y29yZS5DZm5IYXJuZXNzLkZpbGVzeXN0ZW1Db25maWd1cmF0aW9uUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "filesystemConfigurations") unless @filesystem_configurations.nil? @lifecycle_configuration = lifecycle_configuration.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnHarness::LifecycleConfigurationProperty.new(**lifecycle_configuration.transform_keys(&:to_sym)) : lifecycle_configuration Jsii::Type.check_type(@lifecycle_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkhhcm5lc3MuTGlmZWN5Y2xlQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "lifecycleConfiguration") unless @lifecycle_configuration.nil? @network_configuration = network_configuration.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnHarness::NetworkConfigurationProperty.new(**network_configuration.transform_keys(&:to_sym)) : network_configuration Jsii::Type.check_type(@network_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkhhcm5lc3MuTmV0d29ya0NvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "networkConfiguration") unless @network_configuration.nil? end |
Instance Attribute Details
#agent_runtime_arn ⇒ String? (readonly)
The ARN of the underlying AgentCore Runtime.
1354 1355 1356 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1354 def agent_runtime_arn @agent_runtime_arn end |
#agent_runtime_id ⇒ String? (readonly)
The ID of the underlying AgentCore Runtime.
1359 1360 1361 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1359 def agent_runtime_id @agent_runtime_id end |
#agent_runtime_name ⇒ String? (readonly)
The name of the underlying AgentCore Runtime.
1364 1365 1366 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1364 def agent_runtime_name @agent_runtime_name end |
#filesystem_configurations ⇒ AWSCDK::IResolvable, ... (readonly)
1367 1368 1369 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1367 def filesystem_configurations @filesystem_configurations end |
#lifecycle_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
1370 1371 1372 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1370 def lifecycle_configuration @lifecycle_configuration end |
#network_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
1373 1374 1375 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1373 def network_configuration @network_configuration end |
Class Method Details
.jsii_properties ⇒ Object
1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1375 def self.jsii_properties { :agent_runtime_arn => "agentRuntimeArn", :agent_runtime_id => "agentRuntimeId", :agent_runtime_name => "agentRuntimeName", :filesystem_configurations => "filesystemConfigurations", :lifecycle_configuration => "lifecycleConfiguration", :network_configuration => "networkConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1386 def to_jsii result = {} result.merge!({ "agentRuntimeArn" => @agent_runtime_arn, "agentRuntimeId" => @agent_runtime_id, "agentRuntimeName" => @agent_runtime_name, "filesystemConfigurations" => @filesystem_configurations, "lifecycleConfiguration" => @lifecycle_configuration, "networkConfiguration" => @network_configuration, }) result.compact end |