Interface CfnProfileProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnProfileProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:22.689Z")
@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 .acceptRoleSessionName(false) .attributeMappings(List.of(AttributeMappingProperty.builder() .certificateField("certificateField") .mappingRules(List.of(MappingRuleProperty.builder() .specifier("specifier") .build())) .build())) .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 class
A builder forCfnProfileProps
static final class
An implementation forCfnProfileProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnProfileProps.Builder
builder()
default Object
Used to determine if a custom role session name will be accepted in a temporary credential request.default Object
A mapping applied to the authenticating end-entity certificate.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.- See Also:
-
getRoleArns
A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.- See Also:
-
getAcceptRoleSessionName
Used to determine if a custom role session name will be accepted in a temporary credential request.- See Also:
-
getAttributeMappings
A mapping applied to the authenticating end-entity certificate.- See Also:
-
getDurationSeconds
The number of seconds vended session credentials will be valid for.- See Also:
-
getEnabled
The enabled status of the resource.- See Also:
-
getManagedPolicyArns
A list of managed policy ARNs.Managed policies identified by this list will be applied to the vended session credentials.
- See Also:
-
getRequireInstanceProperties
Specifies whether instance properties are required in CreateSession requests with this profile.- See Also:
-
getSessionPolicy
A session policy that will applied to the trust boundary of the vended session credentials.- See Also:
-
getTags
A list of Tags.- See Also:
-
builder
- Returns:
- a
CfnProfileProps.Builder
ofCfnProfileProps
-