Skip to main content

profiles

Creates, updates, deletes or gets a profile resource or lists profiles in a region

Overview

Nameprofiles
TypeResource
DescriptionResource Type definition for AWS::Transfer::Profile
Idaws.transfer.profiles

Fields

NameDatatypeDescription
as2_idstringAS2 identifier agreed with a trading partner.
profile_typestringEnum specifying whether the profile is local or associated with a trading partner.
tagsarrayAn array of key-value pairs to apply to this resource.
certificate_idsarrayList of the certificate IDs associated with this profile to be used for encryption and signing of AS2 messages.
arnstringSpecifies the unique Amazon Resource Name (ARN) for the profile.
profile_idstringA unique identifier for the profile
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTAs2Id, ProfileType, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all profiles in a region.

SELECT
region,
as2_id,
profile_type,
tags,
certificate_ids,
arn,
profile_id
FROM aws.transfer.profiles
WHERE region = 'us-east-1';

Gets all properties from an individual profile.

SELECT
region,
as2_id,
profile_type,
tags,
certificate_ids,
arn,
profile_id
FROM aws.transfer.profiles
WHERE region = 'us-east-1' AND data__Identifier = '<ProfileId>';

INSERT example

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

/*+ create */
INSERT INTO aws.transfer.profiles (
As2Id,
ProfileType,
region
)
SELECT
'{{ As2Id }}',
'{{ ProfileType }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.transfer.profiles
WHERE data__Identifier = '<ProfileId>'
AND region = 'us-east-1';

Permissions

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

Create

transfer:CreateProfile,
transfer:TagResource

Read

transfer:DescribeProfile

Update

transfer:UpdateProfile,
transfer:UnTagResource,
transfer:TagResource

Delete

transfer:DeleteProfile

List

transfer:ListProfiles