Class LoggingConfigurationLoggingConfigurationLogDestinationConfigArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.networkfirewall.inputs.LoggingConfigurationLoggingConfigurationLogDestinationConfigArgs.Builder
-
- Enclosing class:
- LoggingConfigurationLoggingConfigurationLogDestinationConfigArgs
public static final class LoggingConfigurationLoggingConfigurationLogDestinationConfigArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(LoggingConfigurationLoggingConfigurationLogDestinationConfigArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(LoggingConfigurationLoggingConfigurationLogDestinationConfigArgs defaults)
-
-
Method Detail
-
logDestination
public LoggingConfigurationLoggingConfigurationLogDestinationConfigArgs.Builder logDestination(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> logDestination)
- Parameters:
logDestination- A map describing the logging destination for the chosen `logDestinationType`. * For an Amazon S3 bucket, specify the key `bucketName` with the name of the bucket and optionally specify the key `prefix` with a path (Do not add a leading / in the `prefix` as the configuration will have two // when applied). * For a CloudWatch log group, specify the key `logGroup` with the name of the CloudWatch log group. * For a Kinesis Data Firehose delivery stream, specify the key `deliveryStream` with the name of the delivery stream.- Returns:
- builder
-
logDestination
public LoggingConfigurationLoggingConfigurationLogDestinationConfigArgs.Builder logDestination(java.util.Map<java.lang.String,java.lang.String> logDestination)
- Parameters:
logDestination- A map describing the logging destination for the chosen `logDestinationType`. * For an Amazon S3 bucket, specify the key `bucketName` with the name of the bucket and optionally specify the key `prefix` with a path (Do not add a leading / in the `prefix` as the configuration will have two // when applied). * For a CloudWatch log group, specify the key `logGroup` with the name of the CloudWatch log group. * For a Kinesis Data Firehose delivery stream, specify the key `deliveryStream` with the name of the delivery stream.- Returns:
- builder
-
logDestinationType
public LoggingConfigurationLoggingConfigurationLogDestinationConfigArgs.Builder logDestinationType(com.pulumi.core.Output<java.lang.String> logDestinationType)
- Parameters:
logDestinationType- The location to send logs to. Valid values: `S3`, `CloudWatchLogs`, `KinesisDataFirehose`.- Returns:
- builder
-
logDestinationType
public LoggingConfigurationLoggingConfigurationLogDestinationConfigArgs.Builder logDestinationType(java.lang.String logDestinationType)
- Parameters:
logDestinationType- The location to send logs to. Valid values: `S3`, `CloudWatchLogs`, `KinesisDataFirehose`.- Returns:
- builder
-
logType
public LoggingConfigurationLoggingConfigurationLogDestinationConfigArgs.Builder logType(com.pulumi.core.Output<java.lang.String> logType)
- Parameters:
logType- The type of log to send. Valid values: `ALERT` or `FLOW` or `TLS`. Alert logs report traffic that matches a `StatefulRule` with an action setting that sends a log message. Flow logs are standard network traffic flow logs.- Returns:
- builder
-
logType
public LoggingConfigurationLoggingConfigurationLogDestinationConfigArgs.Builder logType(java.lang.String logType)
- Parameters:
logType- The type of log to send. Valid values: `ALERT` or `FLOW` or `TLS`. Alert logs report traffic that matches a `StatefulRule` with an action setting that sends a log message. Flow logs are standard network traffic flow logs.- Returns:
- builder
-
build
public LoggingConfigurationLoggingConfigurationLogDestinationConfigArgs build()
-
-