AuditNotificationTargetConfigurationsProperty Struct
The configuration of the audit notification target.
| 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_iot as iot } from 'aws-cdk-lib';
const auditNotificationTargetConfigurationsProperty: iot.CfnAccountAuditConfiguration.AuditNotificationTargetConfigurationsProperty = {
sns: {
enabled: false,
roleArn: 'roleArn',
targetArn: 'targetArn',
},
};
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_iot as iot
audit_notification_target_configurations_property = iot.CfnAccountAuditConfiguration.AuditNotificationTargetConfigurationsProperty(
sns=iot.CfnAccountAuditConfiguration.AuditNotificationTargetProperty(
enabled=False,
role_arn="roleArn",
target_arn="targetArn"
)
)
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.iot.*;
AuditNotificationTargetConfigurationsProperty auditNotificationTargetConfigurationsProperty = AuditNotificationTargetConfigurationsProperty.builder()
.sns(AuditNotificationTargetProperty.builder()
.enabled(false)
.roleArn("roleArn")
.targetArn("targetArn")
.build())
.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.IoT;
var auditNotificationTargetConfigurationsProperty = new AuditNotificationTargetConfigurationsProperty {
Sns = new AuditNotificationTargetProperty {
Enabled = false,
RoleArn = "roleArn",
TargetArn = "targetArn"
}
};
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"
auditNotificationTargetConfigurationsProperty := &AuditNotificationTargetConfigurationsProperty{
Sns: &AuditNotificationTargetProperty{
Enabled: jsii.Boolean(false),
RoleArn: jsii.String("roleArn"),
TargetArn: jsii.String("targetArn"),
},
}
Properties
snsoptionalIResolvable | CfnAccountAuditConfiguration.snsoptionaltyping.Union[IResolvable, AuditNotificationTargetProperty]snsoptionalIResolvableSnsoptionalIResolvableSnsoptionalinterface{} #The `Sns` notification target.