1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. verifiedpermissions
  5. getPolicyTemplate

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.verifiedpermissions.getPolicyTemplate

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Definition of AWS::VerifiedPermissions::PolicyTemplate Resource Type

    Using getPolicyTemplate

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getPolicyTemplate(args: GetPolicyTemplateArgs, opts?: InvokeOptions): Promise<GetPolicyTemplateResult>
    function getPolicyTemplateOutput(args: GetPolicyTemplateOutputArgs, opts?: InvokeOptions): Output<GetPolicyTemplateResult>
    def get_policy_template(policy_store_id: Optional[str] = None,
                            policy_template_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetPolicyTemplateResult
    def get_policy_template_output(policy_store_id: Optional[pulumi.Input[str]] = None,
                            policy_template_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetPolicyTemplateResult]
    func LookupPolicyTemplate(ctx *Context, args *LookupPolicyTemplateArgs, opts ...InvokeOption) (*LookupPolicyTemplateResult, error)
    func LookupPolicyTemplateOutput(ctx *Context, args *LookupPolicyTemplateOutputArgs, opts ...InvokeOption) LookupPolicyTemplateResultOutput

    > Note: This function is named LookupPolicyTemplate in the Go SDK.

    public static class GetPolicyTemplate 
    {
        public static Task<GetPolicyTemplateResult> InvokeAsync(GetPolicyTemplateArgs args, InvokeOptions? opts = null)
        public static Output<GetPolicyTemplateResult> Invoke(GetPolicyTemplateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPolicyTemplateResult> getPolicyTemplate(GetPolicyTemplateArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:verifiedpermissions:getPolicyTemplate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PolicyStoreId string
    The unique identifier of the policy store that contains the template.
    PolicyTemplateId string
    The unique identifier of the new or modified policy template.
    PolicyStoreId string
    The unique identifier of the policy store that contains the template.
    PolicyTemplateId string
    The unique identifier of the new or modified policy template.
    policyStoreId String
    The unique identifier of the policy store that contains the template.
    policyTemplateId String
    The unique identifier of the new or modified policy template.
    policyStoreId string
    The unique identifier of the policy store that contains the template.
    policyTemplateId string
    The unique identifier of the new or modified policy template.
    policy_store_id str
    The unique identifier of the policy store that contains the template.
    policy_template_id str
    The unique identifier of the new or modified policy template.
    policyStoreId String
    The unique identifier of the policy store that contains the template.
    policyTemplateId String
    The unique identifier of the new or modified policy template.

    getPolicyTemplate Result

    The following output properties are available:

    Description string
    The description to attach to the new or updated policy template.
    PolicyTemplateId string
    The unique identifier of the new or modified policy template.
    Statement string
    Specifies the content that you want to use for the new policy template, written in the Cedar policy language.
    Description string
    The description to attach to the new or updated policy template.
    PolicyTemplateId string
    The unique identifier of the new or modified policy template.
    Statement string
    Specifies the content that you want to use for the new policy template, written in the Cedar policy language.
    description String
    The description to attach to the new or updated policy template.
    policyTemplateId String
    The unique identifier of the new or modified policy template.
    statement String
    Specifies the content that you want to use for the new policy template, written in the Cedar policy language.
    description string
    The description to attach to the new or updated policy template.
    policyTemplateId string
    The unique identifier of the new or modified policy template.
    statement string
    Specifies the content that you want to use for the new policy template, written in the Cedar policy language.
    description str
    The description to attach to the new or updated policy template.
    policy_template_id str
    The unique identifier of the new or modified policy template.
    statement str
    Specifies the content that you want to use for the new policy template, written in the Cedar policy language.
    description String
    The description to attach to the new or updated policy template.
    policyTemplateId String
    The unique identifier of the new or modified policy template.
    statement String
    Specifies the content that you want to use for the new policy template, written in the Cedar policy language.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi