Class OrganizationPrincipal

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:57.350Z") @Stability(Stable) public class OrganizationPrincipal extends PrincipalBase
A principal that represents an AWS Organization.

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.*;
 OrganizationPrincipal organizationPrincipal = new OrganizationPrincipal("organizationId");
 
  • Constructor Details

    • OrganizationPrincipal

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

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

      @Stability(Stable) public OrganizationPrincipal(@NotNull String organizationId)
      Parameters:
      organizationId - The unique identifier (ID) of an organization (i.e. o-12345abcde). This parameter is required.
  • Method Details