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.101.0 (build b95fe5d)", date="2024-07-12T19:34:03.003Z") @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