AWS Native is in preview. AWS Classic is fully supported.
aws-native.entityresolution.getPolicyStatement
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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.
- Statement
Id 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.
- Statement
Id 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.
- statement
Id 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.
- statement
Id 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.
- statement
Id 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.
Aws Native. Entity Resolution. Policy Statement Statement Effect 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 toDeny
for theAddPolicyStatement
operation, you must also set the value of theeffect
parameter in thepolicy
toDeny
for thePutPolicy
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
Policy
Statement Statement Effect 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 toDeny
for theAddPolicyStatement
operation, you must also set the value of theeffect
parameter in thepolicy
toDeny
for thePutPolicy
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
Policy
Statement Statement Effect 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 toDeny
for theAddPolicyStatement
operation, you must also set the value of theeffect
parameter in thepolicy
toDeny
for thePutPolicy
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
Policy
Statement Statement Effect 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 toDeny
for theAddPolicyStatement
operation, you must also set the value of theeffect
parameter in thepolicy
toDeny
for thePutPolicy
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
Policy
Statement Statement Effect 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 toDeny
for theAddPolicyStatement
operation, you must also set the value of theeffect
parameter in thepolicy
toDeny
for thePutPolicy
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 toDeny
for theAddPolicyStatement
operation, you must also set the value of theeffect
parameter in thepolicy
toDeny
for thePutPolicy
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 is in preview. AWS Classic is fully supported.