create_vpc_endpoint_association
¶
create_vpc_endpoint_association(
firewall_arn: ResourceArn,
vpc_id: VpcId,
subnet_mapping: SubnetMapping,
*,
config_overrides: Optional[NetworkFirewallClientConfig] = None,
description: Optional[Description] = None,
tags: Optional[TagList] = None,
) -> CreateVpcEndpointAssociationResponse
Creates a firewall endpoint for an Network Firewall firewall. This type of firewall endpoint is independent of the firewall endpoints that you specify in the Firewall itself, and you define it in addition to those endpoints after the firewall has been created. You can define a VPC endpoint association using a different VPC than the one you used in the firewall specifications.
Parameters:
-
firewall_arn(ResourceArn) –The Amazon Resource Name (ARN) of the firewall.
-
vpc_id(VpcId) –The unique identifier of the VPC where you want to create a firewall endpoint.
-
description(Optional[Description], default:None) –A description of the VPC endpoint association.
-
tags(Optional[TagList], default:None) –The key:value pairs to associate with the resource.
Raises:
-
InsufficientCapacityException–Amazon Web Services doesn't currently have enough available capacity to fulfill your request. Try your request later.
-
InternalServerError–Your request is valid, but Network Firewall couldn't perform the operation because of a system problem. Retry your request.
-
InvalidOperationException–The operation failed because it's not valid. For example, you might have tried to delete a rule group or firewall policy that's in use.
-
InvalidRequestException–The operation failed because of a problem with your request. Examples include:
-
You specified an unsupported parameter name or value.
-
You tried to update a property with a value that isn't among the available types.
-
Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the context of the request.
-
-
LimitExceededException–Unable to perform the operation because doing so would violate a limit setting.
-
ResourceNotFoundException–Unable to locate a resource using the parameters that you provided.
-
ThrottlingException–Unable to process the request due to throttling limitations.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_network_firewall/_services/network_firewall.py
1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 | |