Interface FromRoleNameOptions
- All Superinterfaces:
FromRoleArnOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FromRoleNameOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:02.766Z")
@Stability(Stable)
public interface FromRoleNameOptions
extends software.amazon.jsii.JsiiSerializable, FromRoleArnOptions
Options allowing customizing the behavior of
Role.fromRoleName
.
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.*; FromRoleNameOptions fromRoleNameOptions = FromRoleNameOptions.builder() .addGrantsToResources(false) .defaultPolicyName("defaultPolicyName") .mutable(false) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forFromRoleNameOptions
static final class
An implementation forFromRoleNameOptions
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.iam.FromRoleArnOptions
getAddGrantsToResources, getDefaultPolicyName, getMutable
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
builder
- Returns:
- a
FromRoleNameOptions.Builder
ofFromRoleNameOptions
-