Class: AWSCDK::BedrockAgentCore::CfnGateway::AuthorizerConfigurationProperty

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(custom_jwt_authorizer:) ⇒ AuthorizerConfigurationProperty

Returns a new instance of AuthorizerConfigurationProperty.

Parameters:



708
709
710
711
# File 'bedrock_agent_core/cfn_gateway.rb', line 708

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

Class Method Details

.jsii_propertiesObject



719
720
721
722
723
# File 'bedrock_agent_core/cfn_gateway.rb', line 719

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

Instance Method Details

#to_jsiiObject



725
726
727
728
729
730
731
# File 'bedrock_agent_core/cfn_gateway.rb', line 725

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