AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.77.0 published on Wednesday, Sep 20, 2023 by Pulumi
aws-native.vpclattice.getAuthPolicy
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.77.0 published on Wednesday, Sep 20, 2023 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:
- Resource
Identifier string
- Resource
Identifier string
- resource
Identifier String
- resource
Identifier string
- resource
Identifier String
getAuthPolicy Result
The following output properties are available:
- Policy interface{}
- State
Auth
Policy State Enum
- policy Object
- state
Auth
Policy State
Supporting Types
AuthPolicyState
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.77.0 published on Wednesday, Sep 20, 2023 by Pulumi