CfnPublishingDestinationProps

class aws_cdk.aws_guardduty.CfnPublishingDestinationProps(*, destination_properties, destination_type, detector_id, tags=None)

Bases: object

Properties for defining a CfnPublishingDestination.

Parameters:
  • destination_properties (Union[IResolvable, CFNDestinationPropertiesProperty, Dict[str, Any]]) – 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.

  • destination_type (str) – The type of publishing destination. GuardDuty supports Amazon S3 buckets as a publishing destination.

  • detector_id (str) – The ID of the GuardDuty detector where the publishing destination exists.

  • tags (Optional[Sequence[Union[TagItemProperty, Dict[str, Any]]]]) – Describes a tag.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-publishingdestination.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_guardduty as guardduty

cfn_publishing_destination_props = guardduty.CfnPublishingDestinationProps(
    destination_properties=guardduty.CfnPublishingDestination.CFNDestinationPropertiesProperty(
        destination_arn="destinationArn",
        kms_key_arn="kmsKeyArn"
    ),
    destination_type="destinationType",
    detector_id="detectorId",

    # the properties below are optional
    tags=[guardduty.CfnPublishingDestination.TagItemProperty(
        key="key",
        value="value"
    )]
)

Attributes

destination_properties

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-publishingdestination.html#cfn-guardduty-publishingdestination-destinationproperties

destination_type

The type of publishing destination.

GuardDuty supports Amazon S3 buckets as a publishing destination.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-publishingdestination.html#cfn-guardduty-publishingdestination-destinationtype

detector_id

The ID of the GuardDuty detector where the publishing destination exists.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-publishingdestination.html#cfn-guardduty-publishingdestination-detectorid

tags

Describes a tag.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-publishingdestination.html#cfn-guardduty-publishingdestination-tags