Interface CfnDeliveryStream.SplunkDestinationConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeliveryStream.SplunkDestinationConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDeliveryStream
@Stability(Stable)
public static interface CfnDeliveryStream.SplunkDestinationConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The
SplunkDestinationConfiguration
property type specifies the configuration of a destination in Splunk for a Kinesis Data Firehose delivery stream.
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.kinesisfirehose.*; SplunkDestinationConfigurationProperty splunkDestinationConfigurationProperty = SplunkDestinationConfigurationProperty.builder() .hecEndpoint("hecEndpoint") .hecEndpointType("hecEndpointType") .hecToken("hecToken") .s3Configuration(S3DestinationConfigurationProperty.builder() .bucketArn("bucketArn") .roleArn("roleArn") // the properties below are optional .bufferingHints(BufferingHintsProperty.builder() .intervalInSeconds(123) .sizeInMBs(123) .build()) .cloudWatchLoggingOptions(CloudWatchLoggingOptionsProperty.builder() .enabled(false) .logGroupName("logGroupName") .logStreamName("logStreamName") .build()) .compressionFormat("compressionFormat") .encryptionConfiguration(EncryptionConfigurationProperty.builder() .kmsEncryptionConfig(KMSEncryptionConfigProperty.builder() .awskmsKeyArn("awskmsKeyArn") .build()) .noEncryptionConfig("noEncryptionConfig") .build()) .errorOutputPrefix("errorOutputPrefix") .prefix("prefix") .build()) // the properties below are optional .cloudWatchLoggingOptions(CloudWatchLoggingOptionsProperty.builder() .enabled(false) .logGroupName("logGroupName") .logStreamName("logStreamName") .build()) .hecAcknowledgmentTimeoutInSeconds(123) .processingConfiguration(ProcessingConfigurationProperty.builder() .enabled(false) .processors(List.of(ProcessorProperty.builder() .type("type") // the properties below are optional .parameters(List.of(ProcessorParameterProperty.builder() .parameterName("parameterName") .parameterValue("parameterValue") .build())) .build())) .build()) .retryOptions(SplunkRetryOptionsProperty.builder() .durationInSeconds(123) .build()) .s3BackupMode("s3BackupMode") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDeliveryStream.SplunkDestinationConfigurationProperty
static final class
An implementation forCfnDeliveryStream.SplunkDestinationConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The Amazon CloudWatch logging options for your delivery stream.default Number
The amount of time that Kinesis Data Firehose waits to receive an acknowledgment from Splunk after it sends it data.The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose sends your data.This type can be eitherRaw
orEvent
.This is a GUID that you obtain from your Splunk cluster when you create a new HEC endpoint.default Object
The data processing configuration.default Object
The retry behavior in case Kinesis Data Firehose is unable to deliver data to Splunk, or if it doesn't receive an acknowledgment of receipt from Splunk.default String
Defines how documents should be delivered to Amazon S3.The configuration for the backup Amazon S3 location.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHecEndpoint
The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose sends your data. -
getHecEndpointType
This type can be eitherRaw
orEvent
. -
getHecToken
This is a GUID that you obtain from your Splunk cluster when you create a new HEC endpoint. -
getS3Configuration
The configuration for the backup Amazon S3 location. -
getCloudWatchLoggingOptions
The Amazon CloudWatch logging options for your delivery stream. -
getHecAcknowledgmentTimeoutInSeconds
The amount of time that Kinesis Data Firehose waits to receive an acknowledgment from Splunk after it sends it data.At the end of the timeout period, Kinesis Data Firehose either tries to send the data again or considers it an error, based on your retry settings.
-
getProcessingConfiguration
The data processing configuration. -
getRetryOptions
The retry behavior in case Kinesis Data Firehose is unable to deliver data to Splunk, or if it doesn't receive an acknowledgment of receipt from Splunk. -
getS3BackupMode
Defines how documents should be delivered to Amazon S3.When set to
FailedEventsOnly
, Kinesis Data Firehose writes any data that could not be indexed to the configured Amazon S3 destination. When set toAllEvents
, Kinesis Data Firehose delivers all incoming records to Amazon S3, and also writes failed documents to Amazon S3. The default value isFailedEventsOnly
.You can update this backup mode from
FailedEventsOnly
toAllEvents
. You can't update it fromAllEvents
toFailedEventsOnly
. -
builder
@Stability(Stable) static CfnDeliveryStream.SplunkDestinationConfigurationProperty.Builder builder()
-