| Modifier and Type | Method and Description |
|---|---|
static CfnProfile.Builder |
CfnProfile.Builder.create(Construct scope,
String id) |
CfnProfile.Builder |
CfnProfile.Builder.durationSeconds(Number durationSeconds)
Sets the maximum number of seconds that vended temporary credentials through [CreateSession](https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html) will be valid for, between 900 and 3600.
|
CfnProfile.Builder |
CfnProfile.Builder.enabled(Boolean enabled)
Indicates whether the profile is enabled.
|
CfnProfile.Builder |
CfnProfile.Builder.enabled(IResolvable enabled)
Indicates whether the profile is enabled.
|
CfnProfile.Builder |
CfnProfile.Builder.managedPolicyArns(List<String> managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
|
CfnProfile.Builder |
CfnProfile.Builder.name(String name)
The name of the profile.
|
CfnProfile.Builder |
CfnProfile.Builder.requireInstanceProperties(Boolean requireInstanceProperties)
Specifies whether instance properties are required in temporary credential requests with this profile.
|
CfnProfile.Builder |
CfnProfile.Builder.requireInstanceProperties(IResolvable requireInstanceProperties)
Specifies whether instance properties are required in temporary credential requests with this profile.
|
CfnProfile.Builder |
CfnProfile.Builder.roleArns(List<String> roleArns)
A list of IAM role ARNs.
|
CfnProfile.Builder |
CfnProfile.Builder.sessionPolicy(String sessionPolicy)
A session policy that applies to the trust boundary of the vended session credentials.
|
CfnProfile.Builder |
CfnProfile.Builder.tags(List<? extends CfnTag> tags)
A list of tags to attach to the profile.
|
Copyright © 2022. All rights reserved.