NotificationObjectTypeProperty
Struct External
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_backup as backup } from 'aws-cdk-lib';
const notificationObjectTypeProperty: backup.CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty = {
backupVaultEvents: ['backupVaultEvents'],
snsTopicArn: 'snsTopicArn',
};
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_backup as backup
notification_object_type_property = backup.CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty(
backup_vault_events=["backupVaultEvents"],
sns_topic_arn="snsTopicArn"
)
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.backup.*;
NotificationObjectTypeProperty notificationObjectTypeProperty = NotificationObjectTypeProperty.builder()
.backupVaultEvents(List.of("backupVaultEvents"))
.snsTopicArn("snsTopicArn")
.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.Backup;
var notificationObjectTypeProperty = new NotificationObjectTypeProperty {
BackupVaultEvents = new [] { "backupVaultEvents" },
SnsTopicArn = "snsTopicArn"
};
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"
notificationObjectTypeProperty := &NotificationObjectTypeProperty{
BackupVaultEvents: []*string{
jsii.String("backupVaultEvents"),
},
SnsTopicArn: jsii.String("snsTopicArn"),
}
Properties
backupVaultEventsstring[]backup_vault_eventstyping.List[str]backupVaultEventsList<String>BackupVaultEventsstring[]BackupVaultEvents*[]*string required #An array of events that indicate the status of jobs to back up resources to the backup vault.
The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events;
for example, arn:aws:sns:us-west-2:111122223333:MyVaultTopic .