@Stability(value=Stable) public static final class CfnProfile.Builder extends Object implements software.amazon.jsii.Builder<CfnProfile>
CfnProfile.| Modifier and Type | Method and Description |
|---|---|
CfnProfile |
build() |
static CfnProfile.Builder |
create(Construct scope,
String id) |
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 |
enabled(Boolean enabled)
Indicates whether the profile is enabled.
|
CfnProfile.Builder |
enabled(IResolvable enabled)
Indicates whether the profile is enabled.
|
CfnProfile.Builder |
managedPolicyArns(List<String> managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
|
CfnProfile.Builder |
name(String name)
The name of the profile.
|
CfnProfile.Builder |
requireInstanceProperties(Boolean requireInstanceProperties)
Specifies whether instance properties are required in temporary credential requests with this profile.
|
CfnProfile.Builder |
requireInstanceProperties(IResolvable requireInstanceProperties)
Specifies whether instance properties are required in temporary credential requests with this profile.
|
CfnProfile.Builder |
roleArns(List<String> roleArns)
A list of IAM role ARNs.
|
CfnProfile.Builder |
sessionPolicy(String sessionPolicy)
A session policy that applies to the trust boundary of the vended session credentials.
|
CfnProfile.Builder |
tags(List<? extends CfnTag> tags)
A list of tags to attach to the profile.
|
@Stability(value=Stable) public static CfnProfile.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnProfile.Builder.@Stability(value=Stable) public CfnProfile.Builder durationSeconds(Number durationSeconds)
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. This parameter is required.this@Stability(value=Stable) public CfnProfile.Builder enabled(Boolean enabled)
enabled - Indicates whether the profile is enabled. This parameter is required.this@Stability(value=Stable) public CfnProfile.Builder enabled(IResolvable enabled)
enabled - Indicates whether the profile is enabled. This parameter is required.this@Stability(value=Stable) public CfnProfile.Builder managedPolicyArns(List<String> managedPolicyArns)
managedPolicyArns - A list of managed policy ARNs that apply to the vended session credentials. This parameter is required.this@Stability(value=Stable) public CfnProfile.Builder name(String name)
name - The name of the profile. This parameter is required.this@Stability(value=Stable) public CfnProfile.Builder requireInstanceProperties(Boolean requireInstanceProperties)
requireInstanceProperties - Specifies whether instance properties are required in temporary credential requests with this profile. This parameter is required.this@Stability(value=Stable) public CfnProfile.Builder requireInstanceProperties(IResolvable requireInstanceProperties)
requireInstanceProperties - Specifies whether instance properties are required in temporary credential requests with this profile. This parameter is required.this@Stability(value=Stable) public CfnProfile.Builder roleArns(List<String> roleArns)
During CreateSession , if a matching role ARN is provided, the properties in this profile will be applied to the intersection session policy.
roleArns - A list of IAM role ARNs. This parameter is required.this@Stability(value=Stable) public CfnProfile.Builder sessionPolicy(String sessionPolicy)
sessionPolicy - A session policy that applies to the trust boundary of the vended session credentials. This parameter is required.this@Stability(value=Stable) public CfnProfile.Builder tags(List<? extends CfnTag> tags)
tags - A list of tags to attach to the profile. This parameter is required.this@Stability(value=Stable) public CfnProfile build()
build in interface software.amazon.jsii.Builder<CfnProfile>Copyright © 2022. All rights reserved.