import * as core from "@terrascript/core"; export interface DsApprovalRuleTemplateArgs { /** * (Required) The name for the approval rule template. This needs to be less than 100 characters. */ name: string | core.StringOut; } export class DsApprovalRuleTemplate extends core.Data { /** * The ID of the approval rule template. */ @core.attr(String, { computed: true }) public approvalRuleTemplateId!: string | core.StringOut; /** * The content of the approval rule template. */ @core.attr(String, { computed: true }) public content!: string | core.StringOut; /** * The date the approval rule template was created, in [RFC3339 format](https://tools.ietf.org/html/rfc * 3339#section-5.8). */ @core.attr(String, { computed: true }) public creationDate!: string | core.StringOut; /** * The description of the approval rule template. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The date the approval rule template was most recently changed, in [RFC3339 format](https://tools.iet * f.org/html/rfc3339#section-5.8). */ @core.attr(String, { computed: true }) public lastModifiedDate!: string | core.StringOut; /** * The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule tem * plate. */ @core.attr(String, { computed: true }) public lastModifiedUser!: string | core.StringOut; /** * (Required) The name for the approval rule template. This needs to be less than 100 characters. */ @core.attr(String) public name!: string | core.StringOut; /** * The SHA-256 hash signature for the content of the approval rule template. */ @core.attr(String, { computed: true }) public ruleContentSha256!: string | core.StringOut; constructor(name: string, args?: DsApprovalRuleTemplateArgs) { super(name, "aws_codecommit_approval_rule_template", args); } public override getNamespace(): string { return "aws_codecommit"; } }