1. Packages
  2. AWS Native
  3. API Docs
  4. vpclattice
  5. getAuthPolicy

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.vpclattice.getAuthPolicy

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

    Creates or updates the auth policy.

    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
    
    fn::invoke:
      function: aws-native:vpclattice:getAuthPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getAuthPolicy Result

    The following output properties are available:

    Policy object
    Search the CloudFormation User Guide for AWS::VpcLattice::AuthPolicy for more information about the expected schema for this property.
    State Pulumi.AwsNative.VpcLattice.AuthPolicyState
    Policy interface{}
    Search the CloudFormation User Guide for AWS::VpcLattice::AuthPolicy for more information about the expected schema for this property.
    State AuthPolicyStateEnum
    policy Object
    Search the CloudFormation User Guide for AWS::VpcLattice::AuthPolicy for more information about the expected schema for this property.
    state AuthPolicyState
    policy any
    Search the CloudFormation User Guide for AWS::VpcLattice::AuthPolicy for more information about the expected schema for this property.
    state AuthPolicyState
    policy Any
    Search the CloudFormation User Guide for AWS::VpcLattice::AuthPolicy for more information about the expected schema for this property.
    state AuthPolicyState
    policy Any
    Search the CloudFormation User Guide for AWS::VpcLattice::AuthPolicy for more information about the expected schema for this property.
    state "ACTIVE" | "INACTIVE"

    Supporting Types

    AuthPolicyState

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi