CfnOrganizationPropsMixin Mixin
Creates an AWS organization.
The account whose user is calling the CreateOrganization operation automatically becomes the management account of the new organization.
This operation must be called using credentials from the account that is to become the new organization's management account. The principal must also have the relevant IAM permissions .
- If you delete an organization, you can't recover it. If you created any policies inside of the organization, they're also deleted and you can't recover them.
- You can delete an organization only after you remove all member accounts from the organization. If you created some of your member accounts using AWS Organizations , you might be blocked from removing those accounts. You can remove a member account only if it has all the information that's required to operate as a standalone AWS account. For more information about how to provide that information and then remove the account, see Leave an organization from your member account in the AWS Organizations User Guide .
- If you closed a member account before you remove it from the organization, it enters a 'suspended' state for a period of time and you can't remove the account from the organization until it is finally closed. This can take up to 90 days and can prevent you from deleting the organization until all member accounts are completely closed.
For more information, see Deleting an organization in the AWS Organizations User Guide .
Initializer
ts
new CfnOrganizationPropsMixin(props: CfnOrganizationMixinProps, options?: CfnPropertyMixinOptions)
python
CfnOrganizationPropsMixin(props: CfnOrganizationMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnOrganizationPropsMixin(CfnOrganizationMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnOrganizationPropsMixin(CfnOrganizationMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnOrganizationPropsMixin(Props CfnOrganizationMixinProps, Options CfnPropertyMixinOptions)
Methods
applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#Checks if `x` is a Mixin.
1 parameter · returns
Parameters
xxxxX— Any object.
Returns: true if x is an object created from a class which extends Mixin.
supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#Check if this mixin supports the given construct.