Class: AWSCDK::BedrockAgentCore::CfnHarness::HarnessGatewayOutboundAuthProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnHarness::HarnessGatewayOutboundAuthProperty
- Defined in:
- bedrock_agent_core/cfn_harness.rb
Overview
Instance Attribute Summary collapse
- #aws_iam ⇒ Object? readonly
- #none ⇒ Object? readonly
- #oauth ⇒ AWSCDK::IResolvable, ... readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(aws_iam: nil, none: nil, oauth: nil) ⇒ HarnessGatewayOutboundAuthProperty
constructor
A new instance of HarnessGatewayOutboundAuthProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(aws_iam: nil, none: nil, oauth: nil) ⇒ HarnessGatewayOutboundAuthProperty
Returns a new instance of HarnessGatewayOutboundAuthProperty.
1526 1527 1528 1529 1530 1531 1532 1533 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1526 def initialize(aws_iam: nil, none: nil, oauth: nil) @aws_iam = aws_iam Jsii::Type.check_type(@aws_iam, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "awsIam") unless @aws_iam.nil? @none = none Jsii::Type.check_type(@none, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "none") unless @none.nil? @oauth = oauth.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnHarness::OAuthCredentialProviderProperty.new(**oauth.transform_keys(&:to_sym)) : oauth Jsii::Type.check_type(@oauth, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkhhcm5lc3MuT0F1dGhDcmVkZW50aWFsUHJvdmlkZXJQcm9wZXJ0eSJ9XX19")), "oauth") unless @oauth.nil? end |
Instance Attribute Details
#aws_iam ⇒ Object? (readonly)
1537 1538 1539 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1537 def aws_iam @aws_iam end |
#none ⇒ Object? (readonly)
1540 1541 1542 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1540 def none @none end |
#oauth ⇒ AWSCDK::IResolvable, ... (readonly)
1543 1544 1545 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1543 def oauth @oauth end |
Class Method Details
.jsii_properties ⇒ Object
1545 1546 1547 1548 1549 1550 1551 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1545 def self.jsii_properties { :aws_iam => "awsIam", :none => "none", :oauth => "oauth", } end |
Instance Method Details
#to_jsii ⇒ Object
1553 1554 1555 1556 1557 1558 1559 1560 1561 |
# File 'bedrock_agent_core/cfn_harness.rb', line 1553 def to_jsii result = {} result.merge!({ "awsIam" => @aws_iam, "none" => @none, "oauth" => @oauth, }) result.compact end |