Class ProjectBucketConfigArgs


  • public final class ProjectBucketConfigArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • bucketId

        public com.pulumi.core.Output<java.lang.String> bucketId()
        Returns:
        The name of the logging bucket. Logging automatically creates two log buckets: `_Required` and `_Default`.
      • cmekSettings

        public java.util.Optional<com.pulumi.core.Output<ProjectBucketConfigCmekSettingsArgs>> cmekSettings()
        Returns:
        The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed. Structure is documented below.
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        Describes this bucket.
      • enableAnalytics

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableAnalytics()
        Returns:
        Whether or not Log Analytics is enabled. Logs for buckets with Log Analytics enabled can be queried in the **Log Analytics** page using SQL queries. Cannot be disabled once enabled.
      • indexConfigs

        public java.util.Optional<com.pulumi.core.Output<java.util.List<ProjectBucketConfigIndexConfigArgs>>> indexConfigs()
        Returns:
        A list of indexed fields and related configuration data. Structure is documented below.
      • location

        public com.pulumi.core.Output<java.lang.String> location()
        Returns:
        The location of the bucket.
      • locked

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> locked()
        Returns:
        Whether the bucket is locked. The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
      • project

        public com.pulumi.core.Output<java.lang.String> project()
        Returns:
        The parent resource that contains the logging bucket.
      • retentionDays

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> retentionDays()
        Returns:
        Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.