Skip to content
v2.278.0

CfnOrganizationalUnitAssociationProps ​

Struct External

Properties for defining a CfnOrganizationalUnitAssociation.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_notifications as notifications } from 'aws-cdk-lib';
const cfnOrganizationalUnitAssociationProps: notifications.CfnOrganizationalUnitAssociationProps = {
  notificationConfigurationArn: 'notificationConfigurationArn',
  organizationalUnitId: 'organizationalUnitId',
};
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_notifications as notifications

cfn_organizational_unit_association_props = notifications.CfnOrganizationalUnitAssociationProps(
    notification_configuration_arn="notificationConfigurationArn",
    organizational_unit_id="organizationalUnitId"
)
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.notifications.*;

CfnOrganizationalUnitAssociationProps cfnOrganizationalUnitAssociationProps = CfnOrganizationalUnitAssociationProps.builder()
        .notificationConfigurationArn("notificationConfigurationArn")
        .organizationalUnitId("organizationalUnitId")
        .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.Notifications;

var cfnOrganizationalUnitAssociationProps = new CfnOrganizationalUnitAssociationProps {
    NotificationConfigurationArn = "notificationConfigurationArn",
    OrganizationalUnitId = "organizationalUnitId"
};
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"

cfnOrganizationalUnitAssociationProps := &CfnOrganizationalUnitAssociationProps{
	NotificationConfigurationArn: jsii.String("notificationConfigurationArn"),
	OrganizationalUnitId: jsii.String("organizationalUnitId"),
}

Properties ​

notificationConfigurationArnstringnotification_configuration_arnstrnotificationConfigurationArnStringNotificationConfigurationArnstringNotificationConfigurationArn*string required #
ARN identifier of the NotificationConfiguration.

Example: arn:aws:notifications::123456789012:configuration/a01jes88qxwkbj05xv9c967pgm1

organizationalUnitIdstringorganizational_unit_idstrorganizationalUnitIdStringOrganizationalUnitIdstringOrganizationalUnitId*string required #
The ID of the organizational unit.