Class: AWSCDK::BedrockAgentCore::CfnHarness::AuthorizerConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnHarness::AuthorizerConfigurationProperty
- Defined in:
- bedrock_agent_core/cfn_harness.rb
Overview
Instance Attribute Summary collapse
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(custom_jwt_authorizer: nil) ⇒ AuthorizerConfigurationProperty
constructor
A new instance of AuthorizerConfigurationProperty.
- #to_jsii ⇒ Object
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 = .is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnHarness::CustomJWTAuthorizerConfigurationProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@custom_jwt_authorizer, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkhhcm5lc3MuQ3VzdG9tSldUQXV0aG9yaXplckNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "customJwtAuthorizer") unless @custom_jwt_authorizer.nil? end |
Instance Attribute Details
#custom_jwt_authorizer ⇒ AWSCDK::IResolvable, ... (readonly)
798 799 800 |
# File 'bedrock_agent_core/cfn_harness.rb', line 798 def @custom_jwt_authorizer end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |