CreateVpcConfigurationRequest
¶
Source code in docs_src/capo_bedrock_agent/types/create_vpc_configuration_request.py
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.
description
instance-attribute
¶
description: NotRequired[VpcConfigurationDescription]
An optional description of the VPC configuration. If you don't specify a description, the VPC configuration has no description.
host_header
instance-attribute
¶
host_header: NotRequired[HostHeader]
An optional HTTP Host header value to send when invoking the resource. Set this only if your resource (or an upstream router or ingress) routes by the Host header and that host differs from the target. This setting is independent of tlsServerName.
knowledge_base_id
instance-attribute
¶
knowledge_base_id: Id
The unique identifier of the knowledge base to associate this VPC configuration with.
name
instance-attribute
¶
name: NotRequired[VpcConfigurationName]
An optional human-readable name for the VPC configuration. If you don't specify a name, the VPC configuration has no name.
protocol
instance-attribute
¶
protocol: VpcProtocol
The protocol used to connect to the resource. Specify HTTP for plaintext or HTTPS for TLS. When you specify HTTPS, you must also provide tlsServerName.
resolution_mode
instance-attribute
¶
resolution_mode: VpcResolutionMode
Controls how a domain-name resourceTarget is resolved. This applies only when the target is a domain name; it has no effect for IP-address targets, which have no name to resolve. In all cases the resolved address must be reachable from inside your VPC. Valid values:
-
IN_VPC(default, recommended) – The target domain name is resolved privately, using the DNS resolvers of the VPC, such as private Route 53 hosted zones or on-premises DNS reachable from the VPC. Use this for targets that are private to your VPC, such as internal load balancers, private hosted-zone names, or on-premises hosts. -
PUBLIC– The target domain name is resolved against public DNS resolvers. Select this only when the target's domain name must be resolved through public DNS and the resulting address is still reachable from the VPC, an uncommon split-horizon configuration. If you are unsure, useIN_VPC.
resource_target
instance-attribute
¶
resource_target: ResourceTarget
The private IPv4 address or DNS name of the resource you want the knowledge base to reach. The target must be privately reachable from inside your VPC, such as an internal load balancer or a private IP. The following are not supported:
-
Internet-facing endpoints
-
Loopback addresses
-
Link-local addresses
-
Wildcard addresses
-
Multicast addresses
-
IPv6 literals
subnet_ids
instance-attribute
¶
subnet_ids: SubnetIdList
The subnets, in the VPC identified by vpcId, that the knowledge base uses to connect to the resource.
tls_server_name
instance-attribute
¶
tls_server_name: NotRequired[TlsServerName]
The expected TLS server name. The service matches this value against the Subject Alternative Names on your resource's TLS certificate during invocation. This field is required when protocol is HTTPS. Set it to a hostname on your certificate, such as app.internal.example.com. You can use a single leftmost wildcard, such as *.example.com. The value must be a hostname without a port.