create_vpc_ingress_connection
¶
create_vpc_ingress_connection(
service_arn: AppRunnerResourceArn,
vpc_ingress_connection_name: VpcIngressConnectionName,
ingress_vpc_configuration: IngressVpcConfiguration,
*,
config_overrides: Optional[AppRunnerClientConfig] = None,
tags: Optional[TagList] = None,
) -> CreateVpcIngressConnectionResponse
Create an App Runner VPC Ingress Connection resource. App Runner requires this resource when you want to associate your App Runner service with an Amazon VPC endpoint.
Parameters:
-
service_arn(AppRunnerResourceArn) –The Amazon Resource Name (ARN) for this App Runner service that is used to create the VPC Ingress Connection resource.
-
vpc_ingress_connection_name(VpcIngressConnectionName) –A name for the VPC Ingress Connection resource. It must be unique across all the active VPC Ingress Connections in your Amazon Web Services account in the Amazon Web Services Region.
-
ingress_vpc_configuration(IngressVpcConfiguration) –Specifications for the customer’s Amazon VPC and the related Amazon Web Services PrivateLink VPC endpoint that are used to create the VPC Ingress Connection resource.
-
tags(Optional[TagList], default:None) –An optional list of metadata items that you can associate with the VPC Ingress Connection resource. A tag is a key-value pair.
Raises:
-
InternalServiceErrorException–An unexpected service exception occurred.
-
InvalidRequestException–One or more input parameters aren't valid. Refer to the API action's document page, correct the input parameters, and try the action again.
-
InvalidStateException–You can't perform this action when the resource is in its current state.
-
ServiceQuotaExceededException–App Runner can't create this resource. You've reached your account quota for this resource type.
For App Runner per-resource quotas, see App Runner endpoints and quotas in the Amazon Web Services General Reference.
-
UnknownServiceError–The service returned an error code this client does not model.