Package software.amazon.awscdk
Interface RoleOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
RoleOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)",
date="2024-05-08T21:35:01.649Z")
@Stability(Stable)
public interface RoleOptions
extends software.amazon.jsii.JsiiSerializable
Options for specifying a role.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; RoleOptions roleOptions = RoleOptions.builder() .assumeRoleArn("assumeRoleArn") // the properties below are optional .assumeRoleExternalId("assumeRoleExternalId") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forRoleOptions
static final class
An implementation forRoleOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic RoleOptions.Builder
builder()
ARN of the role to assume.default String
External ID to use when assuming the role.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssumeRoleArn
ARN of the role to assume. -
getAssumeRoleExternalId
External ID to use when assuming the role.Default: - No external ID
-
builder
- Returns:
- a
RoleOptions.Builder
ofRoleOptions
-