1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. entityresolution
  5. getPolicyStatement

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.3.0 published on Thursday, Oct 17, 2024 by Pulumi

aws-native.entityresolution.getPolicyStatement

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.3.0 published on Thursday, Oct 17, 2024 by Pulumi

    Policy Statement defined in AWS Entity Resolution Service

    Using getPolicyStatement

    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 getPolicyStatement(args: GetPolicyStatementArgs, opts?: InvokeOptions): Promise<GetPolicyStatementResult>
    function getPolicyStatementOutput(args: GetPolicyStatementOutputArgs, opts?: InvokeOptions): Output<GetPolicyStatementResult>
    def get_policy_statement(arn: Optional[str] = None,
                             statement_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetPolicyStatementResult
    def get_policy_statement_output(arn: Optional[pulumi.Input[str]] = None,
                             statement_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetPolicyStatementResult]
    func LookupPolicyStatement(ctx *Context, args *LookupPolicyStatementArgs, opts ...InvokeOption) (*LookupPolicyStatementResult, error)
    func LookupPolicyStatementOutput(ctx *Context, args *LookupPolicyStatementOutputArgs, opts ...InvokeOption) LookupPolicyStatementResultOutput

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

    public static class GetPolicyStatement 
    {
        public static Task<GetPolicyStatementResult> InvokeAsync(GetPolicyStatementArgs args, InvokeOptions? opts = null)
        public static Output<GetPolicyStatementResult> Invoke(GetPolicyStatementInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPolicyStatementResult> getPolicyStatement(GetPolicyStatementArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:entityresolution:getPolicyStatement
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.
    StatementId string
    A statement identifier that differentiates the statement from others in the same policy.
    Arn string
    The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.
    StatementId string
    A statement identifier that differentiates the statement from others in the same policy.
    arn String
    The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.
    statementId String
    A statement identifier that differentiates the statement from others in the same policy.
    arn string
    The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.
    statementId string
    A statement identifier that differentiates the statement from others in the same policy.
    arn str
    The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.
    statement_id str
    A statement identifier that differentiates the statement from others in the same policy.
    arn String
    The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.
    statementId String
    A statement identifier that differentiates the statement from others in the same policy.

    getPolicyStatement Result

    The following output properties are available:

    Action List<string>

    The action that the principal can use on the resource.

    For example, entityresolution:GetIdMappingJob , entityresolution:GetMatchingJob .

    Condition string
    A set of condition keys that you can use in key policies.
    Effect Pulumi.AwsNative.EntityResolution.PolicyStatementStatementEffect

    Determines whether the permissions specified in the policy are to be allowed ( Allow ) or denied ( Deny ).

    If you set the value of the effect parameter to Deny for the AddPolicyStatement operation, you must also set the value of the effect parameter in the policy to Deny for the PutPolicy operation.

    Principal List<string>
    The AWS service or AWS account that can access the resource defined as ARN.
    Action []string

    The action that the principal can use on the resource.

    For example, entityresolution:GetIdMappingJob , entityresolution:GetMatchingJob .

    Condition string
    A set of condition keys that you can use in key policies.
    Effect PolicyStatementStatementEffect

    Determines whether the permissions specified in the policy are to be allowed ( Allow ) or denied ( Deny ).

    If you set the value of the effect parameter to Deny for the AddPolicyStatement operation, you must also set the value of the effect parameter in the policy to Deny for the PutPolicy operation.

    Principal []string
    The AWS service or AWS account that can access the resource defined as ARN.
    action List<String>

    The action that the principal can use on the resource.

    For example, entityresolution:GetIdMappingJob , entityresolution:GetMatchingJob .

    condition String
    A set of condition keys that you can use in key policies.
    effect PolicyStatementStatementEffect

    Determines whether the permissions specified in the policy are to be allowed ( Allow ) or denied ( Deny ).

    If you set the value of the effect parameter to Deny for the AddPolicyStatement operation, you must also set the value of the effect parameter in the policy to Deny for the PutPolicy operation.

    principal List<String>
    The AWS service or AWS account that can access the resource defined as ARN.
    action string[]

    The action that the principal can use on the resource.

    For example, entityresolution:GetIdMappingJob , entityresolution:GetMatchingJob .

    condition string
    A set of condition keys that you can use in key policies.
    effect PolicyStatementStatementEffect

    Determines whether the permissions specified in the policy are to be allowed ( Allow ) or denied ( Deny ).

    If you set the value of the effect parameter to Deny for the AddPolicyStatement operation, you must also set the value of the effect parameter in the policy to Deny for the PutPolicy operation.

    principal string[]
    The AWS service or AWS account that can access the resource defined as ARN.
    action Sequence[str]

    The action that the principal can use on the resource.

    For example, entityresolution:GetIdMappingJob , entityresolution:GetMatchingJob .

    condition str
    A set of condition keys that you can use in key policies.
    effect PolicyStatementStatementEffect

    Determines whether the permissions specified in the policy are to be allowed ( Allow ) or denied ( Deny ).

    If you set the value of the effect parameter to Deny for the AddPolicyStatement operation, you must also set the value of the effect parameter in the policy to Deny for the PutPolicy operation.

    principal Sequence[str]
    The AWS service or AWS account that can access the resource defined as ARN.
    action List<String>

    The action that the principal can use on the resource.

    For example, entityresolution:GetIdMappingJob , entityresolution:GetMatchingJob .

    condition String
    A set of condition keys that you can use in key policies.
    effect "Allow" | "Deny"

    Determines whether the permissions specified in the policy are to be allowed ( Allow ) or denied ( Deny ).

    If you set the value of the effect parameter to Deny for the AddPolicyStatement operation, you must also set the value of the effect parameter in the policy to Deny for the PutPolicy operation.

    principal List<String>
    The AWS service or AWS account that can access the resource defined as ARN.

    Supporting Types

    PolicyStatementStatementEffect

    Package Details

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

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.3.0 published on Thursday, Oct 17, 2024 by Pulumi