Class: AWSCDK::BedrockAgentCore::CfnGatewayTarget::ManagedVPCResourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnGatewayTarget::ManagedVPCResourceProperty
- Defined in:
- bedrock_agent_core/cfn_gateway_target.rb
Overview
Instance Attribute Summary collapse
- #endpoint_ip_address_type ⇒ String readonly
- #routing_domain ⇒ String? readonly
- #security_group_ids ⇒ Array<String>? readonly
- #subnet_ids ⇒ Array<String> readonly
- #vpc_identifier ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(endpoint_ip_address_type:, subnet_ids:, vpc_identifier:, routing_domain: nil, security_group_ids: nil) ⇒ ManagedVPCResourceProperty
constructor
A new instance of ManagedVPCResourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(endpoint_ip_address_type:, subnet_ids:, vpc_identifier:, routing_domain: nil, security_group_ids: nil) ⇒ ManagedVPCResourceProperty
Returns a new instance of ManagedVPCResourceProperty.
1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1364 def initialize(endpoint_ip_address_type:, subnet_ids:, vpc_identifier:, routing_domain: nil, security_group_ids: nil) @endpoint_ip_address_type = endpoint_ip_address_type Jsii::Type.check_type(@endpoint_ip_address_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endpointIpAddressType") @subnet_ids = subnet_ids Jsii::Type.check_type(@subnet_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "subnetIds") @vpc_identifier = vpc_identifier Jsii::Type.check_type(@vpc_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcIdentifier") @routing_domain = routing_domain Jsii::Type.check_type(@routing_domain, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "routingDomain") unless @routing_domain.nil? @security_group_ids = security_group_ids Jsii::Type.check_type(@security_group_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "securityGroupIds") unless @security_group_ids.nil? end |
Instance Attribute Details
#endpoint_ip_address_type ⇒ String (readonly)
1379 1380 1381 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1379 def endpoint_ip_address_type @endpoint_ip_address_type end |
#routing_domain ⇒ String? (readonly)
1388 1389 1390 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1388 def routing_domain @routing_domain end |
#security_group_ids ⇒ Array<String>? (readonly)
1391 1392 1393 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1391 def security_group_ids @security_group_ids end |
#subnet_ids ⇒ Array<String> (readonly)
1382 1383 1384 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1382 def subnet_ids @subnet_ids end |
#vpc_identifier ⇒ String (readonly)
1385 1386 1387 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1385 def vpc_identifier @vpc_identifier end |
Class Method Details
.jsii_properties ⇒ Object
1393 1394 1395 1396 1397 1398 1399 1400 1401 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1393 def self.jsii_properties { :endpoint_ip_address_type => "endpointIpAddressType", :subnet_ids => "subnetIds", :vpc_identifier => "vpcIdentifier", :routing_domain => "routingDomain", :security_group_ids => "securityGroupIds", } end |
Instance Method Details
#to_jsii ⇒ Object
1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1403 def to_jsii result = {} result.merge!({ "endpointIpAddressType" => @endpoint_ip_address_type, "subnetIds" => @subnet_ids, "vpcIdentifier" => @vpc_identifier, "routingDomain" => @routing_domain, "securityGroupIds" => @security_group_ids, }) result.compact end |