Documentation ¶
Index ¶
- func LoggingMetric_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func LoggingMetric_IsConstruct(x interface{}) *bool
- func LoggingMetric_IsTerraformElement(x interface{}) *bool
- func LoggingMetric_IsTerraformResource(x interface{}) *bool
- func LoggingMetric_TfResourceType() *string
- func NewLoggingMetricBucketOptionsExplicitBucketsOutputReference_Override(l LoggingMetricBucketOptionsExplicitBucketsOutputReference, ...)
- func NewLoggingMetricBucketOptionsExponentialBucketsOutputReference_Override(l LoggingMetricBucketOptionsExponentialBucketsOutputReference, ...)
- func NewLoggingMetricBucketOptionsLinearBucketsOutputReference_Override(l LoggingMetricBucketOptionsLinearBucketsOutputReference, ...)
- func NewLoggingMetricBucketOptionsOutputReference_Override(l LoggingMetricBucketOptionsOutputReference, ...)
- func NewLoggingMetricMetricDescriptorLabelsList_Override(l LoggingMetricMetricDescriptorLabelsList, ...)
- func NewLoggingMetricMetricDescriptorLabelsOutputReference_Override(l LoggingMetricMetricDescriptorLabelsOutputReference, ...)
- func NewLoggingMetricMetricDescriptorOutputReference_Override(l LoggingMetricMetricDescriptorOutputReference, ...)
- func NewLoggingMetricTimeoutsOutputReference_Override(l LoggingMetricTimeoutsOutputReference, ...)
- func NewLoggingMetric_Override(l LoggingMetric, scope constructs.Construct, id *string, ...)
- type LoggingMetric
- type LoggingMetricBucketOptions
- type LoggingMetricBucketOptionsExplicitBuckets
- type LoggingMetricBucketOptionsExplicitBucketsOutputReference
- type LoggingMetricBucketOptionsExponentialBuckets
- type LoggingMetricBucketOptionsExponentialBucketsOutputReference
- type LoggingMetricBucketOptionsLinearBuckets
- type LoggingMetricBucketOptionsLinearBucketsOutputReference
- type LoggingMetricBucketOptionsOutputReference
- type LoggingMetricConfig
- type LoggingMetricMetricDescriptor
- type LoggingMetricMetricDescriptorLabels
- type LoggingMetricMetricDescriptorLabelsList
- type LoggingMetricMetricDescriptorLabelsOutputReference
- type LoggingMetricMetricDescriptorOutputReference
- type LoggingMetricTimeouts
- type LoggingMetricTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoggingMetric_GenerateConfigForImport ¶
func LoggingMetric_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a LoggingMetric resource upon running "cdktf plan <stack-name>".
func LoggingMetric_IsConstruct ¶
func LoggingMetric_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func LoggingMetric_IsTerraformElement ¶
func LoggingMetric_IsTerraformElement(x interface{}) *bool
Experimental.
func LoggingMetric_IsTerraformResource ¶
func LoggingMetric_IsTerraformResource(x interface{}) *bool
Experimental.
func LoggingMetric_TfResourceType ¶
func LoggingMetric_TfResourceType() *string
func NewLoggingMetricBucketOptionsExplicitBucketsOutputReference_Override ¶
func NewLoggingMetricBucketOptionsExplicitBucketsOutputReference_Override(l LoggingMetricBucketOptionsExplicitBucketsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewLoggingMetricBucketOptionsExponentialBucketsOutputReference_Override ¶
func NewLoggingMetricBucketOptionsExponentialBucketsOutputReference_Override(l LoggingMetricBucketOptionsExponentialBucketsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewLoggingMetricBucketOptionsLinearBucketsOutputReference_Override ¶
func NewLoggingMetricBucketOptionsLinearBucketsOutputReference_Override(l LoggingMetricBucketOptionsLinearBucketsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewLoggingMetricBucketOptionsOutputReference_Override ¶
func NewLoggingMetricBucketOptionsOutputReference_Override(l LoggingMetricBucketOptionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewLoggingMetricMetricDescriptorLabelsList_Override ¶
func NewLoggingMetricMetricDescriptorLabelsList_Override(l LoggingMetricMetricDescriptorLabelsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoggingMetricMetricDescriptorLabelsOutputReference_Override ¶
func NewLoggingMetricMetricDescriptorLabelsOutputReference_Override(l LoggingMetricMetricDescriptorLabelsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoggingMetricMetricDescriptorOutputReference_Override ¶
func NewLoggingMetricMetricDescriptorOutputReference_Override(l LoggingMetricMetricDescriptorOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewLoggingMetricTimeoutsOutputReference_Override ¶
func NewLoggingMetricTimeoutsOutputReference_Override(l LoggingMetricTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewLoggingMetric_Override ¶
func NewLoggingMetric_Override(l LoggingMetric, scope constructs.Construct, id *string, config *LoggingMetricConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric google_logging_metric} Resource.
Types ¶
type LoggingMetric ¶
type LoggingMetric interface { cdktf.TerraformResource BucketName() *string SetBucketName(val *string) BucketNameInput() *string BucketOptions() LoggingMetricBucketOptionsOutputReference BucketOptionsInput() *LoggingMetricBucketOptions // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string Disabled() interface{} SetDisabled(val interface{}) DisabledInput() interface{} Filter() *string SetFilter(val *string) FilterInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string LabelExtractors() *map[string]*string SetLabelExtractors(val *map[string]*string) LabelExtractorsInput() *map[string]*string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) MetricDescriptor() LoggingMetricMetricDescriptorOutputReference MetricDescriptorInput() *LoggingMetricMetricDescriptor Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Project() *string SetProject(val *string) ProjectInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() LoggingMetricTimeoutsOutputReference TimeoutsInput() interface{} ValueExtractor() *string SetValueExtractor(val *string) ValueExtractorInput() *string // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *string) // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Move the resource corresponding to "id" to this resource. // // Note that the resource being moved from must be marked as moved using it's instance function. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutBucketOptions(value *LoggingMetricBucketOptions) PutMetricDescriptor(value *LoggingMetricMetricDescriptor) PutTimeouts(value *LoggingMetricTimeouts) ResetBucketName() ResetBucketOptions() ResetDescription() ResetDisabled() ResetId() ResetLabelExtractors() ResetMetricDescriptor() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProject() ResetTimeouts() ResetValueExtractor() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric google_logging_metric}.
func NewLoggingMetric ¶
func NewLoggingMetric(scope constructs.Construct, id *string, config *LoggingMetricConfig) LoggingMetric
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric google_logging_metric} Resource.
type LoggingMetricBucketOptions ¶
type LoggingMetricBucketOptions struct { // explicit_buckets block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#explicit_buckets LoggingMetric#explicit_buckets} ExplicitBuckets *LoggingMetricBucketOptionsExplicitBuckets `field:"optional" json:"explicitBuckets" yaml:"explicitBuckets"` // exponential_buckets block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#exponential_buckets LoggingMetric#exponential_buckets} ExponentialBuckets *LoggingMetricBucketOptionsExponentialBuckets `field:"optional" json:"exponentialBuckets" yaml:"exponentialBuckets"` // linear_buckets block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#linear_buckets LoggingMetric#linear_buckets} LinearBuckets *LoggingMetricBucketOptionsLinearBuckets `field:"optional" json:"linearBuckets" yaml:"linearBuckets"` }
type LoggingMetricBucketOptionsExplicitBuckets ¶
type LoggingMetricBucketOptionsExplicitBuckets struct { // The values must be monotonically increasing. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#bounds LoggingMetric#bounds} Bounds *[]*float64 `field:"required" json:"bounds" yaml:"bounds"` }
type LoggingMetricBucketOptionsExplicitBucketsOutputReference ¶
type LoggingMetricBucketOptionsExplicitBucketsOutputReference interface { cdktf.ComplexObject Bounds() *[]*float64 SetBounds(val *[]*float64) BoundsInput() *[]*float64 // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *LoggingMetricBucketOptionsExplicitBuckets SetInternalValue(val *LoggingMetricBucketOptionsExplicitBuckets) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewLoggingMetricBucketOptionsExplicitBucketsOutputReference ¶
func NewLoggingMetricBucketOptionsExplicitBucketsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) LoggingMetricBucketOptionsExplicitBucketsOutputReference
type LoggingMetricBucketOptionsExponentialBuckets ¶
type LoggingMetricBucketOptionsExponentialBuckets struct { // Must be greater than 1. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#growth_factor LoggingMetric#growth_factor} GrowthFactor *float64 `field:"required" json:"growthFactor" yaml:"growthFactor"` // Must be greater than 0. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#num_finite_buckets LoggingMetric#num_finite_buckets} NumFiniteBuckets *float64 `field:"required" json:"numFiniteBuckets" yaml:"numFiniteBuckets"` // Must be greater than 0. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#scale LoggingMetric#scale} Scale *float64 `field:"required" json:"scale" yaml:"scale"` }
type LoggingMetricBucketOptionsExponentialBucketsOutputReference ¶
type LoggingMetricBucketOptionsExponentialBucketsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string GrowthFactor() *float64 SetGrowthFactor(val *float64) GrowthFactorInput() *float64 InternalValue() *LoggingMetricBucketOptionsExponentialBuckets SetInternalValue(val *LoggingMetricBucketOptionsExponentialBuckets) NumFiniteBuckets() *float64 SetNumFiniteBuckets(val *float64) NumFiniteBucketsInput() *float64 Scale() *float64 SetScale(val *float64) ScaleInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewLoggingMetricBucketOptionsExponentialBucketsOutputReference ¶
func NewLoggingMetricBucketOptionsExponentialBucketsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) LoggingMetricBucketOptionsExponentialBucketsOutputReference
type LoggingMetricBucketOptionsLinearBuckets ¶
type LoggingMetricBucketOptionsLinearBuckets struct { // Must be greater than 0. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#num_finite_buckets LoggingMetric#num_finite_buckets} NumFiniteBuckets *float64 `field:"required" json:"numFiniteBuckets" yaml:"numFiniteBuckets"` // Lower bound of the first bucket. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#offset LoggingMetric#offset} Offset *float64 `field:"required" json:"offset" yaml:"offset"` // Must be greater than 0. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#width LoggingMetric#width} Width *float64 `field:"required" json:"width" yaml:"width"` }
type LoggingMetricBucketOptionsLinearBucketsOutputReference ¶
type LoggingMetricBucketOptionsLinearBucketsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *LoggingMetricBucketOptionsLinearBuckets SetInternalValue(val *LoggingMetricBucketOptionsLinearBuckets) NumFiniteBuckets() *float64 SetNumFiniteBuckets(val *float64) NumFiniteBucketsInput() *float64 Offset() *float64 SetOffset(val *float64) OffsetInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Width() *float64 SetWidth(val *float64) WidthInput() *float64 // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewLoggingMetricBucketOptionsLinearBucketsOutputReference ¶
func NewLoggingMetricBucketOptionsLinearBucketsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) LoggingMetricBucketOptionsLinearBucketsOutputReference
type LoggingMetricBucketOptionsOutputReference ¶
type LoggingMetricBucketOptionsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string ExplicitBuckets() LoggingMetricBucketOptionsExplicitBucketsOutputReference ExplicitBucketsInput() *LoggingMetricBucketOptionsExplicitBuckets ExponentialBuckets() LoggingMetricBucketOptionsExponentialBucketsOutputReference ExponentialBucketsInput() *LoggingMetricBucketOptionsExponentialBuckets // Experimental. Fqn() *string InternalValue() *LoggingMetricBucketOptions SetInternalValue(val *LoggingMetricBucketOptions) LinearBuckets() LoggingMetricBucketOptionsLinearBucketsOutputReference LinearBucketsInput() *LoggingMetricBucketOptionsLinearBuckets // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutExplicitBuckets(value *LoggingMetricBucketOptionsExplicitBuckets) PutExponentialBuckets(value *LoggingMetricBucketOptionsExponentialBuckets) PutLinearBuckets(value *LoggingMetricBucketOptionsLinearBuckets) ResetExplicitBuckets() ResetExponentialBuckets() ResetLinearBuckets() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewLoggingMetricBucketOptionsOutputReference ¶
func NewLoggingMetricBucketOptionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) LoggingMetricBucketOptionsOutputReference
type LoggingMetricConfig ¶
type LoggingMetricConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-filters) which is used to match log entries. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#filter LoggingMetric#filter} Filter *string `field:"required" json:"filter" yaml:"filter"` // The client-assigned metric identifier. // // Examples - "error_count", "nginx/requests". // Metric identifiers are limited to 100 characters and can include only the following // characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash // character (/) denotes a hierarchy of name pieces, and it cannot be the first character // of the name. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#name LoggingMetric#name} Name *string `field:"required" json:"name" yaml:"name"` // The resource name of the Log Bucket that owns the Log Metric. // // Only Log Buckets in projects // are supported. The bucket has to be in the same project as the metric. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#bucket_name LoggingMetric#bucket_name} BucketName *string `field:"optional" json:"bucketName" yaml:"bucketName"` // bucket_options block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#bucket_options LoggingMetric#bucket_options} BucketOptions *LoggingMetricBucketOptions `field:"optional" json:"bucketOptions" yaml:"bucketOptions"` // A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#description LoggingMetric#description} Description *string `field:"optional" json:"description" yaml:"description"` // If set to True, then this metric is disabled and it does not generate any points. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#disabled LoggingMetric#disabled} Disabled interface{} `field:"optional" json:"disabled" yaml:"disabled"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#id LoggingMetric#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. Id *string `field:"optional" json:"id" yaml:"id"` // A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value. // // Each label key specified in the LabelDescriptor must // have an associated extractor expression in this map. The syntax of the extractor expression is // the same as for the valueExtractor field. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#label_extractors LoggingMetric#label_extractors} LabelExtractors *map[string]*string `field:"optional" json:"labelExtractors" yaml:"labelExtractors"` // metric_descriptor block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#metric_descriptor LoggingMetric#metric_descriptor} MetricDescriptor *LoggingMetricMetricDescriptor `field:"optional" json:"metricDescriptor" yaml:"metricDescriptor"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#project LoggingMetric#project}. Project *string `field:"optional" json:"project" yaml:"project"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#timeouts LoggingMetric#timeouts} Timeouts *LoggingMetricTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // A valueExtractor is required when using a distribution logs-based metric to extract the values to record from a log entry. // // Two functions are supported for value extraction - EXTRACT(field) or // REGEXP_EXTRACT(field, regex). The argument are 1. field - The name of the log entry field from which // the value is to be extracted. 2. regex - A regular expression using the Google RE2 syntax // (https://github.com/google/re2/wiki/Syntax) with a single capture group to extract data from the specified // log entry field. The value of the field is converted to a string before applying the regex. It is an // error to specify a regex that does not include exactly one capture group. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#value_extractor LoggingMetric#value_extractor} ValueExtractor *string `field:"optional" json:"valueExtractor" yaml:"valueExtractor"` }
type LoggingMetricMetricDescriptor ¶
type LoggingMetricMetricDescriptor struct { // Whether the metric records instantaneous values, changes to a value, etc. // // Some combinations of metricKind and valueType might not be supported. // For counter metrics, set this to DELTA. Possible values: ["DELTA", "GAUGE", "CUMULATIVE"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#metric_kind LoggingMetric#metric_kind} MetricKind *string `field:"required" json:"metricKind" yaml:"metricKind"` // Whether the measurement is an integer, a floating-point number, etc. // // Some combinations of metricKind and valueType might not be supported. // For counter metrics, set this to INT64. Possible values: ["BOOL", "INT64", "DOUBLE", "STRING", "DISTRIBUTION", "MONEY"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#value_type LoggingMetric#value_type} ValueType *string `field:"required" json:"valueType" yaml:"valueType"` // A concise name for the metric, which can be displayed in user interfaces. // // Use sentence case // without an ending period, for example "Request count". This field is optional but it is // recommended to be set for any metrics associated with user-visible concepts, such as Quota. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#display_name LoggingMetric#display_name} DisplayName *string `field:"optional" json:"displayName" yaml:"displayName"` // labels block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#labels LoggingMetric#labels} Labels interface{} `field:"optional" json:"labels" yaml:"labels"` // The unit in which the metric value is reported. // // It is only applicable if the valueType is // 'INT64', 'DOUBLE', or 'DISTRIBUTION'. The supported units are a subset of // [The Unified Code for Units of Measure](http://unitsofmeasure.org/ucum.html) standard // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#unit LoggingMetric#unit} Unit *string `field:"optional" json:"unit" yaml:"unit"` }
type LoggingMetricMetricDescriptorLabels ¶
type LoggingMetricMetricDescriptorLabels struct { // The label key. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#key LoggingMetric#key} Key *string `field:"required" json:"key" yaml:"key"` // A human-readable description for the label. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#description LoggingMetric#description} Description *string `field:"optional" json:"description" yaml:"description"` // The type of data that can be assigned to the label. Default value: "STRING" Possible values: ["BOOL", "INT64", "STRING"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#value_type LoggingMetric#value_type} ValueType *string `field:"optional" json:"valueType" yaml:"valueType"` }
type LoggingMetricMetricDescriptorLabelsList ¶
type LoggingMetricMetricDescriptorLabelsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) LoggingMetricMetricDescriptorLabelsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewLoggingMetricMetricDescriptorLabelsList ¶
func NewLoggingMetricMetricDescriptorLabelsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoggingMetricMetricDescriptorLabelsList
type LoggingMetricMetricDescriptorLabelsOutputReference ¶
type LoggingMetricMetricDescriptorLabelsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Description() *string SetDescription(val *string) DescriptionInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Key() *string SetKey(val *string) KeyInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) ValueType() *string SetValueType(val *string) ValueTypeInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetDescription() ResetValueType() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewLoggingMetricMetricDescriptorLabelsOutputReference ¶
func NewLoggingMetricMetricDescriptorLabelsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoggingMetricMetricDescriptorLabelsOutputReference
type LoggingMetricMetricDescriptorOutputReference ¶
type LoggingMetricMetricDescriptorOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string DisplayName() *string SetDisplayName(val *string) DisplayNameInput() *string // Experimental. Fqn() *string InternalValue() *LoggingMetricMetricDescriptor SetInternalValue(val *LoggingMetricMetricDescriptor) Labels() LoggingMetricMetricDescriptorLabelsList LabelsInput() interface{} MetricKind() *string SetMetricKind(val *string) MetricKindInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Unit() *string SetUnit(val *string) UnitInput() *string ValueType() *string SetValueType(val *string) ValueTypeInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutLabels(value interface{}) ResetDisplayName() ResetLabels() ResetUnit() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewLoggingMetricMetricDescriptorOutputReference ¶
func NewLoggingMetricMetricDescriptorOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) LoggingMetricMetricDescriptorOutputReference
type LoggingMetricTimeouts ¶
type LoggingMetricTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#create LoggingMetric#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#delete LoggingMetric#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.15.0/docs/resources/logging_metric#update LoggingMetric#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type LoggingMetricTimeoutsOutputReference ¶
type LoggingMetricTimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetDelete() ResetUpdate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewLoggingMetricTimeoutsOutputReference ¶
func NewLoggingMetricTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) LoggingMetricTimeoutsOutputReference
Source Files ¶
- LoggingMetric.go
- LoggingMetricBucketOptions.go
- LoggingMetricBucketOptionsExplicitBuckets.go
- LoggingMetricBucketOptionsExplicitBucketsOutputReference.go
- LoggingMetricBucketOptionsExplicitBucketsOutputReference__checks.go
- LoggingMetricBucketOptionsExponentialBuckets.go
- LoggingMetricBucketOptionsExponentialBucketsOutputReference.go
- LoggingMetricBucketOptionsExponentialBucketsOutputReference__checks.go
- LoggingMetricBucketOptionsLinearBuckets.go
- LoggingMetricBucketOptionsLinearBucketsOutputReference.go
- LoggingMetricBucketOptionsLinearBucketsOutputReference__checks.go
- LoggingMetricBucketOptionsOutputReference.go
- LoggingMetricBucketOptionsOutputReference__checks.go
- LoggingMetricConfig.go
- LoggingMetricMetricDescriptor.go
- LoggingMetricMetricDescriptorLabels.go
- LoggingMetricMetricDescriptorLabelsList.go
- LoggingMetricMetricDescriptorLabelsList__checks.go
- LoggingMetricMetricDescriptorLabelsOutputReference.go
- LoggingMetricMetricDescriptorLabelsOutputReference__checks.go
- LoggingMetricMetricDescriptorOutputReference.go
- LoggingMetricMetricDescriptorOutputReference__checks.go
- LoggingMetricTimeouts.go
- LoggingMetricTimeoutsOutputReference.go
- LoggingMetricTimeoutsOutputReference__checks.go
- LoggingMetric__checks.go
- main.go