Skip to main content

shared_endpoints

Creates, updates, deletes, gets or lists a shared_endpoints resource.

Overview​

Nameshared_endpoints
TypeResource
Idaws.s3outposts.shared_endpoints

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
access_typestringThe type of connectivity used to access the Amazon S3 on Outposts endpoint. (Private, CustomerOwnedIp)
cidr_blockstringThe VPC CIDR committed by this endpoint.
creation_timestring (date-time)The time the endpoint was created.
customer_owned_ipv_4_poolstringThe ID of the customer-owned IPv4 address pool used for the endpoint. (pattern: <code>^ipv4pool-coip-([0-9a-f]{17})$</code>)
endpoint_arnstringThe Amazon Resource Name (ARN) of the endpoint. (pattern: <code>^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):s3-outposts:[a-z-0-9]*:[0-9]{12}:outpost/(op-[a-f0-9]{17}|ec2)/endpoint/[a-zA-Z0-9]{19}$</code>)
failed_reasonobjectThe failure reason, if any, for a create or delete endpoint operation.
network_interfacesarrayThe network interface of the endpoint.
outposts_idstringThe ID of the Outposts. (pattern: <code>^(op-[a-f0-9]{17}|\d{12}|ec2)$</code>)
security_group_idstringThe ID of the security group used for the endpoint. (pattern: <code>^sg-([0-9a-f]{8}|[0-9a-f]{17})$</code>)
statusstringThe status of the endpoint. (Pending, Available, Deleting, Create_Failed, Delete_Failed)
subnet_idstringThe ID of the subnet used for the endpoint. (pattern: <code>^subnet-([0-9a-f]{8}|[0-9a-f]{17})$</code>)
vpc_idstringThe ID of the VPC used for the endpoint.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_shared_endpointsselectoutpostId, regionnextToken, maxResultsLists all endpoints associated with an Outpost that has been shared by Amazon Web Services Resource Access Manager (RAM). Related actions include: CreateEndpoint DeleteEndpoint

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
outpostIdstringThe ID of the Amazon Web Services Outpost.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of endpoints that will be returned in the response.
nextTokenstringIf a previous response from this operation included a NextToken value, you can provide that value here to retrieve the next page of results.

SELECT examples​

Lists all endpoints associated with an Outpost that has been shared by Amazon Web Services Resource Access Manager (RAM). Related actions include: CreateEndpoint DeleteEndpoint

SELECT
access_type,
cidr_block,
creation_time,
customer_owned_ipv_4_pool,
endpoint_arn,
failed_reason,
network_interfaces,
outposts_id,
security_group_id,
status,
subnet_id,
vpc_id
FROM aws.s3outposts.shared_endpoints
WHERE outpostId = '{{ outpostId }}' -- required
AND region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;