Skip to content

Latest commit

 

History

History
107 lines (61 loc) · 3.15 KB

File metadata and controls

107 lines (61 loc) · 3.15 KB

Community::CodeCommit::ApprovalRuleTemplate

Resource that allows for the creation of approval rule template for CodeCommit.

Syntax

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

JSON

{
    "Type" : "Community::CodeCommit::ApprovalRuleTemplate",
    "Properties" : {
        "Name" : String,
        "Description" : String,
        "Content" : TemplateContent,
    }
}

YAML

Type: Community::CodeCommit::ApprovalRuleTemplate
Properties:
    Name: String
    Description: String
    Content: TemplateContent

Properties

Name

The name of the approval rule template. Provide descriptive names, because this name is applied to the approval rules created automatically in associated repositories.

Required: Yes

Type: String

Minimum: 1

Maximum: 100

Update requires: No interruption

Description

The description of the approval rule template. Consider providing a description that explains what this template does and when it might be appropriate to associate it with repositories.

Required: No

Type: String

Minimum: 1

Maximum: 1000

Update requires: No interruption

Content

The content of the approval rule template.

Required: Yes

Type: TemplateContent

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 approval rule template.

Id

The system-generated ID of the approval rule template.

CreationDate

The date the approval rule template was created, in POSIX time format.

LastModifiedDate

The date the approval rule template was most recently changed, in POSIX time format.

LastModifiedUser

The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.

RuleContentSha256

The SHA-256 hash signature for the content of the approval rule template.