interface CfnAccessPolicyProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoTSiteWise.CfnAccessPolicyProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiotsitewise#CfnAccessPolicyProps |
Java | software.amazon.awscdk.services.iotsitewise.CfnAccessPolicyProps |
Python | aws_cdk.aws_iotsitewise.CfnAccessPolicyProps |
TypeScript | aws-cdk-lib » 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 { aws_iotsitewise as iotsitewise } from 'aws-cdk-lib';
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 | IResolvable | Access | 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:
IResolvable
|
Access
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.
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.