Class SessionTagsPrincipal

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iam.PrincipalBase
software.amazon.awscdk.services.iam.SessionTagsPrincipal
All Implemented Interfaces:
IAssumeRolePrincipal, IComparablePrincipal, IGrantable, IPrincipal, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-27T16:50:58.712Z") @Stability(Stable) public class SessionTagsPrincipal extends PrincipalBase
Enables session tags on role assumptions from a principal.

For more information on session tags, see: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html

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.iam.*;
 IPrincipal principal;
 SessionTagsPrincipal sessionTagsPrincipal = new SessionTagsPrincipal(principal);
 
  • Constructor Details

    • SessionTagsPrincipal

      protected SessionTagsPrincipal(software.amazon.jsii.JsiiObjectRef objRef)
    • SessionTagsPrincipal

      protected SessionTagsPrincipal(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • SessionTagsPrincipal

      @Stability(Stable) public SessionTagsPrincipal(@NotNull IPrincipal principal)
      Parameters:
      principal - This parameter is required.
  • Method Details