interface AccessPolicyIdentityProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoTSiteWise.CfnAccessPolicy.AccessPolicyIdentityProperty |
Java | software.amazon.awscdk.services.iotsitewise.CfnAccessPolicy.AccessPolicyIdentityProperty |
Python | aws_cdk.aws_iotsitewise.CfnAccessPolicy.AccessPolicyIdentityProperty |
TypeScript | @aws-cdk/aws-iotsitewise » CfnAccessPolicy » AccessPolicyIdentityProperty |
The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy applies.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iotsitewise from '@aws-cdk/aws-iotsitewise';
const accessPolicyIdentityProperty: iotsitewise.CfnAccessPolicy.AccessPolicyIdentityProperty = {
iamRole: {
arn: 'arn',
},
iamUser: {
arn: 'arn',
},
user: {
id: 'id',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| iam | IResolvable | Iam | An IAM role identity. |
| iam | IResolvable | Iam | An IAM user identity. |
| user? | IResolvable | User | The IAM Identity Center user to which this access policy maps. |
iamRole?
Type:
IResolvable | Iam
(optional)
An IAM role identity.
iamUser?
Type:
IResolvable | Iam
(optional)
An IAM user identity.
user?
Type:
IResolvable | User
(optional)
The IAM Identity Center user to which this access policy maps.

.NET
Java
Python
TypeScript