选择您的 Cookie 首选项

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

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

CreateEndpointAccess - Amazon Redshift
此页面尚未翻译为您的语言。 请求翻译

CreateEndpointAccess

Creates a Redshift-managed VPC endpoint.

Request Parameters

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

EndpointName

The Redshift-managed VPC endpoint name.

An endpoint name must contain 1-30 characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The first character must be a letter. The name can't contain two consecutive hyphens or end with a hyphen.

Type: String

Length Constraints: Maximum length of 2147483647.

Required: Yes

SubnetGroupName

The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.

Type: String

Length Constraints: Maximum length of 2147483647.

Required: Yes

ClusterIdentifier

The cluster identifier of the cluster to access.

Type: String

Length Constraints: Maximum length of 2147483647.

Required: No

ResourceOwner

The AWS account ID of the owner of the cluster. This is only required if the cluster is in another AWS account.

Type: String

Length Constraints: Maximum length of 2147483647.

Required: No

VpcSecurityGroupIds.VpcSecurityGroupId.N

The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.

Type: Array of strings

Length Constraints: Maximum length of 2147483647.

Required: No

Response Elements

The following elements are returned by the service.

Address

The DNS address of the endpoint.

Type: String

Length Constraints: Maximum length of 2147483647.

ClusterIdentifier

The cluster identifier of the cluster associated with the endpoint.

Type: String

Length Constraints: Maximum length of 2147483647.

EndpointCreateTime

The time (UTC) that the endpoint was created.

Type: Timestamp

EndpointName

The name of the endpoint.

Type: String

Length Constraints: Maximum length of 2147483647.

EndpointStatus

The status of the endpoint.

Type: String

Length Constraints: Maximum length of 2147483647.

Port

The port number on which the cluster accepts incoming connections.

Type: Integer

ResourceOwner

The AWS account ID of the owner of the cluster.

Type: String

Length Constraints: Maximum length of 2147483647.

SubnetGroupName

The subnet group name where Amazon Redshift chooses to deploy the endpoint.

Type: String

Length Constraints: Maximum length of 2147483647.

VpcEndpoint

The connection endpoint for connecting to an Amazon Redshift cluster through the proxy.

Type: VpcEndpoint object

VpcSecurityGroups.VpcSecurityGroup.N

The security groups associated with the endpoint.

Type: Array of VpcSecurityGroupMembership objects

Errors

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

AccessToClusterDenied

You are not authorized to access the cluster.

HTTP Status Code: 400

ClusterNotFound

The ClusterIdentifier parameter does not refer to an existing cluster.

HTTP Status Code: 404

ClusterSubnetGroupNotFoundFault

The cluster subnet group name does not refer to an existing cluster subnet group.

HTTP Status Code: 400

EndpointAlreadyExists

The account already has a Redshift-managed VPC endpoint with the given identifier.

HTTP Status Code: 400

EndpointsPerAuthorizationLimitExceeded

The number of Redshift-managed VPC endpoints per authorization has exceeded its limit.

HTTP Status Code: 400

EndpointsPerClusterLimitExceeded

The number of Redshift-managed VPC endpoints per cluster has exceeded its limit.

HTTP Status Code: 400

InvalidClusterSecurityGroupState

The state of the cluster security group is not available.

HTTP Status Code: 400

InvalidClusterState

The specified cluster is not in the available state.

HTTP Status Code: 400

UnauthorizedOperation

Your account is not authorized to perform the requested operation.

HTTP Status Code: 400

UnsupportedOperation

The requested operation isn't supported.

HTTP Status Code: 400

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. 或其附属公司。保留所有权利。