Skip to content
v2.278.0

CfnManagedNotificationAccountContactAssociationProps Struct ​

Properties for defining a CfnManagedNotificationAccountContactAssociation.

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 cfnManagedNotificationAccountContactAssociationProps: notifications.CfnManagedNotificationAccountContactAssociationProps = {
  contactIdentifier: 'contactIdentifier',
  managedNotificationConfigurationArn: 'managedNotificationConfigurationArn',

  // the properties below are optional
  isSensitiveEventsSubscribed: false,
};
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_managed_notification_account_contact_association_props = notifications.CfnManagedNotificationAccountContactAssociationProps(
    contact_identifier="contactIdentifier",
    managed_notification_configuration_arn="managedNotificationConfigurationArn",

    # the properties below are optional
    is_sensitive_events_subscribed=False
)
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.*;

CfnManagedNotificationAccountContactAssociationProps cfnManagedNotificationAccountContactAssociationProps = CfnManagedNotificationAccountContactAssociationProps.builder()
        .contactIdentifier("contactIdentifier")
        .managedNotificationConfigurationArn("managedNotificationConfigurationArn")

        // the properties below are optional
        .isSensitiveEventsSubscribed(false)
        .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 cfnManagedNotificationAccountContactAssociationProps = new CfnManagedNotificationAccountContactAssociationProps {
    ContactIdentifier = "contactIdentifier",
    ManagedNotificationConfigurationArn = "managedNotificationConfigurationArn",

    // the properties below are optional
    IsSensitiveEventsSubscribed = false
};
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"

cfnManagedNotificationAccountContactAssociationProps := &CfnManagedNotificationAccountContactAssociationProps{
	ContactIdentifier: jsii.String("contactIdentifier"),
	ManagedNotificationConfigurationArn: jsii.String("managedNotificationConfigurationArn"),

	// the properties below are optional
	IsSensitiveEventsSubscribed: jsii.Boolean(false),
}

Properties ​

contactIdentifierstringcontact_identifierstrcontactIdentifierStringContactIdentifierstringContactIdentifier*string required #
The unique identifier of the notification contact associated with the AWS account.
notes

For more information about the contact types associated with an account, see the Account Management Reference Guide .

isSensitiveEventsSubscribedoptionalboolean | IResolvableis_sensitive_events_subscribedoptionaltyping.Union[bool, IResolvable]isSensitiveEventsSubscribedoptionalBooleanIsSensitiveEventsSubscribedoptionalboolIsSensitiveEventsSubscribedoptionalinterface{} #
Whether the account contact association is subscribed to sensitive events.

Access to sensitive events is gated by the SubscribeSensitiveEvents virtual IAM action.

managedNotificationConfigurationArnstringmanaged_notification_configuration_arnstrmanagedNotificationConfigurationArnStringManagedNotificationConfigurationArnstringManagedNotificationConfigurationArn*string required #
The ARN of the `ManagedNotificationConfiguration` to be associated with the `Channel` .