create_network_connector
¶
create_network_connector(
network_connector_name: NetworkConnectorName,
subnet_ids: SubnetIdList,
security_group_ids: SecurityGroupIdList,
network_connector_role_arn: NetworkConnectorRoleArn,
*,
config_overrides: Optional[AmplifyGen3ClientConfig] = 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/amplify_gen3.py
5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 | |