Interface CfnProfileProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnProfileProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:49.014Z")
@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 classA builder forCfnProfilePropsstatic final classAn implementation forCfnProfileProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnProfileProps.Builderbuilder()default ObjectUsed to determine if a custom role session name will be accepted in a temporary credential request.default ObjectA mapping applied to the authenticating end-entity certificate.default NumberThe number of seconds vended session credentials will be valid for.default ObjectThe enabled status of the resource.A list of managed policy ARNs.getName()The customer specified name of the resource.default ObjectSpecifies 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 StringA 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.Returns union: either
BooleanorIResolvable- See Also:
-
getAttributeMappings
A mapping applied to the authenticating end-entity certificate.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnProfile.AttributeMappingProperty>- See Also:
-
getDurationSeconds
The number of seconds vended session credentials will be valid for.- See Also:
-
getEnabled
The enabled status of the resource.Returns union: either
BooleanorIResolvable- 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.Returns union: either
BooleanorIResolvable- 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.BuilderofCfnProfileProps
-