Skip to content

Data Source: awsCodecommitApprovalRuleTemplate

Provides details about a specific CodeCommit Approval Rule Template.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsCodecommitApprovalRuleTemplate.DataAwsCodecommitApprovalRuleTemplate(
  this,
  "example",
  {
    name: "MyExampleApprovalRuleTemplate",
  }
);

Argument Reference

The following arguments are supported:

  • name - (Required) Name for the approval rule template. This needs to be less than 100 characters.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • approvalRuleTemplateId - The ID of the approval rule template.
  • content - Content of the approval rule template.
  • creationDate - Date the approval rule template was created, in RFC3339 format.
  • description - Description of the approval rule template.
  • lastModifiedDate - Date the approval rule template was most recently changed, in RFC3339 format.
  • lastModifiedUser - ARN of the user who made the most recent changes to the approval rule template.
  • ruleContentSha256 - SHA-256 hash signature for the content of the approval rule template.