选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

DeleteVpcIngressConnection - AWS App Runner
此页面尚未翻译为您的语言。 请求翻译

DeleteVpcIngressConnection

Delete an App Runner VPC Ingress Connection resource that's associated with an App Runner service. The VPC Ingress Connection must be in one of the following states to be deleted:

  • AVAILABLE

  • FAILED_CREATION

  • FAILED_UPDATE

  • FAILED_DELETION

Request Syntax

{ "VpcIngressConnectionArn": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

VpcIngressConnectionArn

The Amazon Resource Name (ARN) of the App Runner VPC Ingress Connection that you want to delete.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1011.

Pattern: arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}

Required: Yes

Response Syntax

{ "VpcIngressConnection": { "AccountId": "string", "CreatedAt": number, "DeletedAt": number, "DomainName": "string", "IngressVpcConfiguration": { "VpcEndpointId": "string", "VpcId": "string" }, "ServiceArn": "string", "Status": "string", "VpcIngressConnectionArn": "string", "VpcIngressConnectionName": "string" } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

VpcIngressConnection

A description of the App Runner VPC Ingress Connection that this request just deleted.

Type: VpcIngressConnection object

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalServiceErrorException

An unexpected service exception occurred.

HTTP Status Code: 500

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.

HTTP Status Code: 400

InvalidStateException

You can't perform this action when the resource is in its current state.

HTTP Status Code: 400

ResourceNotFoundException

A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.

HTTP Status Code: 400

Examples

Delete a VPC Ingress Connection

This example illustrates how to delete a VPC Ingress Connection.

Sample Request

$ aws apprunner delete-vpc-ingress-connection --cli-input-json "`cat`" { "VpcIngressConnectionArn": "arn:aws:apprunner:us-east-1:123456789012:vpcingressconnection/my-ingress-connection-name/3f2eb10e2c494674952026f646844e3d" }

Sample Response

{ "AccountId": "123456789012", "CreatedAt": "2022-09-18T23:36:45.374Z", "DeletedAt": "2022-10-18T23:36:45.374Z", "DomainName": "psbqam834h.us-east-1.awsapprunner.com", "IngressVpcConfiguration": { "VpcEndpointId": "vpce-1a2b3c4d", "VpcId": "vpc-4a5b6c7d" }, "ServiceArn": "arn:aws:apprunner:us-east-1:123456789012:service/my-service", "Status": "PENDING_DELETION", "VpcIngressConnectionArn": "arn:aws:apprunner:us-east-1:123456789012:vpcingressconnection/my-ingress-connection-name/3f2eb10e2c494674952026f646844e3d", "VpcIngressConnectionName": "my-ingress-connection-name" }

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。