UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

45 lines (44 loc) 1.57 kB
import * as pulumi from "@pulumi/pulumi"; /** * Definition of AWS::VerifiedPermissions::PolicyTemplate Resource Type */ export declare function getPolicyTemplate(args: GetPolicyTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetPolicyTemplateResult>; export interface GetPolicyTemplateArgs { /** * The unique identifier of the policy store that contains the template. */ policyStoreId: string; /** * The unique identifier of the new or modified policy template. */ policyTemplateId: string; } export interface GetPolicyTemplateResult { /** * The description to attach to the new or updated policy template. */ readonly description?: string; readonly name?: string; /** * The unique identifier of the new or modified policy template. */ readonly policyTemplateId?: string; /** * Specifies the content that you want to use for the new policy template, written in the Cedar policy language. */ readonly statement?: string; } /** * Definition of AWS::VerifiedPermissions::PolicyTemplate Resource Type */ export declare function getPolicyTemplateOutput(args: GetPolicyTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPolicyTemplateResult>; export interface GetPolicyTemplateOutputArgs { /** * The unique identifier of the policy store that contains the template. */ policyStoreId: pulumi.Input<string>; /** * The unique identifier of the new or modified policy template. */ policyTemplateId: pulumi.Input<string>; }