Skip to main content

support_permits

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

Overview

Namesupport_permits
TypeResource
Idaws.supportauthz.support_permits

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the support permit. (pattern: <code>[a-zA-Z0-9]{1,256}</code>)
arnstringThe ARN of the support permit. (pattern: <code>arn:[a-z0-9-]+:[a-z0-9-]+:[a-z0-9-]*:[0-9]{12}:.+</code>)
created_atstring (date-time)The timestamp when the permit was created.
descriptionstringThe description of the support permit.
permitobjectThe permit definition specifying the authorized actions, resources, and time-window conditions for a support operator.
signing_key_infoobjectThe signing key used to cryptographically sign a support permit.
statusstringThe status of a support permit. (ACTIVE, INACTIVE, DELETING)
support_case_display_idstringThe display identifier of the support case associated with the permit. (pattern: <code>[a-zA-Z0-9:/-]{1,512}</code>)
tagsobjectThe tags associated with the support permit.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_support_permitselectsupport_permit_identifier, regionRetrieves the details of a support permit by its ARN or name.
list_support_permitsselectregionnextToken, maxResults, supportPermitStatusesLists all support permits in the caller's account. Use pagination to ensure that the operation returns quickly and successfully.
create_support_permitinsertregion, permit, name, signingKeyInfoCreates a support permit that authorizes an AWS support operator to perform specified actions on specified resources. The permit is cryptographically signed using a customer-managed AWS KMS key (ECC_NIST_P384, SIGN_VERIFY) to ensure non-repudiation.
delete_support_permitdeletesupport_permit_identifier, regionDeletes a support permit, revoking the authorization previously granted to the AWS support operator.
reject_support_permit_requestexecrequest_arn, regionRejects a permit request from an AWS support operator. The operator cannot proceed with the requested action.

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)
request_arnstringThe ARN of the permit request to reject.
support_permit_identifierstringThe Amazon Resource Name (ARN) or name of the support permit to delete.
maxResultsintegerThe maximum number of results to return in a single call. Valid range is 1 to 100.
nextTokenstringThe token for the next page of results.
supportPermitStatusesarrayFilters the results by support permit status. Valid values: ACTIVE, INACTIVE, DELETING.

SELECT examples

Retrieves the details of a support permit by its ARN or name.

SELECT
name,
arn,
created_at,
description,
permit,
signing_key_info,
status,
support_case_display_id,
tags
FROM aws.supportauthz.support_permits
WHERE support_permit_identifier = '{{ support_permit_identifier }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a support permit that authorizes an AWS support operator to perform specified actions on specified resources. The permit is cryptographically signed using a customer-managed AWS KMS key (ECC_NIST_P384, SIGN_VERIFY) to ensure non-repudiation.

INSERT INTO aws.supportauthz.support_permits (
permit,
name,
description,
signingKeyInfo,
supportCaseDisplayId,
clientToken,
tags,
region
)
SELECT
'{{ permit }}' /* required */,
'{{ name }}' /* required */,
'{{ description }}',
'{{ signingKeyInfo }}' /* required */,
'{{ supportCaseDisplayId }}',
'{{ clientToken }}',
'{{ tags }}',
'{{ region }}'
RETURNING
name,
arn,
created_at,
description,
permit,
signing_key_info,
status,
support_case_display_id,
tags
;

DELETE examples

Deletes a support permit, revoking the authorization previously granted to the AWS support operator.

DELETE FROM aws.supportauthz.support_permits
WHERE support_permit_identifier = '{{ support_permit_identifier }}' --required
AND region = '{{ region }}' --required
;

Lifecycle Methods

Rejects a permit request from an AWS support operator. The operator cannot proceed with the requested action.

EXEC aws.supportauthz.support_permits.reject_support_permit_request
@request_arn='{{ request_arn }}' --required,
@region='{{ region }}' --required
;