ProjectBucketConfigArgs class

The set of arguments for ProjectBucketConfig. The set of arguments for ProjectBucketConfig.

Constructors

ProjectBucketConfigArgs({required Input<String> bucketId, Input<ProjectBucketConfigCmekSettings?>? cmekSettings, Input<String?>? deletionPolicy, Input<String?>? description, Input<bool?>? enableAnalytics, Input<List<ProjectBucketConfigIndexConfig>?>? indexConfigs, required Input<String> location, Input<bool?>? locked, required Input<String> project, Input<int?>? retentionDays})
Creates a new ProjectBucketConfigArgs. bucketId The name of the logging bucket. Logging automatically creates two log buckets: _Required and _Default. cmekSettings 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. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". description Describes this bucket. enableAnalytics 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 A list of indexed fields and related configuration data. Structure is documented below. location The location of the bucket. locked 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 The parent resource that contains the logging bucket. retentionDays 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.
const
ProjectBucketConfigArgs.fromMap(Map<String, dynamic> map)
factory

Properties

bucketId → Input<String>
The name of the logging bucket. Logging automatically creates two log buckets: _Required and _Default.
final
cmekSettings → Input<ProjectBucketConfigCmekSettings?>?
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.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
Describes this bucket.
final
enableAnalytics → Input<bool?>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
indexConfigs → Input<List<ProjectBucketConfigIndexConfig>?>?
A list of indexed fields and related configuration data. Structure is documented below.
final
location → Input<String>
The location of the bucket.
final
locked → Input<bool?>?
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.
final
project → Input<String>
The parent resource that contains the logging bucket.
final
retentionDays → Input<int?>?
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited