# OrganizationConfigurationProperty

- Source: Generated at build time
- Type last changed: v2.241.0 · 2 Mar 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_computeoptimizer as computeoptimizer } from 'aws-cdk-lib';
const organizationConfigurationProperty: computeoptimizer.CfnAutomationRule.OrganizationConfigurationProperty = {
  accountIds: ['accountIds'],
  ruleApplyOrder: 'ruleApplyOrder',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_computeoptimizer as computeoptimizer

organization_configuration_property = computeoptimizer.CfnAutomationRule.OrganizationConfigurationProperty(
    account_ids=["accountIds"],
    rule_apply_order="ruleApplyOrder"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.computeoptimizer.*;

OrganizationConfigurationProperty organizationConfigurationProperty = OrganizationConfigurationProperty.builder()
        .accountIds(List.of("accountIds"))
        .ruleApplyOrder("ruleApplyOrder")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ComputeOptimizer;

var organizationConfigurationProperty = new OrganizationConfigurationProperty {
    AccountIds = new [] { "accountIds" },
    RuleApplyOrder = "ruleApplyOrder"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

organizationConfigurationProperty := &OrganizationConfigurationProperty{
	AccountIds: []*string{
		jsii.String("accountIds"),
	},
	RuleApplyOrder: jsii.String("ruleApplyOrder"),
}
```

## Properties

- `accountIds`: string[] — List of account IDs where the organization rule applies.

- `ruleApplyOrder`: string — When the rule should be applied relative to account rules.
