AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EntityResolution::PolicyStatement

CfnPolicyStatement

Adds a policy statement object. To retrieve a list of existing policy statements, use the `GetPolicy` API.

Import

import { CfnPolicyStatement } from 'aws-cdk-lib/aws-entityresolution';

Or use the module namespace:

import * as entityresolution from 'aws-cdk-lib/aws-entityresolution';
// entityresolution.CfnPolicyStatement

Properties

Configuration passed to the constructor as CfnPolicyStatementProps.

arnRequired
string

The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.

statementIdRequired
string

A statement identifier that differentiates the statement from others in the same policy.

actionOptional
string[]

The action that the principal can use on the resource. For example, `entityresolution:GetIdMappingJob` , `entityresolution:GetMatchingJob` .

conditionOptional
string

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

effectOptional
string

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.

principalOptional
string[]

The AWS service or AWS account that can access the resource defined as ARN.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-entityresolution
CFN TypeAWS::EntityResolution::PolicyStatement
Properties6

External Links