Interface LoggingProjectBucketConfigConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
LoggingProjectBucketConfigConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:21.870Z") @Stability(Stable) public interface LoggingProjectBucketConfigConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classLoggingProjectBucketConfigConfig.BuilderA builder forLoggingProjectBucketConfigConfigstatic classLoggingProjectBucketConfigConfig.Jsii$ProxyAn implementation forLoggingProjectBucketConfigConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static LoggingProjectBucketConfigConfig.Builderbuilder()StringgetBucketId()The name of the logging bucket.default LoggingProjectBucketConfigCmekSettingsgetCmekSettings()cmek_settings block.default StringgetDescription()An optional description for this bucket.default ObjectgetEnableAnalytics()Enable log analytics for the bucket.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_bucket_config#id LoggingProjectBucketConfig#id}.default ObjectgetIndexConfigs()index_configs block.StringgetLocation()The location of the bucket.default ObjectgetLocked()Whether the bucket is locked.StringgetProject()The parent project that contains the logging bucket.default NumbergetRetentionDays()Logs will be retained by default for this amount of time, after which they will automatically be deleted.
-
-
-
Method Detail
-
getBucketId
@Stability(Stable) @NotNull String getBucketId()
The name of the logging bucket. Logging automatically creates two log buckets: _Required and _Default.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_bucket_config#bucket_id LoggingProjectBucketConfig#bucket_id}
-
getLocation
@Stability(Stable) @NotNull String getLocation()
The location of the bucket.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_bucket_config#location LoggingProjectBucketConfig#location}
-
getProject
@Stability(Stable) @NotNull String getProject()
The parent project that contains the logging bucket.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_bucket_config#project LoggingProjectBucketConfig#project}
-
getCmekSettings
@Stability(Stable) @Nullable default LoggingProjectBucketConfigCmekSettings getCmekSettings()
cmek_settings block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_bucket_config#cmek_settings LoggingProjectBucketConfig#cmek_settings}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
An optional description for this bucket.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_bucket_config#description LoggingProjectBucketConfig#description}
-
getEnableAnalytics
@Stability(Stable) @Nullable default Object getEnableAnalytics()
Enable log analytics for the bucket. Cannot be disabled once enabled.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_bucket_config#enable_analytics LoggingProjectBucketConfig#enable_analytics}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_bucket_config#id LoggingProjectBucketConfig#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
-
getIndexConfigs
@Stability(Stable) @Nullable default Object getIndexConfigs()
index_configs block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_bucket_config#index_configs LoggingProjectBucketConfig#index_configs}
-
getLocked
@Stability(Stable) @Nullable default Object getLocked()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_bucket_config#locked LoggingProjectBucketConfig#locked}
-
getRetentionDays
@Stability(Stable) @Nullable default Number getRetentionDays()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_bucket_config#retention_days LoggingProjectBucketConfig#retention_days}
-
builder
@Stability(Stable) static LoggingProjectBucketConfigConfig.Builder builder()
-
-