FolderBucketConfigArgs class
The set of arguments for FolderBucketConfig. The set of arguments for FolderBucketConfig.
Constructors
-
FolderBucketConfigArgs({required Input<
String> bucketId, Input<FolderBucketConfigCmekSettings?> ? cmekSettings, Input<String?> ? deletionPolicy, Input<String?> ? description, required Input<String> folder, Input<List< ? indexConfigs, required Input<FolderBucketConfigIndexConfig> ?>String> location, Input<int?> ? retentionDays}) -
Creates a new FolderBucketConfigArgs.
bucketIdThe name of the logging bucket. Logging automatically creates two log buckets:_Requiredand_Default.cmekSettingsThe 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.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".descriptionDescribes this bucket.folderThe parent resource that contains the logging bucket.indexConfigsA list of indexed fields and related configuration data. Structure is documented below.locationThe location of the bucket.retentionDaysLogs 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. Bucket retention can not be increased on buckets outside of projects.const -
FolderBucketConfigArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
bucketId
→ Input<
String> -
The name of the logging bucket. Logging automatically creates two log buckets:
_Requiredand_Default.final -
cmekSettings
→ Input<
FolderBucketConfigCmekSettings?> ? -
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.
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
-
folder
→ Input<
String> -
The parent resource that contains the logging bucket.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
indexConfigs
→ Input<
List< ?FolderBucketConfigIndexConfig> ?> -
A list of indexed fields and related configuration data. Structure is documented below.
final
-
location
→ Input<
String> -
The location of the 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. Bucket retention can not be increased on buckets outside of projects.
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