Show / Hide Table of Contents

Class CfnAccessPolicyProps

Properties for defining a CfnAccessPolicy.

Inheritance
object
CfnAccessPolicyProps
Implements
ICfnAccessPolicyProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.IoTSiteWise
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAccessPolicyProps : ICfnAccessPolicyProps
Syntax (vb)
Public Class CfnAccessPolicyProps Implements ICfnAccessPolicyProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-accesspolicy.html

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 CfnAccessPolicy.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-accesspolicy.html

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

object

Remarks

Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-accesspolicy.html#cfn-iotsitewise-accesspolicy-accesspolicyidentity

AccessPolicyPermission

The permission level for this access policy.

public string AccessPolicyPermission { get; set; }
Property Value

string

Remarks

Note that a project ADMINISTRATOR is also known as a project owner.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-accesspolicy.html#cfn-iotsitewise-accesspolicy-accesspolicypermission

AccessPolicyResource

The AWS IoT SiteWise Monitor resource for this access policy.

public object AccessPolicyResource { get; set; }
Property Value

object

Remarks

Choose either a portal or a project.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-accesspolicy.html#cfn-iotsitewise-accesspolicy-accesspolicyresource

Implements

ICfnAccessPolicyProps
Back to top Generated by DocFX