OrganizationState constructor
- Input<
List< ? accounts,OrganizationAccount> ?> - Input<
String?> ? arn, - Input<
List< ? awsServiceAccessPrincipals,String> ?> - Input<
List< ? enabledPolicyTypes,String> ?> - Input<
String?> ? featureSet, - Input<
String?> ? masterAccountArn, - Input<
String?> ? masterAccountEmail, - Input<
String?> ? masterAccountId, - Input<
String?> ? masterAccountName, - Input<
List< ? nonMasterAccounts,OrganizationNonMasterAccount> ?> - Input<
bool?> ? returnOrganizationOnly, - Input<
List< ? roots,OrganizationRoot> ?>
Creates a new OrganizationState.
accounts List of organization accounts including the master account. For a list excluding the master account, see the nonMasterAccounts attribute. All elements have these attributes:
arn ARN of the root.
awsServiceAccessPrincipals 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 featureSet set to ALL. Some services do not support enablement via this endpoint, see warning in aws docs.
enabledPolicyTypes List of Organizations policy types to enable in the Organization Root. Organization must have featureSet set to ALL. 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_POLICY and UPGRADE_ROLLOUT_POLICY), see the AWS Organizations API Reference. To enable INSPECTOR_POLICY, awsServiceAccessPrincipals must include inspector2.amazonaws.com. To enable SECURITYHUB_POLICY, awsServiceAccessPrincipals must include securityhub.amazonaws.com.
featureSet Specify ALL (default) or CONSOLIDATED_BILLING.
masterAccountArn ARN of the master account.
masterAccountEmail Email address of the master account.
masterAccountId Identifier of the master account.
masterAccountName Name of the master account.
nonMasterAccounts List of organization accounts excluding the master account. For a list including the master account, see the accounts attribute. All elements have these attributes:
returnOrganizationOnly Return (as attributes) only the results of the DescribeOrganization API to avoid API limits. When configured to true only the arn, featureSet, masterAccountArn, masterAccountEmail and masterAccountId attributes will be returned. All others will be empty. Default: false.
roots List of organization roots. All elements have these attributes:
Implementation
const OrganizationState({
this.accounts,
this.arn,
this.awsServiceAccessPrincipals,
this.enabledPolicyTypes,
this.featureSet,
this.masterAccountArn,
this.masterAccountEmail,
this.masterAccountId,
this.masterAccountName,
this.nonMasterAccounts,
this.returnOrganizationOnly,
this.roots,
});