Documentation ¶
Index ¶
- func DowntimeSchedule_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func DowntimeSchedule_IsConstruct(x interface{}) *bool
- func DowntimeSchedule_IsTerraformElement(x interface{}) *bool
- func DowntimeSchedule_IsTerraformResource(x interface{}) *bool
- func DowntimeSchedule_TfResourceType() *string
- func NewDowntimeScheduleMonitorIdentifierOutputReference_Override(d DowntimeScheduleMonitorIdentifierOutputReference, ...)
- func NewDowntimeScheduleOneTimeScheduleOutputReference_Override(d DowntimeScheduleOneTimeScheduleOutputReference, ...)
- func NewDowntimeScheduleRecurringScheduleOutputReference_Override(d DowntimeScheduleRecurringScheduleOutputReference, ...)
- func NewDowntimeScheduleRecurringScheduleRecurrenceList_Override(d DowntimeScheduleRecurringScheduleRecurrenceList, ...)
- func NewDowntimeScheduleRecurringScheduleRecurrenceOutputReference_Override(d DowntimeScheduleRecurringScheduleRecurrenceOutputReference, ...)
- func NewDowntimeSchedule_Override(d DowntimeSchedule, scope constructs.Construct, id *string, ...)
- type DowntimeSchedule
- type DowntimeScheduleConfig
- type DowntimeScheduleMonitorIdentifier
- type DowntimeScheduleMonitorIdentifierOutputReference
- type DowntimeScheduleOneTimeSchedule
- type DowntimeScheduleOneTimeScheduleOutputReference
- type DowntimeScheduleRecurringSchedule
- type DowntimeScheduleRecurringScheduleOutputReference
- type DowntimeScheduleRecurringScheduleRecurrence
- type DowntimeScheduleRecurringScheduleRecurrenceList
- type DowntimeScheduleRecurringScheduleRecurrenceOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DowntimeSchedule_GenerateConfigForImport ¶
func DowntimeSchedule_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a DowntimeSchedule resource upon running "cdktf plan <stack-name>".
func DowntimeSchedule_IsConstruct ¶
func DowntimeSchedule_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 DowntimeSchedule_IsTerraformElement ¶
func DowntimeSchedule_IsTerraformElement(x interface{}) *bool
Experimental.
func DowntimeSchedule_IsTerraformResource ¶
func DowntimeSchedule_IsTerraformResource(x interface{}) *bool
Experimental.
func DowntimeSchedule_TfResourceType ¶
func DowntimeSchedule_TfResourceType() *string
func NewDowntimeScheduleMonitorIdentifierOutputReference_Override ¶
func NewDowntimeScheduleMonitorIdentifierOutputReference_Override(d DowntimeScheduleMonitorIdentifierOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewDowntimeScheduleOneTimeScheduleOutputReference_Override ¶
func NewDowntimeScheduleOneTimeScheduleOutputReference_Override(d DowntimeScheduleOneTimeScheduleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewDowntimeScheduleRecurringScheduleOutputReference_Override ¶
func NewDowntimeScheduleRecurringScheduleOutputReference_Override(d DowntimeScheduleRecurringScheduleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewDowntimeScheduleRecurringScheduleRecurrenceList_Override ¶
func NewDowntimeScheduleRecurringScheduleRecurrenceList_Override(d DowntimeScheduleRecurringScheduleRecurrenceList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewDowntimeScheduleRecurringScheduleRecurrenceOutputReference_Override ¶
func NewDowntimeScheduleRecurringScheduleRecurrenceOutputReference_Override(d DowntimeScheduleRecurringScheduleRecurrenceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewDowntimeSchedule_Override ¶
func NewDowntimeSchedule_Override(d DowntimeSchedule, scope constructs.Construct, id *string, config *DowntimeScheduleConfig)
Create a new {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule datadog_downtime_schedule} Resource.
Types ¶
type DowntimeSchedule ¶
type DowntimeSchedule 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) DisplayTimezone() *string SetDisplayTimezone(val *string) DisplayTimezoneInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Message() *string SetMessage(val *string) MessageInput() *string MonitorIdentifier() DowntimeScheduleMonitorIdentifierOutputReference MonitorIdentifierInput() interface{} MuteFirstRecoveryNotification() interface{} SetMuteFirstRecoveryNotification(val interface{}) MuteFirstRecoveryNotificationInput() interface{} // The tree node. Node() constructs.Node NotifyEndStates() *[]*string SetNotifyEndStates(val *[]*string) NotifyEndStatesInput() *[]*string NotifyEndTypes() *[]*string SetNotifyEndTypes(val *[]*string) NotifyEndTypesInput() *[]*string OneTimeSchedule() DowntimeScheduleOneTimeScheduleOutputReference OneTimeScheduleInput() interface{} // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} RecurringSchedule() DowntimeScheduleRecurringScheduleOutputReference RecurringScheduleInput() interface{} Scope() *string SetScope(val *string) ScopeInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *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) PutMonitorIdentifier(value *DowntimeScheduleMonitorIdentifier) PutOneTimeSchedule(value *DowntimeScheduleOneTimeSchedule) PutRecurringSchedule(value *DowntimeScheduleRecurringSchedule) ResetDisplayTimezone() ResetMessage() ResetMonitorIdentifier() ResetMuteFirstRecoveryNotification() ResetNotifyEndStates() ResetNotifyEndTypes() ResetOneTimeSchedule() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetRecurringSchedule() 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.43.0/docs/resources/downtime_schedule datadog_downtime_schedule}.
func NewDowntimeSchedule ¶
func NewDowntimeSchedule(scope constructs.Construct, id *string, config *DowntimeScheduleConfig) DowntimeSchedule
Create a new {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule datadog_downtime_schedule} Resource.
type DowntimeScheduleConfig ¶
type DowntimeScheduleConfig 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"` // The scope to which the downtime applies. Must follow the [common search syntax](https://docs.datadoghq.com/logs/explorer/search_syntax/). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#scope DowntimeSchedule#scope} Scope *string `field:"required" json:"scope" yaml:"scope"` // The timezone in which to display the downtime's start and end times in Datadog applications. // // This is not used as an offset for scheduling. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#display_timezone DowntimeSchedule#display_timezone} DisplayTimezone *string `field:"optional" json:"displayTimezone" yaml:"displayTimezone"` // A message to include with notifications for this downtime. // // Email notifications can be sent to specific users by using the same `@username` notation as events. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#message DowntimeSchedule#message} Message *string `field:"optional" json:"message" yaml:"message"` // monitor_identifier block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#monitor_identifier DowntimeSchedule#monitor_identifier} MonitorIdentifier *DowntimeScheduleMonitorIdentifier `field:"optional" json:"monitorIdentifier" yaml:"monitorIdentifier"` // If the first recovery notification during a downtime should be muted. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#mute_first_recovery_notification DowntimeSchedule#mute_first_recovery_notification} MuteFirstRecoveryNotification interface{} `field:"optional" json:"muteFirstRecoveryNotification" yaml:"muteFirstRecoveryNotification"` // States that will trigger a monitor notification when the `notify_end_types` action occurs. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#notify_end_states DowntimeSchedule#notify_end_states} NotifyEndStates *[]*string `field:"optional" json:"notifyEndStates" yaml:"notifyEndStates"` // Actions that will trigger a monitor notification if the downtime is in the `notify_end_types` state. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#notify_end_types DowntimeSchedule#notify_end_types} NotifyEndTypes *[]*string `field:"optional" json:"notifyEndTypes" yaml:"notifyEndTypes"` // one_time_schedule block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#one_time_schedule DowntimeSchedule#one_time_schedule} OneTimeSchedule *DowntimeScheduleOneTimeSchedule `field:"optional" json:"oneTimeSchedule" yaml:"oneTimeSchedule"` // recurring_schedule block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#recurring_schedule DowntimeSchedule#recurring_schedule} RecurringSchedule *DowntimeScheduleRecurringSchedule `field:"optional" json:"recurringSchedule" yaml:"recurringSchedule"` }
type DowntimeScheduleMonitorIdentifier ¶
type DowntimeScheduleMonitorIdentifier struct { // ID of the monitor to prevent notifications. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#monitor_id DowntimeSchedule#monitor_id} MonitorId *float64 `field:"optional" json:"monitorId" yaml:"monitorId"` // A list of monitor tags. // // For example, tags that are applied directly to monitors, not tags that are used in monitor queries (which are filtered by the scope parameter), to which the downtime applies. The resulting downtime applies to monitors that match **all** provided monitor tags. Setting `monitor_tags` to `[*]` configures the downtime to mute all monitors for the given scope. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#monitor_tags DowntimeSchedule#monitor_tags} MonitorTags *[]*string `field:"optional" json:"monitorTags" yaml:"monitorTags"` }
type DowntimeScheduleMonitorIdentifierOutputReference ¶
type DowntimeScheduleMonitorIdentifierOutputReference 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{}) MonitorId() *float64 SetMonitorId(val *float64) MonitorIdInput() *float64 MonitorTags() *[]*string SetMonitorTags(val *[]*string) MonitorTagsInput() *[]*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 ResetMonitorId() ResetMonitorTags() // 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 NewDowntimeScheduleMonitorIdentifierOutputReference ¶
func NewDowntimeScheduleMonitorIdentifierOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) DowntimeScheduleMonitorIdentifierOutputReference
type DowntimeScheduleOneTimeSchedule ¶
type DowntimeScheduleOneTimeSchedule struct { // ISO-8601 Datetime to end the downtime. // // Must include a UTC offset of zero. If not provided, the downtime never ends. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#end DowntimeSchedule#end} End *string `field:"optional" json:"end" yaml:"end"` // ISO-8601 Datetime to start the downtime. // // Must include a UTC offset of zero. If not provided, the downtime starts the moment it is created. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#start DowntimeSchedule#start} Start *string `field:"optional" json:"start" yaml:"start"` }
type DowntimeScheduleOneTimeScheduleOutputReference ¶
type DowntimeScheduleOneTimeScheduleOutputReference 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 End() *string SetEnd(val *string) EndInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Start() *string SetStart(val *string) StartInput() *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 ResetEnd() ResetStart() // 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 NewDowntimeScheduleOneTimeScheduleOutputReference ¶
func NewDowntimeScheduleOneTimeScheduleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) DowntimeScheduleOneTimeScheduleOutputReference
type DowntimeScheduleRecurringSchedule ¶
type DowntimeScheduleRecurringSchedule struct { // recurrence block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#recurrence DowntimeSchedule#recurrence} Recurrence interface{} `field:"optional" json:"recurrence" yaml:"recurrence"` // The timezone in which to schedule the downtime. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#timezone DowntimeSchedule#timezone} Timezone *string `field:"optional" json:"timezone" yaml:"timezone"` }
type DowntimeScheduleRecurringScheduleOutputReference ¶
type DowntimeScheduleRecurringScheduleOutputReference 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{}) Recurrence() DowntimeScheduleRecurringScheduleRecurrenceList RecurrenceInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Timezone() *string SetTimezone(val *string) TimezoneInput() *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 PutRecurrence(value interface{}) ResetRecurrence() ResetTimezone() // 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 NewDowntimeScheduleRecurringScheduleOutputReference ¶
func NewDowntimeScheduleRecurringScheduleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) DowntimeScheduleRecurringScheduleOutputReference
type DowntimeScheduleRecurringScheduleRecurrence ¶
type DowntimeScheduleRecurringScheduleRecurrence struct { // The length of the downtime. // // Must begin with an integer and end with one of 'm', 'h', d', or 'w'. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#duration DowntimeSchedule#duration} Duration *string `field:"required" json:"duration" yaml:"duration"` // The `RRULE` standard for defining recurring events. // // For example, to have a recurring event on the first day of each month, set the type to `rrule` and set the `FREQ` to `MONTHLY` and `BYMONTHDAY` to `1`. Most common `rrule` options from the [iCalendar Spec](https://tools.ietf.org/html/rfc5545) are supported. **Note**: Attributes specifying the duration in `RRULE` are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). More examples available in this [downtime guide](https://docs.datadoghq.com/monitors/guide/suppress-alert-with-downtimes/?tab=api). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#rrule DowntimeSchedule#rrule} Rrule *string `field:"required" json:"rrule" yaml:"rrule"` // ISO-8601 Datetime to start the downtime. // // Must not include a UTC offset. If not provided, the downtime starts the moment it is created. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.43.0/docs/resources/downtime_schedule#start DowntimeSchedule#start} Start *string `field:"optional" json:"start" yaml:"start"` }
type DowntimeScheduleRecurringScheduleRecurrenceList ¶
type DowntimeScheduleRecurringScheduleRecurrenceList 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) DowntimeScheduleRecurringScheduleRecurrenceOutputReference // 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 NewDowntimeScheduleRecurringScheduleRecurrenceList ¶
func NewDowntimeScheduleRecurringScheduleRecurrenceList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) DowntimeScheduleRecurringScheduleRecurrenceList
type DowntimeScheduleRecurringScheduleRecurrenceOutputReference ¶
type DowntimeScheduleRecurringScheduleRecurrenceOutputReference 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 Duration() *string SetDuration(val *string) DurationInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Rrule() *string SetRrule(val *string) RruleInput() *string Start() *string SetStart(val *string) StartInput() *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 ResetStart() // 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 NewDowntimeScheduleRecurringScheduleRecurrenceOutputReference ¶
func NewDowntimeScheduleRecurringScheduleRecurrenceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) DowntimeScheduleRecurringScheduleRecurrenceOutputReference
Source Files ¶
- DowntimeSchedule.go
- DowntimeScheduleConfig.go
- DowntimeScheduleMonitorIdentifier.go
- DowntimeScheduleMonitorIdentifierOutputReference.go
- DowntimeScheduleMonitorIdentifierOutputReference__checks.go
- DowntimeScheduleOneTimeSchedule.go
- DowntimeScheduleOneTimeScheduleOutputReference.go
- DowntimeScheduleOneTimeScheduleOutputReference__checks.go
- DowntimeScheduleRecurringSchedule.go
- DowntimeScheduleRecurringScheduleOutputReference.go
- DowntimeScheduleRecurringScheduleOutputReference__checks.go
- DowntimeScheduleRecurringScheduleRecurrence.go
- DowntimeScheduleRecurringScheduleRecurrenceList.go
- DowntimeScheduleRecurringScheduleRecurrenceList__checks.go
- DowntimeScheduleRecurringScheduleRecurrenceOutputReference.go
- DowntimeScheduleRecurringScheduleRecurrenceOutputReference__checks.go
- DowntimeSchedule__checks.go
- main.go