Class: AWSCDK::DevOpsAgent::CfnService::MCPServerSigV4DetailsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DevOpsAgent::CfnService::MCPServerSigV4DetailsProperty
- Defined in:
- dev_ops_agent/cfn_service.rb
Overview
SigV4-authenticated MCP server configuration.
Instance Attribute Summary collapse
-
#authorization_config ⇒ AWSCDK::IResolvable, AWSCDK::DevOpsAgent::CfnService::MCPServerSigV4AuthorizationConfigProperty
readonly
SigV4 authorization configuration for MCP server.
-
#description ⇒ String?
readonly
Optional description for the MCP server.
-
#endpoint ⇒ String
readonly
MCP server endpoint URL.
-
#name ⇒ String
readonly
MCP server name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(authorization_config:, endpoint:, name:, description: nil) ⇒ MCPServerSigV4DetailsProperty
constructor
A new instance of MCPServerSigV4DetailsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(authorization_config:, endpoint:, name:, description: nil) ⇒ MCPServerSigV4DetailsProperty
Returns a new instance of MCPServerSigV4DetailsProperty.
1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 |
# File 'dev_ops_agent/cfn_service.rb', line 1388 def initialize(authorization_config:, endpoint:, name:, description: nil) @authorization_config = .is_a?(Hash) ? ::AWSCDK::DevOpsAgent::CfnService::MCPServerSigV4AuthorizationConfigProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@authorization_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kZXZvcHNhZ2VudC5DZm5TZXJ2aWNlLk1DUFNlcnZlclNpZ1Y0QXV0aG9yaXphdGlvbkNvbmZpZ1Byb3BlcnR5In1dfX0=")), "authorizationConfig") @endpoint = endpoint Jsii::Type.check_type(@endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endpoint") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? end |
Instance Attribute Details
#authorization_config ⇒ AWSCDK::IResolvable, AWSCDK::DevOpsAgent::CfnService::MCPServerSigV4AuthorizationConfigProperty (readonly)
SigV4 authorization configuration for MCP server.
1403 1404 1405 |
# File 'dev_ops_agent/cfn_service.rb', line 1403 def @authorization_config end |
#description ⇒ String? (readonly)
Optional description for the MCP server.
1418 1419 1420 |
# File 'dev_ops_agent/cfn_service.rb', line 1418 def description @description end |
#endpoint ⇒ String (readonly)
MCP server endpoint URL.
1408 1409 1410 |
# File 'dev_ops_agent/cfn_service.rb', line 1408 def endpoint @endpoint end |
#name ⇒ String (readonly)
MCP server name.
1413 1414 1415 |
# File 'dev_ops_agent/cfn_service.rb', line 1413 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
1420 1421 1422 1423 1424 1425 1426 1427 |
# File 'dev_ops_agent/cfn_service.rb', line 1420 def self.jsii_properties { :authorization_config => "authorizationConfig", :endpoint => "endpoint", :name => "name", :description => "description", } end |
Instance Method Details
#to_jsii ⇒ Object
1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 |
# File 'dev_ops_agent/cfn_service.rb', line 1429 def to_jsii result = {} result.merge!({ "authorizationConfig" => @authorization_config, "endpoint" => @endpoint, "name" => @name, "description" => @description, }) result.compact end |