Class: AWSCDK::BedrockAgentCore::CfnHarness::AuthorizerConfigurationProperty

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

Overview

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.



791
792
793
794
# File 'bedrock_agent_core/cfn_harness.rb', line 791

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

Instance Attribute Details

Class Method Details

.jsii_propertiesObject



800
801
802
803
804
# File 'bedrock_agent_core/cfn_harness.rb', line 800

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

Instance Method Details

#to_jsiiObject



806
807
808
809
810
811
812
# File 'bedrock_agent_core/cfn_harness.rb', line 806

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