Skip to main content

accessors

Creates, updates, deletes or gets an accessor resource or lists accessors in a region

Overview

Nameaccessors
TypeResource
DescriptionDefinition of AWS::ManagedBlockchain::com.amazonaws.taiga.webservice.api#Accessor Resource Type
Idaws.managedblockchain.accessors

Fields

NameDatatypeDescription
arnstring
billing_tokenstring
creation_datestring
idstring
statusstring
accessor_typestring
network_typestring
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

Methods

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

SELECT examples

Gets all accessors in a region.

SELECT
region,
arn,
billing_token,
creation_date,
id,
status,
accessor_type,
network_type,
tags
FROM aws.managedblockchain.accessors
WHERE region = 'us-east-1';

Gets all properties from an individual accessor.

SELECT
region,
arn,
billing_token,
creation_date,
id,
status,
accessor_type,
network_type,
tags
FROM aws.managedblockchain.accessors
WHERE region = 'us-east-1' AND data__Identifier = '<Id>';

INSERT example

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

/*+ create */
INSERT INTO aws.managedblockchain.accessors (
AccessorType,
region
)
SELECT
'{{ AccessorType }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.managedblockchain.accessors
WHERE data__Identifier = '<Id>'
AND region = 'us-east-1';

Permissions

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

Create

managedblockchain:CreateAccessor,
managedblockchain:TagResource,
managedblockchain:GetAccessor

Read

managedblockchain:GetAccessor

Update

managedblockchain:GetAccessor,
managedblockchain:CreateAccessor,
managedblockchain:TagResource,
managedblockchain:UntagResource

Delete

managedblockchain:DeleteAccessor

List

managedblockchain:ListAccessors