# AWS::Transfer::Profile Resource Type definition for AWS::Transfer::Profile ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
"Type" : "AWS::Transfer::Profile",
"Properties" : {
"As2Id" : String,
"ProfileType" : String,
"Tags" : [ Tag, ... ],
"CertificateIds" : [ String, ... ],
}
}
### YAML
Type: AWS::Transfer::Profile
Properties:
As2Id: String
ProfileType: String
Tags:
- Tag
CertificateIds:
- String
## Properties
#### As2Id
AS2 identifier agreed with a trading partner.
_Required_: Yes
_Type_: String
_Minimum_: 1
_Maximum_: 128
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### ProfileType
Enum specifying whether the profile is local or associated with a trading partner.
_Required_: Yes
_Type_: String
_Allowed Values_: LOCAL | PARTNER
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### Tags
An array of key-value pairs to apply to this resource.
_Required_: No
_Type_: List of Tag
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### CertificateIds
List of the certificate IDs associated with this profile to be used for encryption and signing of AS2 messages.
_Required_: No
_Type_: List of String
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
## Return Values
### Ref
When you pass the logical ID of this resource to the intrinsic `Ref` function, Ref returns the ProfileId.
### Fn::GetAtt
The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html).
#### Arn
Specifies the unique Amazon Resource Name (ARN) for the profile.
#### ProfileId
A unique identifier for the profile