Class: AWSCDK::BedrockAgentCore::CfnHarness::CustomJWTAuthorizerConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnHarness::CustomJWTAuthorizerConfigurationProperty
- Defined in:
- bedrock_agent_core/cfn_harness.rb
Overview
Instance Attribute Summary collapse
- #allowed_audience ⇒ Array<String>? readonly
- #allowed_clients ⇒ Array<String>? readonly
- #allowed_scopes ⇒ Array<String>? readonly
- #custom_claims ⇒ AWSCDK::IResolvable, ... readonly
- #discovery_url ⇒ String readonly
-
#private_endpoint ⇒ AWSCDK::IResolvable, ...
readonly
Private endpoint configuration for connecting to the OpenID Connect discovery endpoint over a private network.
- #private_endpoint_overrides ⇒ AWSCDK::IResolvable, ... readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(discovery_url:, allowed_audience: nil, allowed_clients: nil, allowed_scopes: nil, custom_claims: nil, private_endpoint: nil, private_endpoint_overrides: nil) ⇒ CustomJWTAuthorizerConfigurationProperty
constructor
A new instance of CustomJWTAuthorizerConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(discovery_url:, allowed_audience: nil, allowed_clients: nil, allowed_scopes: nil, custom_claims: nil, private_endpoint: nil, private_endpoint_overrides: nil) ⇒ CustomJWTAuthorizerConfigurationProperty
Returns a new instance of CustomJWTAuthorizerConfigurationProperty.
976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 |
# File 'bedrock_agent_core/cfn_harness.rb', line 976 def initialize(discovery_url:, allowed_audience: nil, allowed_clients: nil, allowed_scopes: nil, custom_claims: nil, private_endpoint: nil, private_endpoint_overrides: nil) @discovery_url = discovery_url Jsii::Type.check_type(@discovery_url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "discoveryUrl") @allowed_audience = allowed_audience Jsii::Type.check_type(@allowed_audience, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "allowedAudience") unless @allowed_audience.nil? @allowed_clients = allowed_clients Jsii::Type.check_type(@allowed_clients, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "allowedClients") unless @allowed_clients.nil? @allowed_scopes = allowed_scopes Jsii::Type.check_type(@allowed_scopes, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "allowedScopes") unless @allowed_scopes.nil? @custom_claims = custom_claims Jsii::Type.check_type(@custom_claims, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9ja2FnZW50Y29yZS5DZm5IYXJuZXNzLkN1c3RvbUNsYWltVmFsaWRhdGlvblR5cGVQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "customClaims") unless @custom_claims.nil? @private_endpoint = private_endpoint.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnHarness::PrivateEndpointProperty.new(**private_endpoint.transform_keys(&:to_sym)) : private_endpoint Jsii::Type.check_type(@private_endpoint, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkhhcm5lc3MuUHJpdmF0ZUVuZHBvaW50UHJvcGVydHkifV19fQ==")), "privateEndpoint") unless @private_endpoint.nil? @private_endpoint_overrides = private_endpoint_overrides Jsii::Type.check_type(@private_endpoint_overrides, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9ja2FnZW50Y29yZS5DZm5IYXJuZXNzLlByaXZhdGVFbmRwb2ludE92ZXJyaWRlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "privateEndpointOverrides") unless @private_endpoint_overrides.nil? end |
Instance Attribute Details
#allowed_audience ⇒ Array<String>? (readonly)
998 999 1000 |
# File 'bedrock_agent_core/cfn_harness.rb', line 998 def allowed_audience @allowed_audience end |
#allowed_clients ⇒ Array<String>? (readonly)
1001 1002 1003 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1001 def allowed_clients @allowed_clients end |
#allowed_scopes ⇒ Array<String>? (readonly)
1004 1005 1006 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1004 def allowed_scopes @allowed_scopes end |
#custom_claims ⇒ AWSCDK::IResolvable, ... (readonly)
1007 1008 1009 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1007 def custom_claims @custom_claims end |
#discovery_url ⇒ String (readonly)
995 996 997 |
# File 'bedrock_agent_core/cfn_harness.rb', line 995 def discovery_url @discovery_url end |
#private_endpoint ⇒ AWSCDK::IResolvable, ... (readonly)
Private endpoint configuration for connecting to the OpenID Connect discovery endpoint over a private network.
1012 1013 1014 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1012 def private_endpoint @private_endpoint end |
#private_endpoint_overrides ⇒ AWSCDK::IResolvable, ... (readonly)
1015 1016 1017 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1015 def private_endpoint_overrides @private_endpoint_overrides end |
Class Method Details
.jsii_properties ⇒ Object
1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1017 def self.jsii_properties { :discovery_url => "discoveryUrl", :allowed_audience => "allowedAudience", :allowed_clients => "allowedClients", :allowed_scopes => "allowedScopes", :custom_claims => "customClaims", :private_endpoint => "privateEndpoint", :private_endpoint_overrides => "privateEndpointOverrides", } end |
Instance Method Details
#to_jsii ⇒ Object
1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1029 def to_jsii result = {} result.merge!({ "discoveryUrl" => @discovery_url, "allowedAudience" => @allowed_audience, "allowedClients" => @allowed_clients, "allowedScopes" => @allowed_scopes, "customClaims" => @custom_claims, "privateEndpoint" => @private_endpoint, "privateEndpointOverrides" => @private_endpoint_overrides, }) result.compact end |