Interface CfnProfileProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnProfileProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:35.019Z")
@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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnProfileProps
static final class
An implementation forCfnProfileProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnProfileProps.Builder
builder()
default Number
The number of seconds vended session credentials will be valid for.default Object
The enabled status of the resource.A list of managed policy ARNs.getName()
The customer specified name of the resource.default Object
Specifies whether instance properties are required in CreateSession requests with this profile.A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.default String
A session policy that will applied to the trust boundary of the vended session credentials.getTags()
A list of Tags.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The customer specified name of the resource. -
getRoleArns
A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request. -
getDurationSeconds
The number of seconds vended session credentials will be valid for. -
getEnabled
The enabled status of the resource. -
getManagedPolicyArns
A list of managed policy ARNs.Managed policies identified by this list will be applied to the vended session credentials.
-
getRequireInstanceProperties
Specifies whether instance properties are required in CreateSession requests with this profile. -
getSessionPolicy
A session policy that will applied to the trust boundary of the vended session credentials. -
getTags
A list of Tags. -
builder
- Returns:
- a
CfnProfileProps.Builder
ofCfnProfileProps
-