Skip to main content

aliases

Creates, updates, deletes or gets an alias resource or lists aliases in a region

Overview

Namealiases
TypeResource
DescriptionDefinition of AWS::PaymentCryptography::Alias Resource Type
Idaws.paymentcryptography.aliases

Fields

NameDatatypeDescription
alias_namestring
key_arnstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTAliasName, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all aliases in a region.

SELECT
region,
alias_name,
key_arn
FROM aws.paymentcryptography.aliases
WHERE region = 'us-east-1';

Gets all properties from an individual alias.

SELECT
region,
alias_name,
key_arn
FROM aws.paymentcryptography.aliases
WHERE region = 'us-east-1' AND data__Identifier = '<AliasName>';

INSERT example

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

/*+ create */
INSERT INTO aws.paymentcryptography.aliases (
AliasName,
region
)
SELECT
'{{ AliasName }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.paymentcryptography.aliases
WHERE data__Identifier = '<AliasName>'
AND region = 'us-east-1';

Permissions

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

Create

payment-cryptography:CreateAlias

Read

payment-cryptography:GetAlias

Update

payment-cryptography:UpdateAlias

Delete

payment-cryptography:DeleteAlias

List

payment-cryptography:ListAliases