Interface CfnDeliveryStream.SplunkDestinationConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeliveryStream.SplunkDestinationConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDeliveryStream
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")
.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
.bufferingHints(SplunkBufferingHintsProperty.builder()
.intervalInSeconds(123)
.sizeInMBs(123)
.build())
.cloudWatchLoggingOptions(CloudWatchLoggingOptionsProperty.builder()
.enabled(false)
.logGroupName("logGroupName")
.logStreamName("logStreamName")
.build())
.hecAcknowledgmentTimeoutInSeconds(123)
.hecToken("hecToken")
.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")
.secretsManagerConfiguration(SecretsManagerConfigurationProperty.builder()
.enabled(false)
// the properties below are optional
.roleArn("roleArn")
.secretArn("secretArn")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDeliveryStream.SplunkDestinationConfigurationPropertystatic final classAn implementation forCfnDeliveryStream.SplunkDestinationConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe buffering options.default ObjectThe Amazon CloudWatch logging options for your Firehose stream.default NumberThe amount of time that Firehose waits to receive an acknowledgment from Splunk after it sends it data.The HTTP Event Collector (HEC) endpoint to which Firehose sends your data.This type can be eitherRaworEvent.default StringThis is a GUID that you obtain from your Splunk cluster when you create a new HEC endpoint.default ObjectThe data processing configuration.default ObjectThe retry behavior in case Firehose is unable to deliver data to Splunk, or if it doesn't receive an acknowledgment of receipt from Splunk.default StringDefines how documents should be delivered to Amazon S3.The configuration for the backup Amazon S3 location.default ObjectThe configuration that defines how you access secrets for Splunk.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHecEndpoint
The HTTP Event Collector (HEC) endpoint to which Firehose sends your data.- See Also:
-
getHecEndpointType
This type can be eitherRaworEvent.- See Also:
-
getS3Configuration
The configuration for the backup Amazon S3 location.Returns union: either
IResolvableorCfnDeliveryStream.S3DestinationConfigurationProperty- See Also:
-
getBufferingHints
The buffering options.If no value is specified, the default values for Splunk are used.
Returns union: either
IResolvableorCfnDeliveryStream.SplunkBufferingHintsProperty- See Also:
-
getCloudWatchLoggingOptions
The Amazon CloudWatch logging options for your Firehose stream.Returns union: either
IResolvableorCfnDeliveryStream.CloudWatchLoggingOptionsProperty- See Also:
-
getHecAcknowledgmentTimeoutInSeconds
The amount of time that Firehose waits to receive an acknowledgment from Splunk after it sends it data.At the end of the timeout period, Firehose either tries to send the data again or considers it an error, based on your retry settings.
- See Also:
-
getHecToken
This is a GUID that you obtain from your Splunk cluster when you create a new HEC endpoint.- See Also:
-
getProcessingConfiguration
The data processing configuration.Returns union: either
IResolvableorCfnDeliveryStream.ProcessingConfigurationProperty- See Also:
-
getRetryOptions
The retry behavior in case Firehose is unable to deliver data to Splunk, or if it doesn't receive an acknowledgment of receipt from Splunk.Returns union: either
IResolvableorCfnDeliveryStream.SplunkRetryOptionsProperty- See Also:
-
getS3BackupMode
Defines how documents should be delivered to Amazon S3.When set to
FailedEventsOnly, Firehose writes any data that could not be indexed to the configured Amazon S3 destination. When set toAllEvents, 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
FailedEventsOnlytoAllEvents. You can't update it fromAllEventstoFailedEventsOnly.- See Also:
-
getSecretsManagerConfiguration
The configuration that defines how you access secrets for Splunk.Returns union: either
IResolvableorCfnDeliveryStream.SecretsManagerConfigurationProperty- See Also:
-
builder
@Stability(Stable) static CfnDeliveryStream.SplunkDestinationConfigurationProperty.Builder builder()
-