Class: AWSCDK::BedrockAgentCore::CfnRuntime::AuthorizerConfigurationProperty

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

Overview

The authorizer configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(custom_jwt_authorizer: nil) ⇒ AuthorizerConfigurationProperty

Returns a new instance of AuthorizerConfigurationProperty.

Parameters:



769
770
771
772
# File 'bedrock_agent_core/cfn_runtime.rb', line 769

def initialize(custom_jwt_authorizer: nil)
  @custom_jwt_authorizer = custom_jwt_authorizer.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnRuntime::CustomJWTAuthorizerConfigurationProperty.new(**custom_jwt_authorizer.transform_keys(&:to_sym)) : custom_jwt_authorizer
  Jsii::Type.check_type(@custom_jwt_authorizer, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmblJ1bnRpbWUuQ3VzdG9tSldUQXV0aG9yaXplckNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "customJwtAuthorizer") unless @custom_jwt_authorizer.nil?
end

Instance Attribute Details

#custom_jwt_authorizerAWSCDK::IResolvable, ... (readonly)

Represents inbound authorization configuration options used to authenticate incoming requests.



778
779
780
# File 'bedrock_agent_core/cfn_runtime.rb', line 778

def custom_jwt_authorizer
  @custom_jwt_authorizer
end

Class Method Details

.jsii_propertiesObject



780
781
782
783
784
# File 'bedrock_agent_core/cfn_runtime.rb', line 780

def self.jsii_properties
  {
    :custom_jwt_authorizer => "customJwtAuthorizer",
  }
end

Instance Method Details

#to_jsiiObject



786
787
788
789
790
791
792
# File 'bedrock_agent_core/cfn_runtime.rb', line 786

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