@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:22.840Z") @Stability(value=Stable) public class OrganizationPrincipal extends PrincipalBase
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");
software.amazon.jsii.JsiiObject.InitializationModeIAssumeRolePrincipal.Jsii$Default| Modifier | Constructor and Description |
|---|---|
protected |
OrganizationPrincipal(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
OrganizationPrincipal(software.amazon.jsii.JsiiObjectRef objRef) |
|
OrganizationPrincipal(String organizationId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getOrganizationId()
The unique identifier (ID) of an organization (i.e.
|
PrincipalPolicyFragment |
getPolicyFragment()
Return the policy fragment that identifies this principal in a Policy.
|
String |
toString()
Returns a string representation of an object.
|
addToAssumeRolePolicy, addToPolicy, addToPrincipalPolicy, getAssumeRoleAction, getGrantPrincipal, getPrincipalAccount, toJSON, withConditions, withSessionTagsjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected OrganizationPrincipal(software.amazon.jsii.JsiiObjectRef objRef)
protected OrganizationPrincipal(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public OrganizationPrincipal(@NotNull
String organizationId)
organizationId - The unique identifier (ID) of an organization (i.e. o-12345abcde). This parameter is required.@Stability(value=Stable) @NotNull public String toString()
toString in class PrincipalBase@Stability(value=Stable) @NotNull public String getOrganizationId()
@Stability(value=Stable) @NotNull public PrincipalPolicyFragment getPolicyFragment()
getPolicyFragment in interface IPrincipalgetPolicyFragment in class PrincipalBaseCopyright © 2022. All rights reserved.