@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-02T20:25:25.860Z") public interface LazyRoleProps extends 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.services.iam.*; import software.amazon.awscdk.core.*; 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.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, getExternalId, getExternalIds, getInlinePolicies, getManagedPolicies, getMaxSessionDuration, getPath, getPermissionsBoundary, getRoleName
static LazyRoleProps.Builder builder()
builder
in interface RoleProps
LazyRoleProps.Builder
of LazyRoleProps