interface CfnAccessPolicyProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoTSiteWise.CfnAccessPolicyProps |
Java | software.amazon.awscdk.services.iotsitewise.CfnAccessPolicyProps |
Python | aws_cdk.aws_iotsitewise.CfnAccessPolicyProps |
TypeScript | @aws-cdk/aws-iotsitewise » CfnAccessPolicyProps |
Properties for defining a CfnAccessPolicy
.
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 cfnAccessPolicyProps: iotsitewise.CfnAccessPolicyProps = {
accessPolicyIdentity: {
iamRole: {
arn: 'arn',
},
iamUser: {
arn: 'arn',
},
user: {
id: 'id',
},
},
accessPolicyPermission: 'accessPolicyPermission',
accessPolicyResource: {
portal: {
id: 'id',
},
project: {
id: 'id',
},
},
};
Properties
Name | Type | Description |
---|---|---|
access | Access | IResolvable | The identity for this access policy. |
access | string | The permission level for this access policy. |
access | IResolvable | Access | The AWS IoT SiteWise Monitor resource for this access policy. |
accessPolicyIdentity
Type:
Access
|
IResolvable
The identity for this access policy.
Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.
accessPolicyPermission
Type:
string
The permission level for this access policy.
Choose either a ADMINISTRATOR
or VIEWER
. Note that a project ADMINISTRATOR
is also known as a project owner.
accessPolicyResource
Type:
IResolvable
|
Access
The AWS IoT SiteWise Monitor resource for this access policy.
Choose either a portal or a project.