Skip to content

Create Endpoint Access

redshift_create_endpoint_access R Documentation

Creates a Redshift-managed VPC endpoint

Description

Creates a Redshift-managed VPC endpoint.

Usage

redshift_create_endpoint_access(ClusterIdentifier, ResourceOwner,
  EndpointName, SubnetGroupName, VpcSecurityGroupIds)

Arguments

ClusterIdentifier

The cluster identifier of the cluster to access.

ResourceOwner

The Amazon Web Services account ID of the owner of the cluster. This is only required if the cluster is in another Amazon Web Services account.

EndpointName

[required] 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.

SubnetGroupName

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

VpcSecurityGroupIds

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

Value

A list with the following syntax:

list(
  ClusterIdentifier = "string",
  ResourceOwner = "string",
  SubnetGroupName = "string",
  EndpointStatus = "string",
  EndpointName = "string",
  EndpointCreateTime = as.POSIXct(
    "2015-01-01"
  ),
  Port = 123,
  Address = "string",
  VpcSecurityGroups = list(
    list(
      VpcSecurityGroupId = "string",
      Status = "string"
    )
  ),
  VpcEndpoint = list(
    VpcEndpointId = "string",
    VpcId = "string",
    NetworkInterfaces = list(
      list(
        NetworkInterfaceId = "string",
        SubnetId = "string",
        PrivateIpAddress = "string",
        AvailabilityZone = "string",
        Ipv6Address = "string"
      )
    )
  )
)

Request syntax

svc$create_endpoint_access(
  ClusterIdentifier = "string",
  ResourceOwner = "string",
  EndpointName = "string",
  SubnetGroupName = "string",
  VpcSecurityGroupIds = list(
    "string"
  )
)