Skip to content
v2.278.0

OrganizationConfigRuleReference Struct ​

A reference to a OrganizationConfigRule resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_config as interfaces_config } from 'aws-cdk-lib/interfaces';
const organizationConfigRuleReference: interfaces_config.OrganizationConfigRuleReference = {
  organizationConfigRuleArn: 'organizationConfigRuleArn',
  organizationConfigRuleName: 'organizationConfigRuleName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_config as interfaces_config

organization_config_rule_reference = interfaces_config.OrganizationConfigRuleReference(
    organization_config_rule_arn="organizationConfigRuleArn",
    organization_config_rule_name="organizationConfigRuleName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.config.*;

OrganizationConfigRuleReference organizationConfigRuleReference = OrganizationConfigRuleReference.builder()
        .organizationConfigRuleArn("organizationConfigRuleArn")
        .organizationConfigRuleName("organizationConfigRuleName")
        .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.Interfaces.Config;

var organizationConfigRuleReference = new OrganizationConfigRuleReference {
    OrganizationConfigRuleArn = "organizationConfigRuleArn",
    OrganizationConfigRuleName = "organizationConfigRuleName"
};
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"

organizationConfigRuleReference := &OrganizationConfigRuleReference{
	OrganizationConfigRuleArn: jsii.String("organizationConfigRuleArn"),
	OrganizationConfigRuleName: jsii.String("organizationConfigRuleName"),
}

Properties ​

organizationConfigRuleArnstringorganization_config_rule_arnstrorganizationConfigRuleArnStringOrganizationConfigRuleArnstringOrganizationConfigRuleArn*string required #
The ARN of the OrganizationConfigRule resource.
organizationConfigRuleNamestringorganization_config_rule_namestrorganizationConfigRuleNameStringOrganizationConfigRuleNamestringOrganizationConfigRuleName*string required #
The OrganizationConfigRuleName of the OrganizationConfigRule resource.