Skip to main content

endpoints

Creates, updates, deletes or gets an endpoint resource or lists endpoints in a region

Overview

Nameendpoints
TypeResource
DescriptionResource Type Definition for AWS::S3Outposts::Endpoint
Idawscc.s3outposts.endpoints

Fields

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the endpoint.
cidr_blockstringThe VPC CIDR committed by this endpoint.
creation_timestringThe time the endpoint was created.
idstringThe ID of the endpoint.
network_interfacesarrayThe network interfaces of the endpoint.
outpost_idstringThe id of the customer outpost on which the bucket resides.
security_group_idstringThe ID of the security group to use with the endpoint.
statusstring
subnet_idstringThe ID of the subnet in the selected VPC. The subnet must belong to the Outpost.
access_typestringThe type of access for the on-premise network connectivity for the Outpost endpoint. To access endpoint from an on-premises network, you must specify the access type and provide the customer owned Ipv4 pool.
customer_owned_ipv4_poolstringThe ID of the customer-owned IPv4 pool for the Endpoint. IP addresses will be allocated from this pool for the endpoint.
failed_reasonobjectThe failure reason, if any, for a create or delete endpoint operation.
regionstringAWS region.

For more information, see AWS::S3Outposts::Endpoint.

Methods

NameResourceAccessible byRequired Params
create_resourceendpointsINSERTOutpostId, SecurityGroupId, SubnetId, region
delete_resourceendpointsDELETEIdentifier, region
list_resourcesendpoints_list_onlySELECTregion
get_resourceendpointsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual endpoint.

SELECT
region,
arn,
cidr_block,
creation_time,
id,
network_interfaces,
outpost_id,
security_group_id,
status,
subnet_id,
access_type,
customer_owned_ipv4_pool,
failed_reason
FROM awscc.s3outposts.endpoints
WHERE
region = '{{ region }}' AND
Identifier = '{{ arn }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.s3outposts.endpoints (
OutpostId,
SecurityGroupId,
SubnetId,
region
)
SELECT
'{{ outpost_id }}',
'{{ security_group_id }}',
'{{ subnet_id }}',
'{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

DELETE example

/*+ delete */
DELETE FROM awscc.s3outposts.endpoints
WHERE
Identifier = '{{ arn }}' AND
region = '{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

Additional Parameters

Mutable resources in the Cloud Control provider support additional optional parameters which can be supplied with INSERT, UPDATE, or DELETE operations. These include:

ParameterDescription
ClientToken
A unique identifier to ensure the idempotency of the resource request.This allows the provider to accurately distinguish between retries and new requests.
A client token is valid for 36 hours once used.
After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
RoleArn
The ARN of the IAM role used to perform this resource operation.The role specified must have the permissions required for this operation.
If you do not specify a role, a temporary session is created using your AWS user credentials.
TypeVersionId
For private resource types, the type version to use in this resource operation.If you do not specify a resource version, the default version is used.

Permissions

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

s3-outposts:CreateEndpoint