interface AccessPolicyIdentityProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoTSiteWise.CfnAccessPolicy.AccessPolicyIdentityProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiotsitewise#CfnAccessPolicy_AccessPolicyIdentityProperty |
Java | software.amazon.awscdk.services.iotsitewise.CfnAccessPolicy.AccessPolicyIdentityProperty |
Python | aws_cdk.aws_iotsitewise.CfnAccessPolicy.AccessPolicyIdentityProperty |
TypeScript | aws-cdk-lib » 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 { aws_iotsitewise as iotsitewise } from 'aws-cdk-lib';
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 | An IAM Identity Center user identity. |
iamRole?
Type:
IResolvable
|
Iam
(optional)
An IAM role identity.
iamUser?
Type:
IResolvable
|
Iam
(optional)
An IAM user identity.
user?
Type:
IResolvable
|
User
(optional)
An IAM Identity Center user identity.