AWS Native is in preview. AWS Classic is fully supported.
aws-native.vpclattice.getAuthPolicy
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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 - The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
- Resource
Identifier string - The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
- resource
Identifier String - The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
- resource
Identifier string - The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
- resource_
identifier str - The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
- resource
Identifier String - The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
getAuthPolicy Result
The following output properties are available:
- Policy object
The auth policy.
Search the CloudFormation User Guide for
AWS::VpcLattice::AuthPolicy
for more information about the expected schema for this property.- State
Pulumi.
Aws Native. Vpc Lattice. Auth Policy State - The state of the auth policy. The auth policy is only active when the auth type is set to
AWS _IAM
. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the auth type isNONE
, then any auth policy you provide will remain inactive.
- Policy interface{}
The auth policy.
Search the CloudFormation User Guide for
AWS::VpcLattice::AuthPolicy
for more information about the expected schema for this property.- State
Auth
Policy State Enum - The state of the auth policy. The auth policy is only active when the auth type is set to
AWS _IAM
. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the auth type isNONE
, then any auth policy you provide will remain inactive.
- policy Object
The auth policy.
Search the CloudFormation User Guide for
AWS::VpcLattice::AuthPolicy
for more information about the expected schema for this property.- state
Auth
Policy State - The state of the auth policy. The auth policy is only active when the auth type is set to
AWS _IAM
. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the auth type isNONE
, then any auth policy you provide will remain inactive.
- policy any
The auth policy.
Search the CloudFormation User Guide for
AWS::VpcLattice::AuthPolicy
for more information about the expected schema for this property.- state
Auth
Policy State - The state of the auth policy. The auth policy is only active when the auth type is set to
AWS _IAM
. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the auth type isNONE
, then any auth policy you provide will remain inactive.
- policy Any
The auth policy.
Search the CloudFormation User Guide for
AWS::VpcLattice::AuthPolicy
for more information about the expected schema for this property.- state
Auth
Policy State - The state of the auth policy. The auth policy is only active when the auth type is set to
AWS _IAM
. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the auth type isNONE
, then any auth policy you provide will remain inactive.
- policy Any
The auth policy.
Search the CloudFormation User Guide for
AWS::VpcLattice::AuthPolicy
for more information about the expected schema for this property.- state "ACTIVE" | "INACTIVE"
- The state of the auth policy. The auth policy is only active when the auth type is set to
AWS _IAM
. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the auth type isNONE
, then any auth policy you provide will remain inactive.
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.