Skip to main content

backup_access_points_by_resources

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

Overview

Namebackup_access_points_by_resources
TypeResource
Idaws.backup.backup_access_points_by_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
access_point_arnstringThe Amazon Resource Name (ARN) that uniquely identifies the backup access point. (pattern: <code>(arn:aws[a-z-]*:backup:[a-z-\d]+:\d{12}:accesspoint/)[\da-z]{1}[\da-z-]{1,48}[\da-z]{1}(?<!-s3alias)(?<!-ext-s3alias)</code>)
access_point_metadataobjectMetadata for the backup access point. After the backup access point reaches the AVAILABLE status, this map contains S3AccessPointArn and S3AccessPointAlias, which you use with standard Amazon S3 read APIs to access the backup data. For continuous recovery points, this map also contains AccessPointInTime (in format 2021-11-27T03:30:27Z). The access point provides access to the content present in the backup at that specific time.
backup_vault_arnstringThe Amazon Resource Name (ARN) of the backup vault that contains the recovery point.
backup_vault_namestringThe name of the backup vault that contains the recovery point. (pattern: <code>^[a-zA-Z0-9-_]{2,50}$</code>)
creation_timestring (date-time)The date and time that the backup access point was created, in Unix format and Coordinated Universal Time (UTC). The value of CreationTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
namestringThe name of the backup access point. (pattern: <code>[\da-z]{1}[\da-z-]{1,48}[\da-z]{1}(?<!-s3alias)(?<!-ext-s3alias)</code>)
recovery_point_arnstringThe Amazon Resource Name (ARN) of the recovery point that the backup access point provides access to. (pattern: <code>(arn:aws[a-z-]*:[a-z-\d]+:[a-z-\d]+:).+</code>)
resource_arnstringThe Amazon Resource Name (ARN) of the resource that was backed up, such as an Amazon S3 bucket. (pattern: <code>(arn:aws[a-z-]*:[a-z-\d]+:).+</code>)
resource_typestringThe type of Amazon Web Services resource associated with the recovery point. For example, S3 for Amazon Simple Storage Service.
statusstringThe current status of the backup access point. (AVAILABLE, CREATING, DELETING, DISASSOCIATED, DISASSOCIATING, EXPIRED, FAILED)
status_messagestringA message that provides additional detail about the status of the backup access point, such as the reason a creation or deletion attempt failed.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_backup_access_points_by_resourceselectresource_arn, regionMaxResults, NextTokenReturns the backup access points associated with the specified resource, such as an Amazon S3 bucket.

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
regionstringAWS region (default: us-east-1)
resource_arnstringThe Amazon Resource Name (ARN) of the resource whose backup access points you want to list.
MaxResultsintegerThe maximum number of items to be returned.
NextTokenstringThe next item following a partial list of returned items. For example, if a request is made to return MaxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

SELECT examples

Returns the backup access points associated with the specified resource, such as an Amazon S3 bucket.

SELECT
access_point_arn,
access_point_metadata,
backup_vault_arn,
backup_vault_name,
creation_time,
name,
recovery_point_arn,
resource_arn,
resource_type,
status,
status_message
FROM aws.backup.backup_access_points_by_resources
WHERE resource_arn = '{{ resource_arn }}' -- required
AND region = '{{ region }}' -- required
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
;