Class: AWSCDK::BedrockAgentCore::CfnGateway::AuthorizerConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnGateway::AuthorizerConfigurationProperty
- Defined in:
- bedrock_agent_core/cfn_gateway.rb
Overview
Instance Attribute Summary collapse
-
#custom_jwt_authorizer ⇒ AWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnGateway::CustomJWTAuthorizerConfigurationProperty
readonly
The authorizer configuration for the gateway.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(custom_jwt_authorizer:) ⇒ AuthorizerConfigurationProperty
constructor
A new instance of AuthorizerConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(custom_jwt_authorizer:) ⇒ AuthorizerConfigurationProperty
Returns a new instance of AuthorizerConfigurationProperty.
708 709 710 711 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 708 def initialize(custom_jwt_authorizer:) @custom_jwt_authorizer = .is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnGateway::CustomJWTAuthorizerConfigurationProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@custom_jwt_authorizer, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkdhdGV3YXkuQ3VzdG9tSldUQXV0aG9yaXplckNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "customJwtAuthorizer") end |
Instance Attribute Details
#custom_jwt_authorizer ⇒ AWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnGateway::CustomJWTAuthorizerConfigurationProperty (readonly)
The authorizer configuration for the gateway.
717 718 719 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 717 def @custom_jwt_authorizer end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |