Class SamlPrincipal
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iam.PrincipalBase
software.amazon.awscdk.services.iam.FederatedPrincipal
software.amazon.awscdk.services.iam.SamlPrincipal
- All Implemented Interfaces:
IAssumeRolePrincipal
,IComparablePrincipal
,IGrantable
,IPrincipal
,software.amazon.jsii.JsiiSerializable
- Direct Known Subclasses:
SamlConsolePrincipal
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:57.372Z")
@Stability(Stable)
public class SamlPrincipal
extends FederatedPrincipal
Principal entity that represents a SAML federated identity provider.
Example:
SamlProvider provider = SamlProvider.Builder.create(this, "Provider") .metadataDocument(SamlMetadataDocument.fromFile("/path/to/saml-metadata-document.xml")) .build(); SamlPrincipal principal = new SamlPrincipal(provider, Map.of( "StringEquals", Map.of( "SAML:iss", "issuer")));
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IAssumeRolePrincipal
IAssumeRolePrincipal.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IComparablePrincipal
IComparablePrincipal.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionSamlPrincipal
(ISamlProvider samlProvider, Map<String, Object> conditions) protected
SamlPrincipal
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
SamlPrincipal
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class software.amazon.awscdk.services.iam.FederatedPrincipal
dedupeString, getAssumeRoleAction, getConditions, getFederated, getPolicyFragment
Methods inherited from class software.amazon.awscdk.services.iam.PrincipalBase
addToAssumeRolePolicy, addToPolicy, addToPrincipalPolicy, getGrantPrincipal, getPrincipalAccount, toJSON, withConditions, withSessionTags
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
-
Constructor Details
-
SamlPrincipal
protected SamlPrincipal(software.amazon.jsii.JsiiObjectRef objRef) -
SamlPrincipal
protected SamlPrincipal(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
SamlPrincipal
@Stability(Stable) public SamlPrincipal(@NotNull ISamlProvider samlProvider, @NotNull Map<String, Object> conditions) - Parameters:
samlProvider
- This parameter is required.conditions
- This parameter is required.
-
-
Method Details
-
toString
Returns a string representation of an object.- Overrides:
toString
in classFederatedPrincipal
-