@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:37.868Z") @Stability(value=Stable) public interface CfnProfileProps extends software.amazon.jsii.JsiiSerializable
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()
.durationSeconds(123)
.enabled(false)
.managedPolicyArns(List.of("managedPolicyArns"))
.name("name")
.requireInstanceProperties(false)
.roleArns(List.of("roleArns"))
.sessionPolicy("sessionPolicy")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnProfileProps.Builder
A builder for
CfnProfileProps |
static class |
CfnProfileProps.Jsii$Proxy
An implementation for
CfnProfileProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnProfileProps.Builder |
builder() |
default Number |
getDurationSeconds()
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.
|
default Object |
getEnabled()
Indicates whether the profile is enabled.
|
default List<String> |
getManagedPolicyArns()
A list of managed policy ARNs that apply to the vended session credentials.
|
default String |
getName()
The name of the profile.
|
default Object |
getRequireInstanceProperties()
Specifies whether instance properties are required in temporary credential requests with this profile.
|
default List<String> |
getRoleArns()
A list of IAM role ARNs.
|
default String |
getSessionPolicy()
A session policy that applies to the trust boundary of the vended session credentials.
|
default List<CfnTag> |
getTags()
A list of tags to attach to the profile.
|
@Stability(value=Stable) @Nullable default Number getDurationSeconds()
@Stability(value=Stable) @Nullable default Object getEnabled()
@Stability(value=Stable) @Nullable default List<String> getManagedPolicyArns()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default Object getRequireInstanceProperties()
@Stability(value=Stable) @Nullable default List<String> getRoleArns()
During CreateSession , if a matching role ARN is provided, the properties in this profile will be applied to the intersection session policy.
@Stability(value=Stable) @Nullable default String getSessionPolicy()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnProfileProps.Builder builder()
CfnProfileProps.Builder of CfnProfilePropsCopyright © 2022. All rights reserved.