aws-native logo
AWS Native v0.53.0, Mar 14 23



Using getAuthPolicy

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 getAuthPolicy(args: GetAuthPolicyArgs, opts?: InvokeOptions): Promise<GetAuthPolicyResult>
function getAuthPolicyOutput(args: GetAuthPolicyOutputArgs, opts?: InvokeOptions): Output<GetAuthPolicyResult>
def get_auth_policy(resource_identifier: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetAuthPolicyResult
def get_auth_policy_output(resource_identifier: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetAuthPolicyResult]
func LookupAuthPolicy(ctx *Context, args *LookupAuthPolicyArgs, opts ...InvokeOption) (*LookupAuthPolicyResult, error)
func LookupAuthPolicyOutput(ctx *Context, args *LookupAuthPolicyOutputArgs, opts ...InvokeOption) LookupAuthPolicyResultOutput

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

public static class GetAuthPolicy 
    public static Task<GetAuthPolicyResult> InvokeAsync(GetAuthPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetAuthPolicyResult> Invoke(GetAuthPolicyInvokeArgs args, InvokeOptions? opts = null)
public static CompletableFuture<GetAuthPolicyResult> getAuthPolicy(GetAuthPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
  function: aws-native:vpclattice:getAuthPolicy
    # arguments dictionary

The following arguments are supported:

getAuthPolicy Result

The following output properties are available:

Supporting Types


Package Details

AWS Native pulumi/pulumi-aws-native