interface CfnPolicyStatementMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EntityResolution.Mixins.CfnPolicyStatementMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsentityresolution/mixins#CfnPolicyStatementMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.entityresolution.mixins.CfnPolicyStatementMixinProps |
Python | aws_cdk.mixins_preview.aws_entityresolution.mixins.CfnPolicyStatementMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_entityresolution » mixins » CfnPolicyStatementMixinProps |
Properties for CfnPolicyStatementPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as entityresolution_mixins } from '@aws-cdk/mixins-preview/aws-entityresolution';
const cfnPolicyStatementMixinProps: entityresolution_mixins.CfnPolicyStatementMixinProps = {
action: ['action'],
arn: 'arn',
condition: 'condition',
effect: 'effect',
principal: ['principal'],
statementId: 'statementId',
};
Properties
| Name | Type | Description |
|---|---|---|
| action? | string[] | The action that the principal can use on the resource. |
| arn? | string | The Amazon Resource Name (ARN) of the resource that will be accessed by the principal. |
| condition? | string | A set of condition keys that you can use in key policies. |
| effect? | string | Determines whether the permissions specified in the policy are to be allowed ( Allow ) or denied ( Deny ). |
| principal? | string[] | The AWS service or AWS account that can access the resource defined as ARN. |
| statement | string | A statement identifier that differentiates the statement from others in the same policy. |
action?
Type:
string[]
(optional)
The action that the principal can use on the resource.
For example, entityresolution:GetIdMappingJob , entityresolution:GetMatchingJob .
arn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.
condition?
Type:
string
(optional)
A set of condition keys that you can use in key policies.
effect?
Type:
string
(optional)
Determines whether the permissions specified in the policy are to be allowed ( Allow ) or denied ( Deny ).
If you set the value of the
effectparameter toDenyfor theAddPolicyStatementoperation, you must also set the value of theeffectparameter in thepolicytoDenyfor thePutPolicyoperation.
principal?
Type:
string[]
(optional)
The AWS service or AWS account that can access the resource defined as ARN.
statementId?
Type:
string
(optional)
A statement identifier that differentiates the statement from others in the same policy.

.NET
Go
Java
Python
TypeScript