

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::Signer::ProfilePermission
<a name="aws-resource-signer-profilepermission"></a>

Adds cross-account permissions to a signing profile.

## Syntax
<a name="aws-resource-signer-profilepermission-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-resource-signer-profilepermission-syntax.json"></a>

```
{
  "Type" : "AWS::Signer::ProfilePermission",
  "Properties" : {
      "[Action](#cfn-signer-profilepermission-action)" : String,
      "[Principal](#cfn-signer-profilepermission-principal)" : String,
      "[ProfileName](#cfn-signer-profilepermission-profilename)" : String,
      "[ProfileVersion](#cfn-signer-profilepermission-profileversion)" : String,
      "[StatementId](#cfn-signer-profilepermission-statementid)" : String
    }
}
```

### YAML
<a name="aws-resource-signer-profilepermission-syntax.yaml"></a>

```
Type: AWS::Signer::ProfilePermission
Properties:
  [Action](#cfn-signer-profilepermission-action): String
  [Principal](#cfn-signer-profilepermission-principal): String
  [ProfileName](#cfn-signer-profilepermission-profilename): String
  [ProfileVersion](#cfn-signer-profilepermission-profileversion): String
  [StatementId](#cfn-signer-profilepermission-statementid): String
```

## Properties
<a name="aws-resource-signer-profilepermission-properties"></a>

`Action`  <a name="cfn-signer-profilepermission-action"></a>
The Amazon Signer action permitted as part of cross-account permissions.  
*Required*: Yes  
*Type*: String  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`Principal`  <a name="cfn-signer-profilepermission-principal"></a>
The Amazon principal receiving cross-account permissions. This may be an IAM role or another Amazon Web Services account ID.   
*Required*: Yes  
*Type*: String  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`ProfileName`  <a name="cfn-signer-profilepermission-profilename"></a>
The human-readable name of the signing profile.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[0-9a-zA-Z_]{2,64}$`  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`ProfileVersion`  <a name="cfn-signer-profilepermission-profileversion"></a>
The version of the signing profile.  
*Required*: No  
*Type*: String  
*Pattern*: `^[0-9a-zA-Z]{10}$`  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`StatementId`  <a name="cfn-signer-profilepermission-statementid"></a>
A unique identifier for the cross-account permission statement.  
*Required*: Yes  
*Type*: String  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

## Return values
<a name="aws-resource-signer-profilepermission-return-values"></a>

### Ref
<a name="aws-resource-signer-profilepermission-return-values-ref"></a>

The StatementId and ProfileName in the form StatementId\$1ProfileName