Community::CodeCommit::RepositoryAssociation
January 24, 2024 ยท View on GitHub
Resource that allows for the association of a particular approval rule template to CodeCommit repositories.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{
"Type" : "Community::CodeCommit::RepositoryAssociation",
"Properties" : {
"ApprovalRuleTemplateArn" : String,
"ApprovalRuleTemplateName" : String,
"RepositoryNames" : [ String, ... ]
}
}
YAML
Type: Community::CodeCommit::RepositoryAssociation
Properties:
ApprovalRuleTemplateArn: String
ApprovalRuleTemplateName: String
RepositoryNames:
- String
Properties
ApprovalRuleTemplateArn
The Amazon Resource Name (ARN) or ID of the approval rule template for which you want to associate the repositories. It is NOT required in case ApprovalRuleTemplateName is set.
Required: No
Type: String
Minimum Length: 1
Maximum Length: 256
Update requires: Replacement
ApprovalRuleTemplateName
The name of the approval rule template for which you want to associate the repositories. It is NOT required in case ApprovalRuleTemplateArn is set.
Required: No
Type: String
Minimum Length: 1
Maximum Length: 100
Update requires: Replacement
RepositoryNames
A list of repository names that will be associated with the specified approval rule template.
Required: No
Type: List of String
Update requires: No interruption
Return Values
Ref
When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the Arn.
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.
Arn
The Amazon Resource Name (ARN) of the repository association.