Documentation ¶
Index ¶
- func NewServiceLevelObjectiveQueryOutputReference_Override(s ServiceLevelObjectiveQueryOutputReference, ...)
- func NewServiceLevelObjectiveSliSpecificationOutputReference_Override(s ServiceLevelObjectiveSliSpecificationOutputReference, ...)
- func NewServiceLevelObjectiveSliSpecificationTimeSliceOutputReference_Override(s ServiceLevelObjectiveSliSpecificationTimeSliceOutputReference, ...)
- func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryFormulaOutputReference_Override(s ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormulaOutputReference, ...)
- func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryOutputReference_Override(s ServiceLevelObjectiveSliSpecificationTimeSliceQueryOutputReference, ...)
- func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryList_Override(s ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryList, ...)
- func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQueryOutputReference_Override(...)
- func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryOutputReference_Override(s ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryOutputReference, ...)
- func NewServiceLevelObjectiveThresholdsList_Override(s ServiceLevelObjectiveThresholdsList, ...)
- func NewServiceLevelObjectiveThresholdsOutputReference_Override(s ServiceLevelObjectiveThresholdsOutputReference, ...)
- func NewServiceLevelObjective_Override(s ServiceLevelObjective, scope constructs.Construct, id *string, ...)
- func ServiceLevelObjective_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func ServiceLevelObjective_IsConstruct(x interface{}) *bool
- func ServiceLevelObjective_IsTerraformElement(x interface{}) *bool
- func ServiceLevelObjective_IsTerraformResource(x interface{}) *bool
- func ServiceLevelObjective_TfResourceType() *string
- type ServiceLevelObjective
- type ServiceLevelObjectiveConfig
- type ServiceLevelObjectiveQuery
- type ServiceLevelObjectiveQueryOutputReference
- type ServiceLevelObjectiveSliSpecification
- type ServiceLevelObjectiveSliSpecificationOutputReference
- type ServiceLevelObjectiveSliSpecificationTimeSlice
- type ServiceLevelObjectiveSliSpecificationTimeSliceOutputReference
- type ServiceLevelObjectiveSliSpecificationTimeSliceQuery
- type ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormula
- type ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormulaOutputReference
- type ServiceLevelObjectiveSliSpecificationTimeSliceQueryOutputReference
- type ServiceLevelObjectiveSliSpecificationTimeSliceQueryQuery
- type ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryList
- type ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQuery
- type ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQueryOutputReference
- type ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryOutputReference
- type ServiceLevelObjectiveThresholds
- type ServiceLevelObjectiveThresholdsList
- type ServiceLevelObjectiveThresholdsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceLevelObjectiveQueryOutputReference_Override ¶
func NewServiceLevelObjectiveQueryOutputReference_Override(s ServiceLevelObjectiveQueryOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceLevelObjectiveSliSpecificationOutputReference_Override ¶ added in v11.2.0
func NewServiceLevelObjectiveSliSpecificationOutputReference_Override(s ServiceLevelObjectiveSliSpecificationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceLevelObjectiveSliSpecificationTimeSliceOutputReference_Override ¶ added in v11.2.0
func NewServiceLevelObjectiveSliSpecificationTimeSliceOutputReference_Override(s ServiceLevelObjectiveSliSpecificationTimeSliceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryFormulaOutputReference_Override ¶ added in v11.2.0
func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryFormulaOutputReference_Override(s ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormulaOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryOutputReference_Override ¶ added in v11.2.0
func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryOutputReference_Override(s ServiceLevelObjectiveSliSpecificationTimeSliceQueryOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryList_Override ¶ added in v11.2.0
func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryList_Override(s ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQueryOutputReference_Override ¶ added in v11.2.0
func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQueryOutputReference_Override(s ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQueryOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryOutputReference_Override ¶ added in v11.2.0
func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryOutputReference_Override(s ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewServiceLevelObjectiveThresholdsList_Override ¶
func NewServiceLevelObjectiveThresholdsList_Override(s ServiceLevelObjectiveThresholdsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewServiceLevelObjectiveThresholdsOutputReference_Override ¶
func NewServiceLevelObjectiveThresholdsOutputReference_Override(s ServiceLevelObjectiveThresholdsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewServiceLevelObjective_Override ¶
func NewServiceLevelObjective_Override(s ServiceLevelObjective, scope constructs.Construct, id *string, config *ServiceLevelObjectiveConfig)
Create a new {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective datadog_service_level_objective} Resource.
func ServiceLevelObjective_GenerateConfigForImport ¶
func ServiceLevelObjective_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a ServiceLevelObjective resource upon running "cdktf plan <stack-name>".
func ServiceLevelObjective_IsConstruct ¶
func ServiceLevelObjective_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 ServiceLevelObjective_IsTerraformElement ¶
func ServiceLevelObjective_IsTerraformElement(x interface{}) *bool
Experimental.
func ServiceLevelObjective_IsTerraformResource ¶
func ServiceLevelObjective_IsTerraformResource(x interface{}) *bool
Experimental.
func ServiceLevelObjective_TfResourceType ¶
func ServiceLevelObjective_TfResourceType() *string
Types ¶
type ServiceLevelObjective ¶
type ServiceLevelObjective interface { cdktf.TerraformResource // 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 ForceDelete() interface{} SetForceDelete(val interface{}) ForceDeleteInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Groups() *[]*string SetGroups(val *[]*string) GroupsInput() *[]*string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) MonitorIds() *[]*float64 SetMonitorIds(val *[]*float64) MonitorIdsInput() *[]*float64 Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) Query() ServiceLevelObjectiveQueryOutputReference QueryInput() *ServiceLevelObjectiveQuery // Experimental. RawOverrides() interface{} SliSpecification() ServiceLevelObjectiveSliSpecificationOutputReference SliSpecificationInput() *ServiceLevelObjectiveSliSpecification Tags() *[]*string SetTags(val *[]*string) TagsInput() *[]*string TargetThreshold() *float64 SetTargetThreshold(val *float64) TargetThresholdInput() *float64 // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Thresholds() ServiceLevelObjectiveThresholdsList ThresholdsInput() interface{} Timeframe() *string SetTimeframe(val *string) TimeframeInput() *string Type() *string SetType(val *string) TypeInput() *string Validate() interface{} SetValidate(val interface{}) ValidateInput() interface{} WarningThreshold() *float64 SetWarningThreshold(val *float64) WarningThresholdInput() *float64 // 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) PutQuery(value *ServiceLevelObjectiveQuery) PutSliSpecification(value *ServiceLevelObjectiveSliSpecification) PutThresholds(value interface{}) ResetDescription() ResetForceDelete() ResetGroups() ResetId() ResetMonitorIds() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetQuery() ResetSliSpecification() ResetTags() ResetTargetThreshold() ResetTimeframe() ResetValidate() ResetWarningThreshold() 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/datadog/datadog/3.53.0/docs/resources/service_level_objective datadog_service_level_objective}.
func NewServiceLevelObjective ¶
func NewServiceLevelObjective(scope constructs.Construct, id *string, config *ServiceLevelObjectiveConfig) ServiceLevelObjective
Create a new {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective datadog_service_level_objective} Resource.
type ServiceLevelObjectiveConfig ¶
type ServiceLevelObjectiveConfig 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"` // Name of Datadog service level objective. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#name ServiceLevelObjective#name} Name *string `field:"required" json:"name" yaml:"name"` // thresholds block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#thresholds ServiceLevelObjective#thresholds} Thresholds interface{} `field:"required" json:"thresholds" yaml:"thresholds"` // The type of the service level objective. // // The mapping from these types to the types found in the Datadog Web UI can be found in the Datadog API [documentation page](https://docs.datadoghq.com/api/v1/service-level-objectives/#create-a-slo-object). Valid values are `metric`, `monitor`, `time_slice`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#type ServiceLevelObjective#type} Type *string `field:"required" json:"type" yaml:"type"` // A description of this service level objective. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#description ServiceLevelObjective#description} Description *string `field:"optional" json:"description" yaml:"description"` // A boolean indicating whether this monitor can be deleted even if it's referenced by other resources (for example, dashboards). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#force_delete ServiceLevelObjective#force_delete} ForceDelete interface{} `field:"optional" json:"forceDelete" yaml:"forceDelete"` // A static set of groups to filter monitor-based SLOs. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#groups ServiceLevelObjective#groups} Groups *[]*string `field:"optional" json:"groups" yaml:"groups"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#id ServiceLevelObjective#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 static set of monitor IDs to use as part of the SLO. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#monitor_ids ServiceLevelObjective#monitor_ids} MonitorIds *[]*float64 `field:"optional" json:"monitorIds" yaml:"monitorIds"` // query block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#query ServiceLevelObjective#query} Query *ServiceLevelObjectiveQuery `field:"optional" json:"query" yaml:"query"` // sli_specification block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#sli_specification ServiceLevelObjective#sli_specification} SliSpecification *ServiceLevelObjectiveSliSpecification `field:"optional" json:"sliSpecification" yaml:"sliSpecification"` // A list of tags to associate with your service level objective. // // This can help you categorize and filter service level objectives in the service level objectives page of the UI. Note: it's not currently possible to filter by these tags when querying via the API // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#tags ServiceLevelObjective#tags} Tags *[]*string `field:"optional" json:"tags" yaml:"tags"` // The objective's target in `(0,100)`. This must match the corresponding thresholds of the primary time frame. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#target_threshold ServiceLevelObjective#target_threshold} TargetThreshold *float64 `field:"optional" json:"targetThreshold" yaml:"targetThreshold"` // The primary time frame for the objective. // // The mapping from these types to the types found in the Datadog Web UI can be found in the Datadog API documentation page. Valid values are `7d`, `30d`, `90d`, `custom`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#timeframe ServiceLevelObjective#timeframe} Timeframe *string `field:"optional" json:"timeframe" yaml:"timeframe"` // Whether or not to validate the SLO. It checks if monitors added to a monitor SLO already exist. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#validate ServiceLevelObjective#validate} Validate interface{} `field:"optional" json:"validate" yaml:"validate"` // The objective's warning value in `(0,100)`. // // This must be greater than the target value and match the corresponding thresholds of the primary time frame. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#warning_threshold ServiceLevelObjective#warning_threshold} WarningThreshold *float64 `field:"optional" json:"warningThreshold" yaml:"warningThreshold"` }
type ServiceLevelObjectiveQuery ¶
type ServiceLevelObjectiveQuery struct { // The sum of the `total` events. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#denominator ServiceLevelObjective#denominator} Denominator *string `field:"required" json:"denominator" yaml:"denominator"` // The sum of all the `good` events. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#numerator ServiceLevelObjective#numerator} Numerator *string `field:"required" json:"numerator" yaml:"numerator"` }
type ServiceLevelObjectiveQueryOutputReference ¶
type ServiceLevelObjectiveQueryOutputReference 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 Denominator() *string SetDenominator(val *string) DenominatorInput() *string // Experimental. Fqn() *string InternalValue() *ServiceLevelObjectiveQuery SetInternalValue(val *ServiceLevelObjectiveQuery) Numerator() *string SetNumerator(val *string) NumeratorInput() *string // 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 NewServiceLevelObjectiveQueryOutputReference ¶
func NewServiceLevelObjectiveQueryOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceLevelObjectiveQueryOutputReference
type ServiceLevelObjectiveSliSpecification ¶ added in v11.2.0
type ServiceLevelObjectiveSliSpecification struct { // time_slice block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#time_slice ServiceLevelObjective#time_slice} TimeSlice *ServiceLevelObjectiveSliSpecificationTimeSlice `field:"required" json:"timeSlice" yaml:"timeSlice"` }
type ServiceLevelObjectiveSliSpecificationOutputReference ¶ added in v11.2.0
type ServiceLevelObjectiveSliSpecificationOutputReference 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() *ServiceLevelObjectiveSliSpecification SetInternalValue(val *ServiceLevelObjectiveSliSpecification) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) TimeSlice() ServiceLevelObjectiveSliSpecificationTimeSliceOutputReference TimeSliceInput() *ServiceLevelObjectiveSliSpecificationTimeSlice // 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 PutTimeSlice(value *ServiceLevelObjectiveSliSpecificationTimeSlice) // 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 NewServiceLevelObjectiveSliSpecificationOutputReference ¶ added in v11.2.0
func NewServiceLevelObjectiveSliSpecificationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceLevelObjectiveSliSpecificationOutputReference
type ServiceLevelObjectiveSliSpecificationTimeSlice ¶ added in v11.2.0
type ServiceLevelObjectiveSliSpecificationTimeSlice struct { // The comparator used to compare the SLI value to the threshold. Valid values are `>`, `>=`, `<`, `<=`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#comparator ServiceLevelObjective#comparator} Comparator *string `field:"required" json:"comparator" yaml:"comparator"` // query block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#query ServiceLevelObjective#query} Query *ServiceLevelObjectiveSliSpecificationTimeSliceQuery `field:"required" json:"query" yaml:"query"` // The threshold value to which each SLI value will be compared. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#threshold ServiceLevelObjective#threshold} Threshold *float64 `field:"required" json:"threshold" yaml:"threshold"` // The interval used when querying data, which defines the size of a time slice. // // Valid values are `60`, `300`. Defaults to `300`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#query_interval_seconds ServiceLevelObjective#query_interval_seconds} QueryIntervalSeconds *float64 `field:"optional" json:"queryIntervalSeconds" yaml:"queryIntervalSeconds"` }
type ServiceLevelObjectiveSliSpecificationTimeSliceOutputReference ¶ added in v11.2.0
type ServiceLevelObjectiveSliSpecificationTimeSliceOutputReference interface { cdktf.ComplexObject Comparator() *string SetComparator(val *string) ComparatorInput() *string // 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() *ServiceLevelObjectiveSliSpecificationTimeSlice SetInternalValue(val *ServiceLevelObjectiveSliSpecificationTimeSlice) Query() ServiceLevelObjectiveSliSpecificationTimeSliceQueryOutputReference QueryInput() *ServiceLevelObjectiveSliSpecificationTimeSliceQuery QueryIntervalSeconds() *float64 SetQueryIntervalSeconds(val *float64) QueryIntervalSecondsInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Threshold() *float64 SetThreshold(val *float64) ThresholdInput() *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 PutQuery(value *ServiceLevelObjectiveSliSpecificationTimeSliceQuery) ResetQueryIntervalSeconds() // 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 NewServiceLevelObjectiveSliSpecificationTimeSliceOutputReference ¶ added in v11.2.0
func NewServiceLevelObjectiveSliSpecificationTimeSliceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceLevelObjectiveSliSpecificationTimeSliceOutputReference
type ServiceLevelObjectiveSliSpecificationTimeSliceQuery ¶ added in v11.2.0
type ServiceLevelObjectiveSliSpecificationTimeSliceQuery struct { // formula block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#formula ServiceLevelObjective#formula} Formula *ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormula `field:"required" json:"formula" yaml:"formula"` // query block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#query ServiceLevelObjective#query} Query interface{} `field:"required" json:"query" yaml:"query"` }
type ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormula ¶ added in v11.2.0
type ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormula struct { // The formula string, which is an expression involving named queries. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#formula_expression ServiceLevelObjective#formula_expression} FormulaExpression *string `field:"required" json:"formulaExpression" yaml:"formulaExpression"` }
type ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormulaOutputReference ¶ added in v11.2.0
type ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormulaOutputReference 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 FormulaExpression() *string SetFormulaExpression(val *string) FormulaExpressionInput() *string // Experimental. Fqn() *string InternalValue() *ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormula SetInternalValue(val *ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormula) // 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 NewServiceLevelObjectiveSliSpecificationTimeSliceQueryFormulaOutputReference ¶ added in v11.2.0
func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryFormulaOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormulaOutputReference
type ServiceLevelObjectiveSliSpecificationTimeSliceQueryOutputReference ¶ added in v11.2.0
type ServiceLevelObjectiveSliSpecificationTimeSliceQueryOutputReference 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 Formula() ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormulaOutputReference FormulaInput() *ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormula // Experimental. Fqn() *string InternalValue() *ServiceLevelObjectiveSliSpecificationTimeSliceQuery SetInternalValue(val *ServiceLevelObjectiveSliSpecificationTimeSliceQuery) Query() ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryList QueryInput() interface{} // 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 PutFormula(value *ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormula) PutQuery(value interface{}) // 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 NewServiceLevelObjectiveSliSpecificationTimeSliceQueryOutputReference ¶ added in v11.2.0
func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceLevelObjectiveSliSpecificationTimeSliceQueryOutputReference
type ServiceLevelObjectiveSliSpecificationTimeSliceQueryQuery ¶ added in v11.2.0
type ServiceLevelObjectiveSliSpecificationTimeSliceQueryQuery struct { // metric_query block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#metric_query ServiceLevelObjective#metric_query} MetricQuery *ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQuery `field:"optional" json:"metricQuery" yaml:"metricQuery"` }
type ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryList ¶ added in v11.2.0
type ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryList 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) ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryOutputReference // 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 NewServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryList ¶ added in v11.2.0
func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryList
type ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQuery ¶ added in v11.2.0
type ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQuery struct { // The name of the query for use in formulas. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#name ServiceLevelObjective#name} Name *string `field:"required" json:"name" yaml:"name"` // The metrics query definition. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#query ServiceLevelObjective#query} Query *string `field:"required" json:"query" yaml:"query"` // The data source for metrics queries. Defaults to `"metrics"`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#data_source ServiceLevelObjective#data_source} DataSource *string `field:"optional" json:"dataSource" yaml:"dataSource"` }
type ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQueryOutputReference ¶ added in v11.2.0
type ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQueryOutputReference 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 DataSource() *string SetDataSource(val *string) DataSourceInput() *string // Experimental. Fqn() *string InternalValue() *ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQuery SetInternalValue(val *ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQuery) Name() *string SetName(val *string) NameInput() *string Query() *string SetQuery(val *string) QueryInput() *string // 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 ResetDataSource() // 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 NewServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQueryOutputReference ¶ added in v11.2.0
func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQueryOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQueryOutputReference
type ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryOutputReference ¶ added in v11.2.0
type ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryOutputReference 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() interface{} SetInternalValue(val interface{}) MetricQuery() ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQueryOutputReference MetricQueryInput() *ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQuery // 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 PutMetricQuery(value *ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQuery) ResetMetricQuery() // 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 NewServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryOutputReference ¶ added in v11.2.0
func NewServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryOutputReference
type ServiceLevelObjectiveThresholds ¶
type ServiceLevelObjectiveThresholds struct { // The objective's target in `(0,100)`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#target ServiceLevelObjective#target} Target *float64 `field:"required" json:"target" yaml:"target"` // The time frame for the objective. // // The mapping from these types to the types found in the Datadog Web UI can be found in the Datadog API documentation page. Valid values are `7d`, `30d`, `90d`, `custom`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#timeframe ServiceLevelObjective#timeframe} Timeframe *string `field:"required" json:"timeframe" yaml:"timeframe"` // The objective's warning value in `(0,100)`. This must be greater than the target value. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.53.0/docs/resources/service_level_objective#warning ServiceLevelObjective#warning} Warning *float64 `field:"optional" json:"warning" yaml:"warning"` }
type ServiceLevelObjectiveThresholdsList ¶
type ServiceLevelObjectiveThresholdsList 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) ServiceLevelObjectiveThresholdsOutputReference // 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 NewServiceLevelObjectiveThresholdsList ¶
func NewServiceLevelObjectiveThresholdsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ServiceLevelObjectiveThresholdsList
type ServiceLevelObjectiveThresholdsOutputReference ¶
type ServiceLevelObjectiveThresholdsOutputReference 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() interface{} SetInternalValue(val interface{}) Target() *float64 SetTarget(val *float64) TargetDisplay() *string TargetInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Timeframe() *string SetTimeframe(val *string) TimeframeInput() *string Warning() *float64 SetWarning(val *float64) WarningDisplay() *string WarningInput() *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 ResetWarning() // 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 NewServiceLevelObjectiveThresholdsOutputReference ¶
func NewServiceLevelObjectiveThresholdsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ServiceLevelObjectiveThresholdsOutputReference
Source Files ¶
- ServiceLevelObjective.go
- ServiceLevelObjectiveConfig.go
- ServiceLevelObjectiveQuery.go
- ServiceLevelObjectiveQueryOutputReference.go
- ServiceLevelObjectiveQueryOutputReference__checks.go
- ServiceLevelObjectiveSliSpecification.go
- ServiceLevelObjectiveSliSpecificationOutputReference.go
- ServiceLevelObjectiveSliSpecificationOutputReference__checks.go
- ServiceLevelObjectiveSliSpecificationTimeSlice.go
- ServiceLevelObjectiveSliSpecificationTimeSliceOutputReference.go
- ServiceLevelObjectiveSliSpecificationTimeSliceOutputReference__checks.go
- ServiceLevelObjectiveSliSpecificationTimeSliceQuery.go
- ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormula.go
- ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormulaOutputReference.go
- ServiceLevelObjectiveSliSpecificationTimeSliceQueryFormulaOutputReference__checks.go
- ServiceLevelObjectiveSliSpecificationTimeSliceQueryOutputReference.go
- ServiceLevelObjectiveSliSpecificationTimeSliceQueryOutputReference__checks.go
- ServiceLevelObjectiveSliSpecificationTimeSliceQueryQuery.go
- ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryList.go
- ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryList__checks.go
- ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQuery.go
- ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQueryOutputReference.go
- ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryMetricQueryOutputReference__checks.go
- ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryOutputReference.go
- ServiceLevelObjectiveSliSpecificationTimeSliceQueryQueryOutputReference__checks.go
- ServiceLevelObjectiveThresholds.go
- ServiceLevelObjectiveThresholdsList.go
- ServiceLevelObjectiveThresholdsList__checks.go
- ServiceLevelObjectiveThresholdsOutputReference.go
- ServiceLevelObjectiveThresholdsOutputReference__checks.go
- ServiceLevelObjective__checks.go
- main.go