Interface LazyRoleProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, RoleProps
All Known Implementing Classes:
LazyRoleProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:57.327Z") @Stability(Stable) public interface LazyRoleProps extends software.amazon.jsii.JsiiSerializable, RoleProps
Properties for defining a LazyRole.

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();