@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:50.121Z") @Stability(value=Experimental) public interface LazyRoleProps extends software.amazon.jsii.JsiiSerializable, RoleProps
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.core.*;
import software.amazon.awscdk.services.iam.*;
Duration duration;
ManagedPolicy managedPolicy;
PolicyDocument policyDocument;
IPrincipal principal;
LazyRoleProps lazyRoleProps = LazyRoleProps.builder()
.assumedBy(principal)
// the properties below are optional
.description("description")
.externalId("externalId")
.externalIds(List.of("externalIds"))
.inlinePolicies(Map.of(
"inlinePoliciesKey", policyDocument))
.managedPolicies(List.of(managedPolicy))
.maxSessionDuration(duration)
.path("path")
.permissionsBoundary(managedPolicy)
.roleName("roleName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
LazyRoleProps.Builder
A builder for
LazyRoleProps |
static class |
LazyRoleProps.Jsii$Proxy
An implementation for
LazyRoleProps |
| Modifier and Type | Method and Description |
|---|---|
static LazyRoleProps.Builder |
builder() |
getAssumedBy, getDescription, getExternalId, getExternalIds, getInlinePolicies, getManagedPolicies, getMaxSessionDuration, getPath, getPermissionsBoundary, getRoleName@Stability(value=Experimental) static LazyRoleProps.Builder builder()
builder in interface RolePropsLazyRoleProps.Builder of LazyRolePropsCopyright © 2022. All rights reserved.