@Stability(value=Stable) public static final class CfnProfileProps.Builder extends Object implements software.amazon.jsii.Builder<CfnProfileProps>
CfnProfileProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnProfileProps.Builder durationSeconds(Number durationSeconds)
CfnProfileProps.getDurationSeconds()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@Stability(value=Stable) public CfnProfileProps.Builder enabled(Boolean enabled)
CfnProfileProps.getEnabled()enabled - Indicates whether the profile is enabled.this@Stability(value=Stable) public CfnProfileProps.Builder enabled(IResolvable enabled)
CfnProfileProps.getEnabled()enabled - Indicates whether the profile is enabled.this@Stability(value=Stable) public CfnProfileProps.Builder managedPolicyArns(List<String> managedPolicyArns)
CfnProfileProps.getManagedPolicyArns()managedPolicyArns - A list of managed policy ARNs that apply to the vended session credentials.this@Stability(value=Stable) public CfnProfileProps.Builder name(String name)
CfnProfileProps.getName()name - The name of the profile.this@Stability(value=Stable) public CfnProfileProps.Builder requireInstanceProperties(Boolean requireInstanceProperties)
CfnProfileProps.getRequireInstanceProperties()requireInstanceProperties - Specifies whether instance properties are required in temporary credential requests with this profile.this@Stability(value=Stable) public CfnProfileProps.Builder requireInstanceProperties(IResolvable requireInstanceProperties)
CfnProfileProps.getRequireInstanceProperties()requireInstanceProperties - Specifies whether instance properties are required in temporary credential requests with this profile.this@Stability(value=Stable) public CfnProfileProps.Builder roleArns(List<String> roleArns)
CfnProfileProps.getRoleArns()roleArns - A list of IAM role ARNs.
During CreateSession , if a matching role ARN is provided, the properties in this profile will be applied to the intersection session policy.this@Stability(value=Stable) public CfnProfileProps.Builder sessionPolicy(String sessionPolicy)
CfnProfileProps.getSessionPolicy()sessionPolicy - A session policy that applies to the trust boundary of the vended session credentials.this@Stability(value=Stable) public CfnProfileProps.Builder tags(List<? extends CfnTag> tags)
CfnProfileProps.getTags()tags - A list of tags to attach to the profile.this@Stability(value=Stable) public CfnProfileProps build()
build in interface software.amazon.jsii.Builder<CfnProfileProps>CfnProfilePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.