FolderBucketConfigState class
Input properties used for looking up and filtering FolderBucketConfig resources.
Constructors
-
FolderBucketConfigState({Input<
String?> ? bucketId, Input<FolderBucketConfigCmekSettings?> ? cmekSettings, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? folder, Input<List< ? indexConfigs, Input<FolderBucketConfigIndexConfig> ?>String?> ? lifecycleState, Input<String?> ? location, Input<String?> ? name, Input<int?> ? retentionDays}) -
Creates a new FolderBucketConfigState.
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.lifecycleStateThe bucket's lifecycle such as active or deleted. See LifecycleState.locationThe location of the bucket.nameThe resource name of the bucket. For example: "folders/my-folder-id/locations/my-location/buckets/my-bucket-id"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 -
FolderBucketConfigState.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
-
lifecycleState
→ Input<
String?> ? -
The bucket's lifecycle such as active or deleted. See LifecycleState.
final
-
location
→ Input<
String?> ? -
The location of the bucket.
final
-
name
→ Input<
String?> ? -
The resource name of the bucket. For example: "folders/my-folder-id/locations/my-location/buckets/my-bucket-id"
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