UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

97 lines (96 loc) 3.23 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides details about a specific CodeCommit Approval Rule Template. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.codecommit.getApprovalRuleTemplate({ * name: "MyExampleApprovalRuleTemplate", * }); * ``` */ export declare function getApprovalRuleTemplate(args: GetApprovalRuleTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetApprovalRuleTemplateResult>; /** * A collection of arguments for invoking getApprovalRuleTemplate. */ export interface GetApprovalRuleTemplateArgs { /** * Name for the approval rule template. This needs to be less than 100 characters. */ name: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; } /** * A collection of values returned by getApprovalRuleTemplate. */ export interface GetApprovalRuleTemplateResult { /** * The ID of the approval rule template. */ readonly approvalRuleTemplateId: string; /** * Content of the approval rule template. */ readonly content: string; /** * Date the approval rule template was created, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8). */ readonly creationDate: string; /** * Description of the approval rule template. */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Date the approval rule template was most recently changed, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8). */ readonly lastModifiedDate: string; /** * ARN of the user who made the most recent changes to the approval rule template. */ readonly lastModifiedUser: string; readonly name: string; readonly region: string; /** * SHA-256 hash signature for the content of the approval rule template. */ readonly ruleContentSha256: string; } /** * Provides details about a specific CodeCommit Approval Rule Template. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.codecommit.getApprovalRuleTemplate({ * name: "MyExampleApprovalRuleTemplate", * }); * ``` */ export declare function getApprovalRuleTemplateOutput(args: GetApprovalRuleTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApprovalRuleTemplateResult>; /** * A collection of arguments for invoking getApprovalRuleTemplate. */ export interface GetApprovalRuleTemplateOutputArgs { /** * Name for the approval rule template. This needs to be less than 100 characters. */ name: pulumi.Input<string>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input<string>; }