Class CfnProfile
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.rolesanywhere.CfnProfile
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:26.190Z")
@Stability(Stable)
public class CfnProfile
extends CfnResource
implements IInspectable, ITaggable
Creates a Profile.
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.*; CfnProfile cfnProfile = CfnProfile.Builder.create(this, "MyCfnProfile") .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
Modifier and TypeClassDescriptionstatic interface
A mapping applied to the authenticating end-entity certificate.static final class
A fluent builder forCfnProfile
.static interface
A single mapping entry for each supported specifier or sub-field.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnProfile
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnProfile
(software.amazon.jsii.JsiiObjectRef objRef) CfnProfile
(software.constructs.Construct scope, String id, CfnProfileProps props) -
Method Summary
Modifier and TypeMethodDescriptionUsed to determine if a custom role session name will be accepted in a temporary credential request.A mapping applied to the authenticating end-entity certificate.The ARN of the profile.The unique primary identifier of the Profile.The number of seconds vended session credentials will be valid for.The enabled status of the resource.A list of managed policy ARNs.getName()
The customer specified name of the resource.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.A session policy that will applied to the trust boundary of the vended session credentials.getTags()
Tag Manager which manages the tags for this resource.A list of Tags.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAcceptRoleSessionName
(Boolean value) Used to determine if a custom role session name will be accepted in a temporary credential request.void
Used to determine if a custom role session name will be accepted in a temporary credential request.void
setAttributeMappings
(List<Object> value) A mapping applied to the authenticating end-entity certificate.void
setAttributeMappings
(IResolvable value) A mapping applied to the authenticating end-entity certificate.void
setDurationSeconds
(Number value) The number of seconds vended session credentials will be valid for.void
setEnabled
(Boolean value) The enabled status of the resource.void
setEnabled
(IResolvable value) The enabled status of the resource.void
setManagedPolicyArns
(List<String> value) A list of managed policy ARNs.void
The customer specified name of the resource.void
Specifies whether instance properties are required in CreateSession requests with this profile.void
Specifies whether instance properties are required in CreateSession requests with this profile.void
setRoleArns
(List<String> value) A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.void
setSessionPolicy
(String value) A session policy that will applied to the trust boundary of the vended session credentials.void
setTagsRaw
(List<CfnTag> value) A list of Tags.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnProfile
protected CfnProfile(software.amazon.jsii.JsiiObjectRef objRef) -
CfnProfile
protected CfnProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnProfile
@Stability(Stable) public CfnProfile(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnProfileProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrProfileArn
The ARN of the profile. -
getAttrProfileId
The unique primary identifier of the Profile. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getName
The customer specified name of the resource. -
setName
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. -
setRoleArns
A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request. -
getAcceptRoleSessionName
Used to determine if a custom role session name will be accepted in a temporary credential request. -
setAcceptRoleSessionName
Used to determine if a custom role session name will be accepted in a temporary credential request. -
setAcceptRoleSessionName
Used to determine if a custom role session name will be accepted in a temporary credential request. -
getAttributeMappings
A mapping applied to the authenticating end-entity certificate. -
setAttributeMappings
A mapping applied to the authenticating end-entity certificate. -
setAttributeMappings
A mapping applied to the authenticating end-entity certificate. -
getDurationSeconds
The number of seconds vended session credentials will be valid for. -
setDurationSeconds
The number of seconds vended session credentials will be valid for. -
getEnabled
The enabled status of the resource. -
setEnabled
The enabled status of the resource. -
setEnabled
The enabled status of the resource. -
getManagedPolicyArns
A list of managed policy ARNs. -
setManagedPolicyArns
A list of managed policy ARNs. -
getRequireInstanceProperties
Specifies whether instance properties are required in CreateSession requests with this profile. -
setRequireInstanceProperties
Specifies whether instance properties are required in CreateSession requests with this profile. -
setRequireInstanceProperties
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. -
setSessionPolicy
A session policy that will applied to the trust boundary of the vended session credentials. -
getTagsRaw
A list of Tags. -
setTagsRaw
A list of Tags.
-