Interface CfnPublishingDestinationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPublishingDestinationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:07.085Z")
@Stability(Stable)
public interface CfnPublishingDestinationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPublishingDestination.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.guardduty.*;
CfnPublishingDestinationProps cfnPublishingDestinationProps = CfnPublishingDestinationProps.builder()
.destinationProperties(CFNDestinationPropertiesProperty.builder()
.destinationArn("destinationArn")
.kmsKeyArn("kmsKeyArn")
.build())
.destinationType("destinationType")
.detectorId("detectorId")
// the properties below are optional
.tags(List.of(TagItemProperty.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPublishingDestinationPropsstatic final classAn implementation forCfnPublishingDestinationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()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.The type of publishing destination.The ID of the GuardDuty detector where the publishing destination exists.getTags()Describes a tag.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestinationProperties
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.Returns union: either
IResolvableorCfnPublishingDestination.CFNDestinationPropertiesProperty- See Also:
-
getDestinationType
The type of publishing destination.GuardDuty supports Amazon S3 buckets as a publishing destination.
- See Also:
-
getDetectorId
The ID of the GuardDuty detector where the publishing destination exists.- See Also:
-
getTags
Describes a tag.- See Also:
-
builder
-