Package com.pulumi.aws.redshift
Class LoggingArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.redshift.LoggingArgs
-
public final class LoggingArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLoggingArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static LoggingArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.String>>bucketName()static LoggingArgs.Builderbuilder()static LoggingArgs.Builderbuilder(LoggingArgs defaults)com.pulumi.core.Output<java.lang.String>clusterIdentifier()java.util.Optional<com.pulumi.core.Output<java.lang.String>>logDestinationType()java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>logExports()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()java.util.Optional<com.pulumi.core.Output<java.lang.String>>s3KeyPrefix()
-
-
-
Field Detail
-
Empty
public static final 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.
-
builder
public static LoggingArgs.Builder builder()
-
builder
public static LoggingArgs.Builder builder(LoggingArgs defaults)
-
-