Class LoggingArgs


  • public final class LoggingArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  LoggingArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static LoggingArgs Empty  
    • Method Detail

      • bucketName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> bucketName()
        Returns:
        Name of an existing S3 bucket where the log files are to be stored. Required when `logDestinationType` is `s3`. Must be in the same region as the cluster and the cluster must have read bucket and put object permissions. For more information on the permissions required for the bucket, please read the AWS [documentation](http://docs.aws.amazon.com/redshift/latest/mgmt/db-auditing.html#db-auditing-enable-logging)
      • clusterIdentifier

        public com.pulumi.core.Output<java.lang.String> clusterIdentifier()
        Returns:
        Identifier of the source cluster. The following arguments are optional:
      • logDestinationType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> logDestinationType()
        Returns:
        Log destination type. Valid values are `s3` and `cloudwatch`.
      • logExports

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> logExports()
        Returns:
        Collection of exported log types. Required when `logDestinationType` is `cloudwatch`. Valid values are `connectionlog`, `useractivitylog`, and `userlog`.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • s3KeyPrefix

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> s3KeyPrefix()
        Returns:
        Prefix applied to the log file names.