Class: AWSCDK::DevOpsAgent::CfnService::MCPServerSplunkAuthorizationConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
dev_ops_agent/cfn_service.rb

Overview

MCP server splunk authorization configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bearer_token:) ⇒ MCPServerSplunkAuthorizationConfigProperty

Returns a new instance of MCPServerSplunkAuthorizationConfigProperty.

Parameters:



1448
1449
1450
1451
# File 'dev_ops_agent/cfn_service.rb', line 1448

def initialize(bearer_token:)
  @bearer_token = bearer_token.is_a?(Hash) ? ::AWSCDK::DevOpsAgent::CfnService::BearerTokenDetailsProperty.new(**bearer_token.transform_keys(&:to_sym)) : bearer_token
  Jsii::Type.check_type(@bearer_token, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kZXZvcHNhZ2VudC5DZm5TZXJ2aWNlLkJlYXJlclRva2VuRGV0YWlsc1Byb3BlcnR5In1dfX0=")), "bearerToken")
end

Class Method Details

.jsii_propertiesObject



1459
1460
1461
1462
1463
# File 'dev_ops_agent/cfn_service.rb', line 1459

def self.jsii_properties
  {
    :bearer_token => "bearerToken",
  }
end

Instance Method Details

#to_jsiiObject



1465
1466
1467
1468
1469
1470
1471
# File 'dev_ops_agent/cfn_service.rb', line 1465

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