Class CfnAccessPolicyMixinProps
Properties for CfnAccessPolicyPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.IoTSiteWise.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnAccessPolicyMixinProps : ICfnAccessPolicyMixinProps
Syntax (vb)
Public Class CfnAccessPolicyMixinProps Implements ICfnAccessPolicyMixinProps
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.Mixins.Preview.AWS.IoTSiteWise.Mixins;
var cfnAccessPolicyMixinProps = new CfnAccessPolicyMixinProps {
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
| CfnAccessPolicyMixinProps() | Properties for CfnAccessPolicyPropsMixin. |
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
CfnAccessPolicyMixinProps()
Properties for CfnAccessPolicyPropsMixin.
public CfnAccessPolicyMixinProps()
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.Mixins.Preview.AWS.IoTSiteWise.Mixins;
var cfnAccessPolicyMixinProps = new CfnAccessPolicyMixinProps {
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.
Type union: either IResolvable or CfnAccessPolicyPropsMixin.IAccessPolicyIdentityProperty
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.
Type union: either IResolvable or CfnAccessPolicyPropsMixin.IAccessPolicyResourceProperty