package awskinesisfirehose // 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 "github.com/aws/aws-cdk-go/awscdk" // // splunkDestinationConfigurationProperty := &SplunkDestinationConfigurationProperty{ // HecEndpoint: jsii.String("hecEndpoint"), // HecEndpointType: jsii.String("hecEndpointType"), // HecToken: jsii.String("hecToken"), // S3Configuration: &S3DestinationConfigurationProperty{ // BucketArn: jsii.String("bucketArn"), // RoleArn: jsii.String("roleArn"), // // // the properties below are optional // BufferingHints: &BufferingHintsProperty{ // IntervalInSeconds: jsii.Number(123), // SizeInMBs: jsii.Number(123), // }, // CloudWatchLoggingOptions: &CloudWatchLoggingOptionsProperty{ // Enabled: jsii.Boolean(false), // LogGroupName: jsii.String("logGroupName"), // LogStreamName: jsii.String("logStreamName"), // }, // CompressionFormat: jsii.String("compressionFormat"), // EncryptionConfiguration: &EncryptionConfigurationProperty{ // KmsEncryptionConfig: &KMSEncryptionConfigProperty{ // AwskmsKeyArn: jsii.String("awskmsKeyArn"), // }, // NoEncryptionConfig: jsii.String("noEncryptionConfig"), // }, // ErrorOutputPrefix: jsii.String("errorOutputPrefix"), // Prefix: jsii.String("prefix"), // }, // // // the properties below are optional // CloudWatchLoggingOptions: &CloudWatchLoggingOptionsProperty{ // Enabled: jsii.Boolean(false), // LogGroupName: jsii.String("logGroupName"), // LogStreamName: jsii.String("logStreamName"), // }, // HecAcknowledgmentTimeoutInSeconds: jsii.Number(123), // ProcessingConfiguration: &ProcessingConfigurationProperty{ // Enabled: jsii.Boolean(false), // Processors: []interface{}{ // &ProcessorProperty{ // Type: jsii.String("type"), // // // the properties below are optional // Parameters: []interface{}{ // &ProcessorParameterProperty{ // ParameterName: jsii.String("parameterName"), // ParameterValue: jsii.String("parameterValue"), // }, // }, // }, // }, // }, // RetryOptions: &SplunkRetryOptionsProperty{ // DurationInSeconds: jsii.Number(123), // }, // S3BackupMode: jsii.String("s3BackupMode"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html // type CfnDeliveryStream_SplunkDestinationConfigurationProperty struct { // The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose sends your data. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-hecendpoint // HecEndpoint *string `field:"required" json:"hecEndpoint" yaml:"hecEndpoint"` // This type can be either `Raw` or `Event` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-hecendpointtype // HecEndpointType *string `field:"required" json:"hecEndpointType" yaml:"hecEndpointType"` // This is a GUID that you obtain from your Splunk cluster when you create a new HEC endpoint. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-hectoken // HecToken *string `field:"required" json:"hecToken" yaml:"hecToken"` // The configuration for the backup Amazon S3 location. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-s3configuration // S3Configuration interface{} `field:"required" json:"s3Configuration" yaml:"s3Configuration"` // The Amazon CloudWatch logging options for your delivery stream. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-cloudwatchloggingoptions // CloudWatchLoggingOptions interface{} `field:"optional" json:"cloudWatchLoggingOptions" yaml:"cloudWatchLoggingOptions"` // 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. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-hecacknowledgmenttimeoutinseconds // HecAcknowledgmentTimeoutInSeconds *float64 `field:"optional" json:"hecAcknowledgmentTimeoutInSeconds" yaml:"hecAcknowledgmentTimeoutInSeconds"` // The data processing configuration. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-processingconfiguration // ProcessingConfiguration interface{} `field:"optional" json:"processingConfiguration" yaml:"processingConfiguration"` // 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. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-retryoptions // RetryOptions interface{} `field:"optional" json:"retryOptions" yaml:"retryOptions"` // 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 to `AllEvents` , Kinesis Data Firehose delivers all incoming records to Amazon S3, and also writes failed documents to Amazon S3. The default value is `FailedEventsOnly` . // // You can update this backup mode from `FailedEventsOnly` to `AllEvents` . You can't update it from `AllEvents` to `FailedEventsOnly` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-s3backupmode // S3BackupMode *string `field:"optional" json:"s3BackupMode" yaml:"s3BackupMode"` }