Class: AWSCDK::BedrockAgentCore::CfnHarness::PrivateEndpointOverrideProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock_agent_core/cfn_harness.rb

Overview

Maps a domain to a private endpoint for resolving that domain over a private network.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain:, private_endpoint:) ⇒ PrivateEndpointOverrideProperty

Returns a new instance of PrivateEndpointOverrideProperty.

Parameters:



2748
2749
2750
2751
2752
2753
# File 'bedrock_agent_core/cfn_harness.rb', line 2748

def initialize(domain:, private_endpoint:)
  @domain = domain
  Jsii::Type.check_type(@domain, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domain")
  @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")
end

Instance Attribute Details

#domainString (readonly)



2757
2758
2759
# File 'bedrock_agent_core/cfn_harness.rb', line 2757

def domain
  @domain
end

#private_endpointAWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnHarness::PrivateEndpointProperty (readonly)

Private endpoint configuration for connecting to the OpenID Connect discovery endpoint over a private network.



2762
2763
2764
# File 'bedrock_agent_core/cfn_harness.rb', line 2762

def private_endpoint
  @private_endpoint
end

Class Method Details

.jsii_propertiesObject



2764
2765
2766
2767
2768
2769
# File 'bedrock_agent_core/cfn_harness.rb', line 2764

def self.jsii_properties
  {
    :domain => "domain",
    :private_endpoint => "privateEndpoint",
  }
end

Instance Method Details

#to_jsiiObject



2771
2772
2773
2774
2775
2776
2777
2778
# File 'bedrock_agent_core/cfn_harness.rb', line 2771

def to_jsii
  result = {}
  result.merge!({
    "domain" => @domain,
    "privateEndpoint" => @private_endpoint,
  })
  result.compact
end