Class: AWSCDK::BedrockAgentCore::CfnPaymentManager::AuthorizerConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock_agent_core/cfn_payment_manager.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.



613
614
615
616
# File 'bedrock_agent_core/cfn_payment_manager.rb', line 613

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

Class Method Details

.jsii_propertiesObject



622
623
624
625
626
# File 'bedrock_agent_core/cfn_payment_manager.rb', line 622

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

Instance Method Details

#to_jsiiObject



628
629
630
631
632
633
634
# File 'bedrock_agent_core/cfn_payment_manager.rb', line 628

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