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
Idawscc.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.

For more information, see AWS::Transfer::Profile.

Methods

NameResourceAccessible byRequired Params
create_resourceprofilesINSERTAs2Id, ProfileType, region
delete_resourceprofilesDELETEIdentifier, region
update_resourceprofilesUPDATEIdentifier, PatchDocument, region
list_resourcesprofiles_list_onlySELECTregion
get_resourceprofilesSELECTIdentifier, region

SELECT examples

Gets all properties from an individual profile.

SELECT
region,
as2_id,
profile_type,
tags,
certificate_ids,
arn,
profile_id
FROM awscc.transfer.profiles
WHERE
region = 'us-east-1' AND
Identifier = '{{ profile_id }}';

INSERT example

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

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

UPDATE example

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

/*+ update */
UPDATE awscc.transfer.profiles
SET PatchDocument = string('{{ {
"As2Id": as2_id,
"Tags": tags,
"CertificateIds": certificate_ids
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ profile_id }}';

DELETE example

/*+ delete */
DELETE FROM awscc.transfer.profiles
WHERE
Identifier = '{{ profile_id }}' AND
region = 'us-east-1';

Permissions

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

transfer:CreateProfile,
transfer:TagResource