Interface CfnProfileProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnProfileProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)",
date="2024-01-03T18:29:31.850Z")
@Stability(Stable)
public interface CfnProfileProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnProfile.
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.rolesanywhere.*;
CfnProfileProps cfnProfileProps = CfnProfileProps.builder()
.name("name")
.roleArns(List.of("roleArns"))
// the properties below are optional
.durationSeconds(123)
.enabled(false)
.managedPolicyArns(List.of("managedPolicyArns"))
.requireInstanceProperties(false)
.sessionPolicy("sessionPolicy")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnProfilePropsstatic final classAn implementation forCfnProfileProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnProfileProps.Builderbuilder()default NumberSets the maximum number of seconds that vended temporary credentials through CreateSession will be valid for, between 900 and 3600.default ObjectIndicates whether the profile is enabled.A list of managed policy ARNs that apply to the vended session credentials.getName()The name of the profile.default ObjectSpecifies whether instance properties are required in temporary credential requests with this profile.A list of IAM role ARNs.default StringA session policy that applies to the trust boundary of the vended session credentials.getTags()The tags to attach to the profile.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the profile.- See Also:
-
getRoleArns
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.- See Also:
-
getDurationSeconds
Sets the maximum number of seconds that vended temporary credentials through CreateSession will be valid for, between 900 and 3600.- See Also:
-
getEnabled
Indicates whether the profile is enabled.- See Also:
-
getManagedPolicyArns
A list of managed policy ARNs that apply to the vended session credentials.- See Also:
-
getRequireInstanceProperties
Specifies whether instance properties are required in temporary credential requests with this profile.- See Also:
-
getSessionPolicy
A session policy that applies to the trust boundary of the vended session credentials.- See Also:
-
getTags
The tags to attach to the profile.- See Also:
-
builder
- Returns:
- a
CfnProfileProps.BuilderofCfnProfileProps
-