@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.775Z") @Stability(value=Stable) 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.*;
import software.amazon.awscdk.services.iam.*;
ManagedPolicy managedPolicy;
PolicyDocument policyDocument;
IPrincipal principal;
LazyRoleProps lazyRoleProps = LazyRoleProps.builder()
.assumedBy(principal)
// the properties below are optional
.description("description")
.externalIds(List.of("externalIds"))
.inlinePolicies(Map.of(
"inlinePoliciesKey", policyDocument))
.managedPolicies(List.of(managedPolicy))
.maxSessionDuration(Duration.minutes(30))
.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, getExternalIds, getInlinePolicies, getManagedPolicies, getMaxSessionDuration, getPath, getPermissionsBoundary, getRoleName@Stability(value=Stable) static LazyRoleProps.Builder builder()
builder in interface RolePropsLazyRoleProps.Builder of LazyRolePropsCopyright © 2022. All rights reserved.