Skip to main content

private_graph_endpoints

Creates, updates, deletes or gets a private_graph_endpoint resource or lists private_graph_endpoints in a region

Overview

Nameprivate_graph_endpoints
TypeResource
DescriptionThe AWS::NeptuneGraph::PrivateGraphEndpoint resource creates an Amazon NeptuneGraph PrivateGraphEndpoint.
Idawscc.neptunegraph.private_graph_endpoints

Fields

NameDatatypeDescription
graph_identifierstringThe auto-generated Graph Id assigned by the service.
security_group_idsarrayThe security group Ids associated with the VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC.
subnet_idsarrayThe subnet Ids associated with the VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC.
vpc_idstringThe VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC.
private_graph_endpoint_identifierstringPrivateGraphEndpoint resource identifier generated by concatenating the associated GraphIdentifier and VpcId with an underscore separator.<br />For example, if GraphIdentifier is &#96;g-12a3bcdef4&#96; and VpcId is &#96;vpc-0a12bc34567de8f90&#96;, the generated PrivateGraphEndpointIdentifier will be &#96;g-12a3bcdef4&#95;vpc-0a12bc34567de8f90&#96;
vpc_endpoint_idstringVPC endpoint that provides a private connection between the Graph and specified VPC.
regionstringAWS region.

For more information, see AWS::NeptuneGraph::PrivateGraphEndpoint.

Methods

NameResourceAccessible byRequired Params
create_resourceprivate_graph_endpointsINSERTGraphIdentifier, VpcId, region
delete_resourceprivate_graph_endpointsDELETEIdentifier, region
update_resourceprivate_graph_endpointsUPDATEIdentifier, PatchDocument, region
list_resourcesprivate_graph_endpoints_list_onlySELECTregion
get_resourceprivate_graph_endpointsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual private_graph_endpoint.

SELECT
region,
graph_identifier,
security_group_ids,
subnet_ids,
vpc_id,
private_graph_endpoint_identifier,
vpc_endpoint_id
FROM awscc.neptunegraph.private_graph_endpoints
WHERE
region = 'us-east-1' AND
Identifier = '{{ private_graph_endpoint_identifier }}';

INSERT example

Use the following StackQL query and manifest file to create a new private_graph_endpoint resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.neptunegraph.private_graph_endpoints (
GraphIdentifier,
VpcId,
region
)
SELECT
'{{ graph_identifier }}',
'{{ vpc_id }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM awscc.neptunegraph.private_graph_endpoints
WHERE
Identifier = '{{ private_graph_endpoint_identifier }}' AND
region = 'us-east-1';

Permissions

To operate on the private_graph_endpoints resource, the following permissions are required:

ec2:CreateVpcEndpoint,
ec2:DescribeVpcEndpoints,
ec2:DescribeSecurityGroups,
ec2:DescribeSubnets,
ec2:DescribeVpcs,
ec2:DescribeVpcAttribute,
ec2:DescribeAvailabilityZones,
ec2:ModifyVpcEndpoint,
route53:AssociateVPCWithHostedZone,
iam:PassRole,
neptune-graph:CreatePrivateGraphEndpoint,
neptune-graph:GetPrivateGraphEndpoint,
iam:CreateServiceLinkedRole