@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.031Z") @Stability(value=Stable) public interface CfnAccessPolicyProps extends software.amazon.jsii.JsiiSerializable
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() |
Object |
getAccessPolicyIdentity()
The identity for this access policy.
|
String |
getAccessPolicyPermission()
The permission level for this access policy.
|
Object |
getAccessPolicyResource()
The AWS IoT SiteWise Monitor resource for this access policy.
|
@Stability(value=Stable) @NotNull Object getAccessPolicyIdentity()
Choose an AWS SSO user, an AWS SSO group, or an IAM user.
@Stability(value=Stable) @NotNull String getAccessPolicyPermission()
Choose either a ADMINISTRATOR or VIEWER . Note that a project ADMINISTRATOR is also known as a project owner.
@Stability(value=Stable) @NotNull Object getAccessPolicyResource()
Choose either a portal or a project.
@Stability(value=Stable) static CfnAccessPolicyProps.Builder builder()
CfnAccessPolicyProps.Builder of CfnAccessPolicyPropsCopyright © 2022. All rights reserved.