Class: AWSCDK::BedrockAgentCore::CfnGatewayTarget::ManagedVPCResourceProperty

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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.

Parameters:

  • endpoint_ip_address_type (String)
  • subnet_ids (Array<String>)
  • vpc_identifier (String)
  • routing_domain (String, nil) (defaults to: nil)
  • security_group_ids (Array<String>, nil) (defaults to: nil)


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_typeString (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_domainString? (readonly)



1388
1389
1390
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1388

def routing_domain
  @routing_domain
end

#security_group_idsArray<String>? (readonly)



1391
1392
1393
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1391

def security_group_ids
  @security_group_ids
end

#subnet_idsArray<String> (readonly)



1382
1383
1384
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1382

def subnet_ids
  @subnet_ids
end

#vpc_identifierString (readonly)



1385
1386
1387
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1385

def vpc_identifier
  @vpc_identifier
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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