Class: AWSCDK::BedrockAgentCore::CfnRuntime::RequestHeaderConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnRuntime::RequestHeaderConfigurationProperty
- Defined in:
- bedrock_agent_core/cfn_runtime.rb
Overview
Configuration for HTTP request headers.
Instance Attribute Summary collapse
-
#request_header_allowlist ⇒ Array<String>?
readonly
List of allowed HTTP headers for agent runtime requests.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(request_header_allowlist: nil) ⇒ RequestHeaderConfigurationProperty
constructor
A new instance of RequestHeaderConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(request_header_allowlist: nil) ⇒ RequestHeaderConfigurationProperty
Returns a new instance of RequestHeaderConfigurationProperty.
1315 1316 1317 1318 |
# File 'bedrock_agent_core/cfn_runtime.rb', line 1315 def initialize(request_header_allowlist: nil) @request_header_allowlist = request_header_allowlist Jsii::Type.check_type(@request_header_allowlist, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "requestHeaderAllowlist") unless @request_header_allowlist.nil? end |
Instance Attribute Details
#request_header_allowlist ⇒ Array<String>? (readonly)
List of allowed HTTP headers for agent runtime requests.
1324 1325 1326 |
# File 'bedrock_agent_core/cfn_runtime.rb', line 1324 def request_header_allowlist @request_header_allowlist end |
Class Method Details
.jsii_properties ⇒ Object
1326 1327 1328 1329 1330 |
# File 'bedrock_agent_core/cfn_runtime.rb', line 1326 def self.jsii_properties { :request_header_allowlist => "requestHeaderAllowlist", } end |
Instance Method Details
#to_jsii ⇒ Object
1332 1333 1334 1335 1336 1337 1338 |
# File 'bedrock_agent_core/cfn_runtime.rb', line 1332 def to_jsii result = {} result.merge!({ "requestHeaderAllowlist" => @request_header_allowlist, }) result.compact end |