Class CfnPublishingDestination
Creates a publishing destination where you can export your GuardDuty findings.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.GuardDuty
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPublishingDestination : CfnResource, IInspectable, IPublishingDestinationRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Syntax (vb)
Public Class CfnPublishingDestination Inherits CfnResource Implements IInspectable, IPublishingDestinationRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Remarks
Before you start exporting the findings, the destination resource must exist.
For more information about considerations and permissions, see Exporting GuardDuty findings to Amazon S3 buckets in the Amazon GuardDuty User Guide .
CloudformationResource: AWS::GuardDuty::PublishingDestination
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 cfnPublishingDestination = new CfnPublishingDestination(this, "MyCfnPublishingDestination", 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
| CfnPublishingDestination(Construct, string, ICfnPublishingDestinationProps) | Create a new |
Properties
| AttrId | The ID of the publishing destination. |
| AttrPublishingFailureStartTimestamp | The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination. |
| AttrStatus | The status of the publishing destination. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CdkTagManager | Tag Manager which manages the tags for this resource. |
| CfnProperties | Creates a publishing destination where you can export your GuardDuty findings. |
| CfnPropertyNames | Creates a publishing destination where you can export your GuardDuty findings. |
| 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. |
| PublishingDestinationRef | A reference to a PublishingDestination resource. |
| Tags | Describes a tag. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnPublishingDestination(object) | Checks whether the given object is a CfnPublishingDestination. |
| RenderProperties(IDictionary<string, object>) | Creates a publishing destination where you can export your GuardDuty findings. |
Constructors
CfnPublishingDestination(Construct, string, ICfnPublishingDestinationProps)
Create a new AWS::GuardDuty::PublishingDestination.
public CfnPublishingDestination(Construct scope, string id, ICfnPublishingDestinationProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnPublishingDestinationProps
Resource properties.
Remarks
Before you start exporting the findings, the destination resource must exist.
For more information about considerations and permissions, see Exporting GuardDuty findings to Amazon S3 buckets in the Amazon GuardDuty User Guide .
CloudformationResource: AWS::GuardDuty::PublishingDestination
ExampleMetadata: fixture=_generated
Properties
AttrId
The ID of the publishing destination.
public virtual string AttrId { get; }
Property Value
Remarks
CloudformationAttribute: Id
AttrPublishingFailureStartTimestamp
The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.
public virtual string AttrPublishingFailureStartTimestamp { get; }
Property Value
Remarks
CloudformationAttribute: PublishingFailureStartTimestamp
AttrStatus
The status of the publishing destination.
public virtual string AttrStatus { get; }
Property Value
Remarks
CloudformationAttribute: Status
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
Before you start exporting the findings, the destination resource must exist.
For more information about considerations and permissions, see Exporting GuardDuty findings to Amazon S3 buckets in the Amazon GuardDuty User Guide .
CloudformationResource: AWS::GuardDuty::PublishingDestination
ExampleMetadata: fixture=_generated
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
Remarks
Before you start exporting the findings, the destination resource must exist.
For more information about considerations and permissions, see Exporting GuardDuty findings to Amazon S3 buckets in the Amazon GuardDuty User Guide .
CloudformationResource: AWS::GuardDuty::PublishingDestination
ExampleMetadata: fixture=_generated
CfnProperties
Creates a publishing destination where you can export your GuardDuty findings.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
Before you start exporting the findings, the destination resource must exist.
For more information about considerations and permissions, see Exporting GuardDuty findings to Amazon S3 buckets in the Amazon GuardDuty User Guide .
CloudformationResource: AWS::GuardDuty::PublishingDestination
ExampleMetadata: fixture=_generated
CfnPropertyNames
Creates a publishing destination where you can export your GuardDuty findings.
protected override IDictionary<string, string> CfnPropertyNames { get; }
Property Value
Overrides
Remarks
Before you start exporting the findings, the destination resource must exist.
For more information about considerations and permissions, see Exporting GuardDuty findings to Amazon S3 buckets in the Amazon GuardDuty User Guide .
CloudformationResource: AWS::GuardDuty::PublishingDestination
ExampleMetadata: fixture=_generated
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 virtual object DestinationProperties { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnPublishingDestination.ICFNDestinationPropertiesProperty
DestinationType
The type of publishing destination.
public virtual string DestinationType { get; set; }
Property Value
Remarks
Before you start exporting the findings, the destination resource must exist.
For more information about considerations and permissions, see Exporting GuardDuty findings to Amazon S3 buckets in the Amazon GuardDuty User Guide .
CloudformationResource: AWS::GuardDuty::PublishingDestination
ExampleMetadata: fixture=_generated
DetectorId
The ID of the GuardDuty detector where the publishing destination exists.
public virtual string DetectorId { get; set; }
Property Value
Remarks
Before you start exporting the findings, the destination resource must exist.
For more information about considerations and permissions, see Exporting GuardDuty findings to Amazon S3 buckets in the Amazon GuardDuty User Guide .
CloudformationResource: AWS::GuardDuty::PublishingDestination
ExampleMetadata: fixture=_generated
PublishingDestinationRef
A reference to a PublishingDestination resource.
public virtual IPublishingDestinationReference PublishingDestinationRef { get; }
Property Value
IPublishingDestinationReference
Remarks
Before you start exporting the findings, the destination resource must exist.
For more information about considerations and permissions, see Exporting GuardDuty findings to Amazon S3 buckets in the Amazon GuardDuty User Guide .
CloudformationResource: AWS::GuardDuty::PublishingDestination
ExampleMetadata: fixture=_generated
Tags
Describes a tag.
public virtual CfnPublishingDestination.ITagItemProperty[]? Tags { get; set; }
Property Value
Remarks
Before you start exporting the findings, the destination resource must exist.
For more information about considerations and permissions, see Exporting GuardDuty findings to Amazon S3 buckets in the Amazon GuardDuty User Guide .
CloudformationResource: AWS::GuardDuty::PublishingDestination
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
Before you start exporting the findings, the destination resource must exist.
For more information about considerations and permissions, see Exporting GuardDuty findings to Amazon S3 buckets in the Amazon GuardDuty User Guide .
CloudformationResource: AWS::GuardDuty::PublishingDestination
ExampleMetadata: fixture=_generated
IsCfnPublishingDestination(object)
Checks whether the given object is a CfnPublishingDestination.
public static bool IsCfnPublishingDestination(object x)
Parameters
- x object
Returns
Remarks
Before you start exporting the findings, the destination resource must exist.
For more information about considerations and permissions, see Exporting GuardDuty findings to Amazon S3 buckets in the Amazon GuardDuty User Guide .
CloudformationResource: AWS::GuardDuty::PublishingDestination
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Creates a publishing destination where you can export your GuardDuty findings.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
Before you start exporting the findings, the destination resource must exist.
For more information about considerations and permissions, see Exporting GuardDuty findings to Amazon S3 buckets in the Amazon GuardDuty User Guide .
CloudformationResource: AWS::GuardDuty::PublishingDestination
ExampleMetadata: fixture=_generated