AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.verifiedpermissions.getPolicyTemplate
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 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 dictionaryThe following arguments are supported:
- Policy
Store stringId  - The unique identifier of the policy store that contains the template.
 - Policy
Template stringId  - The unique identifier of the new or modified policy template.
 
- Policy
Store stringId  - The unique identifier of the policy store that contains the template.
 - Policy
Template stringId  - The unique identifier of the new or modified policy template.
 
- policy
Store StringId  - The unique identifier of the policy store that contains the template.
 - policy
Template StringId  - The unique identifier of the new or modified policy template.
 
- policy
Store stringId  - The unique identifier of the policy store that contains the template.
 - policy
Template stringId  - The unique identifier of the new or modified policy template.
 
- policy_
store_ strid  - The unique identifier of the policy store that contains the template.
 - policy_
template_ strid  - The unique identifier of the new or modified policy template.
 
- policy
Store StringId  - The unique identifier of the policy store that contains the template.
 - policy
Template StringId  - 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.
 - Policy
Template stringId  - 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.
 - Policy
Template stringId  - 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.
 - policy
Template StringId  - 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.
 - policy
Template stringId  - 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_ strid  - 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.
 - policy
Template StringId  - 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 is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi