Skip to content
v2.278.0

OrganizationConfigurationProperty Struct ​

Example ​

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
# 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
// 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();
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"
};
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 ​

accountIdsoptionalstring[]account_idsoptionaltyping.List[str]accountIdsoptionalList<String>AccountIdsoptionalstring[]AccountIdsoptional*[]*string #
List of account IDs where the organization rule applies.
ruleApplyOrderoptionalstringrule_apply_orderoptionalstrruleApplyOrderoptionalStringRuleApplyOrderoptionalstringRuleApplyOrderoptional*string #
When the rule should be applied relative to account rules.