create_network_connector
async
¶
create_network_connector(
network_connector_name: NetworkConnectorName,
subnet_ids: SubnetIdList,
security_group_ids: SecurityGroupIdList,
network_connector_role_arn: NetworkConnectorRoleArn,
*,
config_overrides: Optional[AsyncAmplifyGen3ClientConfig] = None,
tags: Optional[TagMap] = None,
) -> CreateNetworkConnectorResponse
Creates a network connector that provides a Gen 3 app with access to a virtual private cloud (VPC).
Parameters:
-
network_connector_name(NetworkConnectorName) –The name of the network connector.
-
subnet_ids(SubnetIdList) –The IDs of the subnets for the network connector. The network connector uses the virtual private cloud (VPC) that the subnets belong to.
-
security_group_ids(SecurityGroupIdList) –The IDs of the security groups for the network connector.
-
network_connector_role_arn(NetworkConnectorRoleArn) –The Amazon Resource Name (ARN) of the IAM role for the network connector.
-
tags(Optional[TagMap], default:None) –The tags to apply to the resource.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
ConflictException–The request conflicts with the current state of the resource.
-
InternalServerException–An internal error occurred. Retry the request.
-
ServiceQuotaExceededException–The request would exceed a service quota for your account.
-
ThrottlingException–The request was denied because the request rate exceeds the allowed limit.
-
ValidationException–The request contains invalid parameters or is otherwise malformed.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_amplifygen3/_services/async_amplify_gen3.py
5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 | |