Class CfnPublishingDestinationProps
Properties for defining a CfnPublishingDestination
.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.GuardDuty
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPublishingDestinationProps : ICfnPublishingDestinationProps
Syntax (vb)
Public Class CfnPublishingDestinationProps Implements ICfnPublishingDestinationProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GuardDuty;
var cfnPublishingDestinationProps = new CfnPublishingDestinationProps {
DestinationProperties = new CFNDestinationPropertiesProperty {
DestinationArn = "destinationArn",
KmsKeyArn = "kmsKeyArn"
},
DestinationType = "destinationType",
DetectorId = "detectorId",
// the properties below are optional
Tags = new [] { new TagItemProperty {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnPublishingDestinationProps() | Properties for defining a |
Properties
DestinationProperties | Contains the Amazon Resource Name (ARN) of the resource to publish to, such as an S3 bucket, and the ARN of the KMS key to use to encrypt published findings. |
DestinationType | The type of publishing destination. |
DetectorId | The ID of the GuardDuty detector where the publishing destination exists. |
Tags | Describes a tag. |
Constructors
CfnPublishingDestinationProps()
Properties for defining a CfnPublishingDestination
.
public CfnPublishingDestinationProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GuardDuty;
var cfnPublishingDestinationProps = new CfnPublishingDestinationProps {
DestinationProperties = new CFNDestinationPropertiesProperty {
DestinationArn = "destinationArn",
KmsKeyArn = "kmsKeyArn"
},
DestinationType = "destinationType",
DetectorId = "detectorId",
// the properties below are optional
Tags = new [] { new TagItemProperty {
Key = "key",
Value = "value"
} }
};
Properties
DestinationProperties
Contains the Amazon Resource Name (ARN) of the resource to publish to, such as an S3 bucket, and the ARN of the KMS key to use to encrypt published findings.
public object DestinationProperties { get; set; }
Property Value
Remarks
DestinationType
The type of publishing destination.
public string DestinationType { get; set; }
Property Value
Remarks
GuardDuty supports Amazon S3 buckets as a publishing destination.
DetectorId
The ID of the GuardDuty detector where the publishing destination exists.
public string DetectorId { get; set; }
Property Value
Remarks
Tags
Describes a tag.
public CfnPublishingDestination.ITagItemProperty[]? Tags { get; set; }