FolderBucketConfigState constructor
- Input<
String?> ? bucketId, - Input<
FolderBucketConfigCmekSettings?> ? cmekSettings, - Input<
String?> ? deletionPolicy, - Input<
String?> ? description, - Input<
String?> ? folder, - Input<
List< ? indexConfigs,FolderBucketConfigIndexConfig> ?> - Input<
String?> ? lifecycleState, - Input<
String?> ? location, - Input<
String?> ? name, - Input<
int?> ? retentionDays,
Creates a new FolderBucketConfigState.
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.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE".
description Describes this bucket.
folder The parent resource that contains the logging bucket.
indexConfigs A list of indexed fields and related configuration data. Structure is documented below.
lifecycleState The bucket's lifecycle such as active or deleted. See LifecycleState.
location The location of the bucket.
name The resource name of the bucket. For example: "folders/my-folder-id/locations/my-location/buckets/my-bucket-id"
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. Bucket retention can not be increased on buckets outside of projects.
Implementation
const FolderBucketConfigState({
this.bucketId,
this.cmekSettings,
this.deletionPolicy,
this.description,
this.folder,
this.indexConfigs,
this.lifecycleState,
this.location,
this.name,
this.retentionDays,
});