Interface CfnAccessPolicyMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAccessPolicyMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-02T21:55:28.663Z")
@Stability(Stable)
public interface CfnAccessPolicyMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnAccessPolicyPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.iotsitewise.*;
CfnAccessPolicyMixinProps cfnAccessPolicyMixinProps = CfnAccessPolicyMixinProps.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAccessPolicyMixinPropsstatic final classAn implementation forCfnAccessPolicyMixinProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessPolicyIdentity
The identity for this access policy.Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.
Returns union: either
IResolvableorCfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty- See Also:
-
getAccessPolicyPermission
The permission level for this access policy.Note that a project
ADMINISTRATORis also known as a project owner.- See Also:
-
getAccessPolicyResource
The AWS IoT SiteWise Monitor resource for this access policy.Choose either a portal or a project.
Returns union: either
IResolvableorCfnAccessPolicyPropsMixin.AccessPolicyResourceProperty- See Also:
-
builder
- Returns:
- a
CfnAccessPolicyMixinProps.BuilderofCfnAccessPolicyMixinProps
-