@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:37.041Z")
public interface CfnAccessPolicyProps
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.iotsitewise.*; CfnAccessPolicyProps cfnAccessPolicyProps = CfnAccessPolicyProps.builder() .accessPolicyIdentity(AccessPolicyIdentityProperty.builder() .iamRole(IamRoleProperty.builder() .arn("arn") .build()) .iamUser(IamUserProperty.builder() .arn("arn") .build()) .user(UserProperty.builder() .id("id") .build()) .build()) .accessPolicyPermission("accessPolicyPermission") .accessPolicyResource(AccessPolicyResourceProperty.builder() .portal(PortalProperty.builder() .id("id") .build()) .project(ProjectProperty.builder() .id("id") .build()) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnAccessPolicyProps.Builder
A builder for
CfnAccessPolicyProps |
static class |
CfnAccessPolicyProps.Jsii$Proxy
An implementation for
CfnAccessPolicyProps |
Modifier and Type | Method and Description |
---|---|
static CfnAccessPolicyProps.Builder |
builder() |
java.lang.Object |
getAccessPolicyIdentity()
The identity for this access policy.
|
java.lang.String |
getAccessPolicyPermission()
The permission level for this access policy.
|
java.lang.Object |
getAccessPolicyResource()
The AWS IoT SiteWise Monitor resource for this access policy.
|
java.lang.Object getAccessPolicyIdentity()
Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.
java.lang.String getAccessPolicyPermission()
Choose either a ADMINISTRATOR
or VIEWER
. Note that a project ADMINISTRATOR
is also known as a project owner.
java.lang.Object getAccessPolicyResource()
Choose either a portal or a project.
static CfnAccessPolicyProps.Builder builder()
CfnAccessPolicyProps.Builder
of CfnAccessPolicyProps