OrganizationBucketConfigArgs constructor
- required Input<
String> bucketId, - Input<
OrganizationBucketConfigCmekSettings?> ? cmekSettings, - Input<
String?> ? deletionPolicy, - Input<
String?> ? description, - Input<
List< ? indexConfigs,OrganizationBucketConfigIndexConfig> ?> - required Input<
String> location, - required Input<
String> organization, - Input<
int?> ? retentionDays,
Creates a new OrganizationBucketConfigArgs.
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.
indexConfigs A list of indexed fields and related configuration data. Structure is documented below.
location The location of the bucket. The supported locations are: "global" "us-central1"
organization 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. Bucket retention can not be increased on buckets outside of projects.
Implementation
const OrganizationBucketConfigArgs({
required this.bucketId,
this.cmekSettings,
this.deletionPolicy,
this.description,
this.indexConfigs,
required this.location,
required this.organization,
this.retentionDays,
});