Class CfnAccessPolicyProps
Properties for defining a CfnAccessPolicy
.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.IoTSiteWise
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAccessPolicyProps : ICfnAccessPolicyProps
Syntax (vb)
Public Class CfnAccessPolicyProps Implements ICfnAccessPolicyProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTSiteWise;
var cfnAccessPolicyProps = new CfnAccessPolicyProps {
AccessPolicyIdentity = new AccessPolicyIdentityProperty {
IamRole = new IamRoleProperty {
Arn = "arn"
},
IamUser = new IamUserProperty {
Arn = "arn"
},
User = new UserProperty {
Id = "id"
}
},
AccessPolicyPermission = "accessPolicyPermission",
AccessPolicyResource = new AccessPolicyResourceProperty {
Portal = new PortalProperty {
Id = "id"
},
Project = new ProjectProperty {
Id = "id"
}
}
};
Synopsis
Constructors
CfnAccessPolicyProps() | Properties for defining a |
Properties
AccessPolicyIdentity | The identity for this access policy. |
AccessPolicyPermission | The permission level for this access policy. |
AccessPolicyResource | The AWS IoT SiteWise Monitor resource for this access policy. |
Constructors
CfnAccessPolicyProps()
Properties for defining a CfnAccessPolicy
.
public CfnAccessPolicyProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTSiteWise;
var cfnAccessPolicyProps = new CfnAccessPolicyProps {
AccessPolicyIdentity = new AccessPolicyIdentityProperty {
IamRole = new IamRoleProperty {
Arn = "arn"
},
IamUser = new IamUserProperty {
Arn = "arn"
},
User = new UserProperty {
Id = "id"
}
},
AccessPolicyPermission = "accessPolicyPermission",
AccessPolicyResource = new AccessPolicyResourceProperty {
Portal = new PortalProperty {
Id = "id"
},
Project = new ProjectProperty {
Id = "id"
}
}
};
Properties
AccessPolicyIdentity
The identity for this access policy.
public object AccessPolicyIdentity { get; set; }
Property Value
Remarks
Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.
AccessPolicyPermission
The permission level for this access policy.
public string AccessPolicyPermission { get; set; }
Property Value
Remarks
Note that a project ADMINISTRATOR
is also known as a project owner.
AccessPolicyResource
The AWS IoT SiteWise Monitor resource for this access policy.
public object AccessPolicyResource { get; set; }
Property Value
Remarks
Choose either a portal or a project.