OrganizationState class
Input properties used for looking up and filtering Organization resources.
Constructors
-
OrganizationState({Input<
List< ? accounts, Input<OrganizationAccount> ?>String?> ? arn, Input<List< ? awsServiceAccessPrincipals, Input<String> ?>List< ? enabledPolicyTypes, Input<String> ?>String?> ? featureSet, Input<String?> ? masterAccountArn, Input<String?> ? masterAccountEmail, Input<String?> ? masterAccountId, Input<String?> ? masterAccountName, Input<List< ? nonMasterAccounts, Input<OrganizationNonMasterAccount> ?>bool?> ? returnOrganizationOnly, Input<List< ? roots})OrganizationRoot> ?> -
Creates a new OrganizationState.
accountsList of organization accounts including the master account. For a list excluding the master account, see thenonMasterAccountsattribute. All elements have these attributes:arnARN of the root.awsServiceAccessPrincipalsList of AWS service principal names for which you want to enable integration with your organization. This is typically in the form of a URL, such as service-abbreviation.amazonaws.com. Organization must havefeatureSetset toALL. Some services do not support enablement via this endpoint, see warning in aws docs.enabledPolicyTypesList of Organizations policy types to enable in the Organization Root. Organization must havefeatureSetset toALL. For additional information about valid policy types (e.g.,AISERVICES_OPT_OUT_POLICY,BACKUP_POLICY,BEDROCK_POLICY,CHATBOT_POLICY,DECLARATIVE_POLICY_EC2,INSPECTOR_POLICY,RESOURCE_CONTROL_POLICY,S3_POLICY,SECURITYHUB_POLICY,SERVICE_CONTROL_POLICY,TAG_POLICYandUPGRADE_ROLLOUT_POLICY), see the AWS Organizations API Reference. To enableINSPECTOR_POLICY,awsServiceAccessPrincipalsmust includeinspector2.amazonaws.com. To enableSECURITYHUB_POLICY,awsServiceAccessPrincipalsmust includesecurityhub.amazonaws.com.featureSetSpecifyALL(default) orCONSOLIDATED_BILLING.masterAccountArnARN of the master account.masterAccountEmailEmail address of the master account.masterAccountIdIdentifier of the master account.masterAccountNameName of the master account.nonMasterAccountsList of organization accounts excluding the master account. For a list including the master account, see theaccountsattribute. All elements have these attributes:returnOrganizationOnlyReturn (as attributes) only the results of theDescribeOrganizationAPI to avoid API limits. When configured totrueonly thearn,featureSet,masterAccountArn,masterAccountEmailandmasterAccountIdattributes will be returned. All others will be empty. Default:false.rootsList of organization roots. All elements have these attributes:const -
OrganizationState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
accounts
→ Input<
List< ?OrganizationAccount> ?> -
List of organization accounts including the master account. For a list excluding the master account, see the
nonMasterAccountsattribute. All elements have these attributes:final -
arn
→ Input<
String?> ? -
ARN of the root.
final
-
awsServiceAccessPrincipals
→ Input<
List< ?String> ?> -
List of AWS service principal names for which you want to enable integration with your organization. This is typically in the form of a URL, such as service-abbreviation.amazonaws.com. Organization must have
featureSetset toALL. Some services do not support enablement via this endpoint, see warning in aws docs.final -
enabledPolicyTypes
→ Input<
List< ?String> ?> -
List of Organizations policy types to enable in the Organization Root. Organization must have
featureSetset toALL. For additional information about valid policy types (e.g.,AISERVICES_OPT_OUT_POLICY,BACKUP_POLICY,BEDROCK_POLICY,CHATBOT_POLICY,DECLARATIVE_POLICY_EC2,INSPECTOR_POLICY,RESOURCE_CONTROL_POLICY,S3_POLICY,SECURITYHUB_POLICY,SERVICE_CONTROL_POLICY,TAG_POLICYandUPGRADE_ROLLOUT_POLICY), see the AWS Organizations API Reference. To enableINSPECTOR_POLICY,awsServiceAccessPrincipalsmust includeinspector2.amazonaws.com. To enableSECURITYHUB_POLICY,awsServiceAccessPrincipalsmust includesecurityhub.amazonaws.com.final -
featureSet
→ Input<
String?> ? -
Specify
ALL(default) orCONSOLIDATED_BILLING.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
masterAccountArn
→ Input<
String?> ? -
ARN of the master account.
final
-
masterAccountEmail
→ Input<
String?> ? -
Email address of the master account.
final
-
masterAccountId
→ Input<
String?> ? -
Identifier of the master account.
final
-
masterAccountName
→ Input<
String?> ? -
Name of the master account.
final
-
nonMasterAccounts
→ Input<
List< ?OrganizationNonMasterAccount> ?> -
List of organization accounts excluding the master account. For a list including the master account, see the
accountsattribute. All elements have these attributes:final -
returnOrganizationOnly
→ Input<
bool?> ? -
Return (as attributes) only the results of the
DescribeOrganizationAPI to avoid API limits. When configured totrueonly thearn,featureSet,masterAccountArn,masterAccountEmailandmasterAccountIdattributes will be returned. All others will be empty. Default:false.final -
roots
→ Input<
List< ?OrganizationRoot> ?> -
List of organization roots. All elements have these attributes:
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited