@Stability(value=Stable)
public static interface CfnAccessPolicy.AccessPolicyIdentityProperty
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.*;
AccessPolicyIdentityProperty accessPolicyIdentityProperty = AccessPolicyIdentityProperty.builder()
.iamRole(IamRoleProperty.builder()
.arn("arn")
.build())
.iamUser(IamUserProperty.builder()
.arn("arn")
.build())
.user(UserProperty.builder()
.id("id")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAccessPolicy.AccessPolicyIdentityProperty.Builder
A builder for
CfnAccessPolicy.AccessPolicyIdentityProperty |
static class |
CfnAccessPolicy.AccessPolicyIdentityProperty.Jsii$Proxy
An implementation for
CfnAccessPolicy.AccessPolicyIdentityProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnAccessPolicy.AccessPolicyIdentityProperty.Builder |
builder() |
default Object |
getIamRole()
An IAM role identity.
|
default Object |
getIamUser()
An IAM user identity.
|
default Object |
getUser()
The AWS SSO user to which this access policy maps.
|
@Stability(value=Stable) @Nullable default Object getIamRole()
@Stability(value=Stable) @Nullable default Object getIamUser()
@Stability(value=Stable) @Nullable default Object getUser()
@Stability(value=Stable) static CfnAccessPolicy.AccessPolicyIdentityProperty.Builder builder()
Copyright © 2022. All rights reserved.