Skip to content

Latest commit

 

History

History
2883 lines (1780 loc) · 128 KB

downtimeSchedule.go.md

File metadata and controls

2883 lines (1780 loc) · 128 KB

downtimeSchedule Submodule

Constructs

DowntimeSchedule

Represents a {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs/resources/downtime_schedule datadog_downtime_schedule}.

Initializers

import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/downtimeschedule"

downtimeschedule.NewDowntimeSchedule(scope Construct, id *string, config DowntimeScheduleConfig) DowntimeSchedule
Name Type Description
scope github.com/aws/constructs-go/constructs/v10.Construct The scope in which to define this construct.
id *string The scoped construct ID.
config DowntimeScheduleConfig No description.

scopeRequired
  • Type: github.com/aws/constructs-go/constructs/v10.Construct

The scope in which to define this construct.


idRequired
  • Type: *string

The scoped construct ID.

Must be unique amongst siblings in the same scope


configRequired

Methods

Name Description
ToString Returns a string representation of this construct.
AddOverride No description.
OverrideLogicalId Overrides the auto-generated logical ID with a specific ID.
ResetOverrideLogicalId Resets a previously passed logical Id to use the auto-generated logical id again.
ToHclTerraform No description.
ToMetadata No description.
ToTerraform Adds this resource to the terraform JSON output.
AddMoveTarget Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
GetAnyMapAttribute No description.
GetBooleanAttribute No description.
GetBooleanMapAttribute No description.
GetListAttribute No description.
GetNumberAttribute No description.
GetNumberListAttribute No description.
GetNumberMapAttribute No description.
GetStringAttribute No description.
GetStringMapAttribute No description.
HasResourceMove No description.
ImportFrom No description.
InterpolationForAttribute No description.
MoveFromId Move the resource corresponding to "id" to this resource.
MoveTo Moves this resource to the target resource given by moveTarget.
MoveToId Moves this resource to the resource corresponding to "id".
PutMonitorIdentifier No description.
PutOneTimeSchedule No description.
PutRecurringSchedule No description.
ResetDisplayTimezone No description.
ResetMessage No description.
ResetMonitorIdentifier No description.
ResetMuteFirstRecoveryNotification No description.
ResetNotifyEndStates No description.
ResetNotifyEndTypes No description.
ResetOneTimeSchedule No description.
ResetRecurringSchedule No description.

ToString
func ToString() *string

Returns a string representation of this construct.

AddOverride
func AddOverride(path *string, value interface{})
pathRequired
  • Type: *string

valueRequired
  • Type: interface{}

OverrideLogicalId
func OverrideLogicalId(newLogicalId *string)

Overrides the auto-generated logical ID with a specific ID.

newLogicalIdRequired
  • Type: *string

The new logical ID to use for this stack element.


ResetOverrideLogicalId
func ResetOverrideLogicalId()

Resets a previously passed logical Id to use the auto-generated logical id again.

ToHclTerraform
func ToHclTerraform() interface{}
ToMetadata
func ToMetadata() interface{}
ToTerraform
func ToTerraform() interface{}

Adds this resource to the terraform JSON output.

AddMoveTarget
func AddMoveTarget(moveTarget *string)

Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.

moveTargetRequired
  • Type: *string

The string move target that will correspond to this resource.


GetAnyMapAttribute
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
terraformAttributeRequired
  • Type: *string

GetBooleanAttribute
func GetBooleanAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

GetBooleanMapAttribute
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
terraformAttributeRequired
  • Type: *string

GetListAttribute
func GetListAttribute(terraformAttribute *string) *[]*string
terraformAttributeRequired
  • Type: *string

GetNumberAttribute
func GetNumberAttribute(terraformAttribute *string) *f64
terraformAttributeRequired
  • Type: *string

GetNumberListAttribute
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
terraformAttributeRequired
  • Type: *string

GetNumberMapAttribute
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
terraformAttributeRequired
  • Type: *string

GetStringAttribute
func GetStringAttribute(terraformAttribute *string) *string
terraformAttributeRequired
  • Type: *string

GetStringMapAttribute
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
terraformAttributeRequired
  • Type: *string

HasResourceMove
func HasResourceMove() interface{}
ImportFrom
func ImportFrom(id *string, provider TerraformProvider)
idRequired
  • Type: *string

providerOptional
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider

InterpolationForAttribute
func InterpolationForAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

MoveFromId
func MoveFromId(id *string)

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.

idRequired
  • Type: *string

Full id of resource being moved from, e.g. "aws_s3_bucket.example".


MoveTo
func MoveTo(moveTarget *string, index interface{})

Moves this resource to the target resource given by moveTarget.

moveTargetRequired
  • Type: *string

The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.


indexOptional
  • Type: interface{}

Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.


MoveToId
func MoveToId(id *string)

Moves this resource to the resource corresponding to "id".

idRequired
  • Type: *string

Full id of resource to move to, e.g. "aws_s3_bucket.example".


PutMonitorIdentifier
func PutMonitorIdentifier(value DowntimeScheduleMonitorIdentifier)
valueRequired

PutOneTimeSchedule
func PutOneTimeSchedule(value DowntimeScheduleOneTimeSchedule)
valueRequired

PutRecurringSchedule
func PutRecurringSchedule(value DowntimeScheduleRecurringSchedule)
valueRequired

ResetDisplayTimezone
func ResetDisplayTimezone()
ResetMessage
func ResetMessage()
ResetMonitorIdentifier
func ResetMonitorIdentifier()
ResetMuteFirstRecoveryNotification
func ResetMuteFirstRecoveryNotification()
ResetNotifyEndStates
func ResetNotifyEndStates()
ResetNotifyEndTypes
func ResetNotifyEndTypes()
ResetOneTimeSchedule
func ResetOneTimeSchedule()
ResetRecurringSchedule
func ResetRecurringSchedule()

Static Functions

Name Description
IsConstruct Checks if x is a construct.
IsTerraformElement No description.
IsTerraformResource No description.
GenerateConfigForImport Generates CDKTF code for importing a DowntimeSchedule resource upon running "cdktf plan ".

IsConstruct
import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/downtimeschedule"

downtimeschedule.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.

xRequired
  • Type: interface{}

Any object.


IsTerraformElement
import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/downtimeschedule"

downtimeschedule.DowntimeSchedule_IsTerraformElement(x interface{}) *bool
xRequired
  • Type: interface{}

IsTerraformResource
import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/downtimeschedule"

downtimeschedule.DowntimeSchedule_IsTerraformResource(x interface{}) *bool
xRequired
  • Type: interface{}

GenerateConfigForImport
import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/downtimeschedule"

downtimeschedule.DowntimeSchedule_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource

Generates CDKTF code for importing a DowntimeSchedule resource upon running "cdktf plan ".

scopeRequired
  • Type: github.com/aws/constructs-go/constructs/v10.Construct

The scope in which to define this construct.


importToIdRequired
  • Type: *string

The construct id used in the generated config for the DowntimeSchedule to import.


importFromIdRequired
  • Type: *string

The id of the existing DowntimeSchedule that should be imported.

Refer to the {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs/resources/downtime_schedule#import import section} in the documentation of this resource for the id to use


providerOptional
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider

? Optional instance of the provider where the DowntimeSchedule to import is found.


Properties

Name Type Description
Node github.com/aws/constructs-go/constructs/v10.Node The tree node.
CdktfStack github.com/hashicorp/terraform-cdk-go/cdktf.TerraformStack No description.
Fqn *string No description.
FriendlyUniqueId *string No description.
TerraformMetaArguments *map[string]interface{} No description.
TerraformResourceType *string No description.
TerraformGeneratorMetadata github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProviderGeneratorMetadata No description.
Connection interface{} No description.
Count interface{} No description.
DependsOn *[]*string No description.
ForEach github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator No description.
Lifecycle github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle No description.
Provider github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider No description.
Provisioners *[]interface{} No description.
Id *string No description.
MonitorIdentifier DowntimeScheduleMonitorIdentifierOutputReference No description.
OneTimeSchedule DowntimeScheduleOneTimeScheduleOutputReference No description.
RecurringSchedule DowntimeScheduleRecurringScheduleOutputReference No description.
DisplayTimezoneInput *string No description.
MessageInput *string No description.
MonitorIdentifierInput interface{} No description.
MuteFirstRecoveryNotificationInput interface{} No description.
NotifyEndStatesInput *[]*string No description.
NotifyEndTypesInput *[]*string No description.
OneTimeScheduleInput interface{} No description.
RecurringScheduleInput interface{} No description.
ScopeInput *string No description.
DisplayTimezone *string No description.
Message *string No description.
MuteFirstRecoveryNotification interface{} No description.
NotifyEndStates *[]*string No description.
NotifyEndTypes *[]*string No description.
Scope *string No description.

NodeRequired
func Node() Node
  • Type: github.com/aws/constructs-go/constructs/v10.Node

The tree node.


CdktfStackRequired
func CdktfStack() TerraformStack
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformStack

FqnRequired
func Fqn() *string
  • Type: *string

FriendlyUniqueIdRequired
func FriendlyUniqueId() *string
  • Type: *string

TerraformMetaArgumentsRequired
func TerraformMetaArguments() *map[string]interface{}
  • Type: *map[string]interface{}

TerraformResourceTypeRequired
func TerraformResourceType() *string
  • Type: *string

TerraformGeneratorMetadataOptional
func TerraformGeneratorMetadata() TerraformProviderGeneratorMetadata
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProviderGeneratorMetadata

ConnectionOptional
func Connection() interface{}
  • Type: interface{}

CountOptional
func Count() interface{}
  • Type: interface{}

DependsOnOptional
func DependsOn() *[]*string
  • Type: *[]*string

ForEachOptional
func ForEach() ITerraformIterator
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator

LifecycleOptional
func Lifecycle() TerraformResourceLifecycle
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle

ProviderOptional
func Provider() TerraformProvider
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider

ProvisionersOptional
func Provisioners() *[]interface{}
  • Type: *[]interface{}

IdRequired
func Id() *string
  • Type: *string

MonitorIdentifierRequired
func MonitorIdentifier() DowntimeScheduleMonitorIdentifierOutputReference

OneTimeScheduleRequired
func OneTimeSchedule() DowntimeScheduleOneTimeScheduleOutputReference

RecurringScheduleRequired
func RecurringSchedule() DowntimeScheduleRecurringScheduleOutputReference

DisplayTimezoneInputOptional
func DisplayTimezoneInput() *string
  • Type: *string

MessageInputOptional
func MessageInput() *string
  • Type: *string

MonitorIdentifierInputOptional
func MonitorIdentifierInput() interface{}
  • Type: interface{}

MuteFirstRecoveryNotificationInputOptional
func MuteFirstRecoveryNotificationInput() interface{}
  • Type: interface{}

NotifyEndStatesInputOptional
func NotifyEndStatesInput() *[]*string
  • Type: *[]*string

NotifyEndTypesInputOptional
func NotifyEndTypesInput() *[]*string
  • Type: *[]*string

OneTimeScheduleInputOptional
func OneTimeScheduleInput() interface{}
  • Type: interface{}

RecurringScheduleInputOptional
func RecurringScheduleInput() interface{}
  • Type: interface{}

ScopeInputOptional
func ScopeInput() *string
  • Type: *string

DisplayTimezoneRequired
func DisplayTimezone() *string
  • Type: *string

MessageRequired
func Message() *string
  • Type: *string

MuteFirstRecoveryNotificationRequired
func MuteFirstRecoveryNotification() interface{}
  • Type: interface{}

NotifyEndStatesRequired
func NotifyEndStates() *[]*string
  • Type: *[]*string

NotifyEndTypesRequired
func NotifyEndTypes() *[]*string
  • Type: *[]*string

ScopeRequired
func Scope() *string
  • Type: *string

Constants

Name Type Description
TfResourceType *string No description.

TfResourceTypeRequired
func TfResourceType() *string
  • Type: *string

Structs

DowntimeScheduleConfig

Initializer

import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/downtimeschedule"

&downtimeschedule.DowntimeScheduleConfig {
	Connection: interface{},
	Count: interface{},
	DependsOn: *[]github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformDependable,
	ForEach: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator,
	Lifecycle: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle,
	Provider: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider,
	Provisioners: *[]interface{},
	Scope: *string,
	DisplayTimezone: *string,
	Message: *string,
	MonitorIdentifier: github.com/cdktf/cdktf-provider-datadog-go/datadog/v11.downtimeSchedule.DowntimeScheduleMonitorIdentifier,
	MuteFirstRecoveryNotification: interface{},
	NotifyEndStates: *[]*string,
	NotifyEndTypes: *[]*string,
	OneTimeSchedule: github.com/cdktf/cdktf-provider-datadog-go/datadog/v11.downtimeSchedule.DowntimeScheduleOneTimeSchedule,
	RecurringSchedule: github.com/cdktf/cdktf-provider-datadog-go/datadog/v11.downtimeSchedule.DowntimeScheduleRecurringSchedule,
}

Properties

Name Type Description
Connection interface{} No description.
Count interface{} No description.
DependsOn *[]github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformDependable No description.
ForEach github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator No description.
Lifecycle github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle No description.
Provider github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider No description.
Provisioners *[]interface{} No description.
Scope *string The scope to which the downtime applies. Must follow the common search syntax.
DisplayTimezone *string The timezone in which to display the downtime's start and end times in Datadog applications.
Message *string A message to include with notifications for this downtime.
MonitorIdentifier DowntimeScheduleMonitorIdentifier monitor_identifier block.
MuteFirstRecoveryNotification interface{} If the first recovery notification during a downtime should be muted.
NotifyEndStates *[]*string States that will trigger a monitor notification when the notify_end_types action occurs.
NotifyEndTypes *[]*string Actions that will trigger a monitor notification if the downtime is in the notify_end_types state.
OneTimeSchedule DowntimeScheduleOneTimeSchedule one_time_schedule block.
RecurringSchedule DowntimeScheduleRecurringSchedule recurring_schedule block.

ConnectionOptional
Connection interface{}
  • Type: interface{}

CountOptional
Count interface{}
  • Type: interface{}

DependsOnOptional
DependsOn *[]ITerraformDependable
  • Type: *[]github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformDependable

ForEachOptional
ForEach ITerraformIterator
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator

LifecycleOptional
Lifecycle TerraformResourceLifecycle
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle

ProviderOptional
Provider TerraformProvider
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider

ProvisionersOptional
Provisioners *[]interface{}
  • Type: *[]interface{}

ScopeRequired
Scope *string
  • Type: *string

The scope to which the downtime applies. Must follow the common search syntax.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs/resources/downtime_schedule#scope DowntimeSchedule#scope}


DisplayTimezoneOptional
DisplayTimezone *string
  • Type: *string

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.52.1/docs/resources/downtime_schedule#display_timezone DowntimeSchedule#display_timezone}


MessageOptional
Message *string
  • Type: *string

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.52.1/docs/resources/downtime_schedule#message DowntimeSchedule#message}


MonitorIdentifierOptional
MonitorIdentifier DowntimeScheduleMonitorIdentifier

monitor_identifier block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs/resources/downtime_schedule#monitor_identifier DowntimeSchedule#monitor_identifier}


MuteFirstRecoveryNotificationOptional
MuteFirstRecoveryNotification interface{}
  • Type: interface{}

If the first recovery notification during a downtime should be muted.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs/resources/downtime_schedule#mute_first_recovery_notification DowntimeSchedule#mute_first_recovery_notification}


NotifyEndStatesOptional
NotifyEndStates *[]*string
  • Type: *[]*string

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.52.1/docs/resources/downtime_schedule#notify_end_states DowntimeSchedule#notify_end_states}


NotifyEndTypesOptional
NotifyEndTypes *[]*string
  • Type: *[]*string

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.52.1/docs/resources/downtime_schedule#notify_end_types DowntimeSchedule#notify_end_types}


OneTimeScheduleOptional
OneTimeSchedule DowntimeScheduleOneTimeSchedule

one_time_schedule block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs/resources/downtime_schedule#one_time_schedule DowntimeSchedule#one_time_schedule}


RecurringScheduleOptional
RecurringSchedule DowntimeScheduleRecurringSchedule

recurring_schedule block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs/resources/downtime_schedule#recurring_schedule DowntimeSchedule#recurring_schedule}


DowntimeScheduleMonitorIdentifier

Initializer

import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/downtimeschedule"

&downtimeschedule.DowntimeScheduleMonitorIdentifier {
	MonitorId: *f64,
	MonitorTags: *[]*string,
}

Properties

Name Type Description
MonitorId *f64 ID of the monitor to prevent notifications.
MonitorTags *[]*string A list of monitor tags.

MonitorIdOptional
MonitorId *f64
  • Type: *f64

ID of the monitor to prevent notifications.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs/resources/downtime_schedule#monitor_id DowntimeSchedule#monitor_id}


MonitorTagsOptional
MonitorTags *[]*string
  • Type: *[]*string

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.52.1/docs/resources/downtime_schedule#monitor_tags DowntimeSchedule#monitor_tags}


DowntimeScheduleOneTimeSchedule

Initializer

import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/downtimeschedule"

&downtimeschedule.DowntimeScheduleOneTimeSchedule {
	End: *string,
	Start: *string,
}

Properties

Name Type Description
End *string ISO-8601 Datetime to end the downtime.
Start *string ISO-8601 Datetime to start the downtime.

EndOptional
End *string
  • Type: *string

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.52.1/docs/resources/downtime_schedule#end DowntimeSchedule#end}


StartOptional
Start *string
  • Type: *string

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.52.1/docs/resources/downtime_schedule#start DowntimeSchedule#start}


DowntimeScheduleRecurringSchedule

Initializer

import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/downtimeschedule"

&downtimeschedule.DowntimeScheduleRecurringSchedule {
	Recurrence: interface{},
	Timezone: *string,
}

Properties

Name Type Description
Recurrence interface{} recurrence block.
Timezone *string The timezone in which to schedule the downtime.

RecurrenceOptional
Recurrence interface{}
  • Type: interface{}

recurrence block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs/resources/downtime_schedule#recurrence DowntimeSchedule#recurrence}


TimezoneOptional
Timezone *string
  • Type: *string

The timezone in which to schedule the downtime.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs/resources/downtime_schedule#timezone DowntimeSchedule#timezone}


DowntimeScheduleRecurringScheduleRecurrence

Initializer

import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/downtimeschedule"

&downtimeschedule.DowntimeScheduleRecurringScheduleRecurrence {
	Duration: *string,
	Rrule: *string,
	Start: *string,
}

Properties

Name Type Description
Duration *string The length of the downtime.
Rrule *string The RRULE standard for defining recurring events.
Start *string ISO-8601 Datetime to start the downtime.

DurationRequired
Duration *string
  • Type: *string

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.52.1/docs/resources/downtime_schedule#duration DowntimeSchedule#duration}


RruleRequired
Rrule *string
  • Type: *string

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 are supported. Note: Attributes specifying the duration in RRULE are not supported (for example, DTSTART, DTEND, DURATION). More examples available in this downtime guide.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.52.1/docs/resources/downtime_schedule#rrule DowntimeSchedule#rrule}


StartOptional
Start *string
  • Type: *string

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.52.1/docs/resources/downtime_schedule#start DowntimeSchedule#start}


Classes

DowntimeScheduleMonitorIdentifierOutputReference

Initializers

import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/downtimeschedule"

downtimeschedule.NewDowntimeScheduleMonitorIdentifierOutputReference(terraformResource IInterpolatingParent, terraformAttribute *string) DowntimeScheduleMonitorIdentifierOutputReference
Name Type Description
terraformResource github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent The parent resource.
terraformAttribute *string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: *string

The attribute on the parent resource this class is referencing.


Methods

Name Description
ComputeFqn No description.
GetAnyMapAttribute No description.
GetBooleanAttribute No description.
GetBooleanMapAttribute No description.
GetListAttribute No description.
GetNumberAttribute No description.
GetNumberListAttribute No description.
GetNumberMapAttribute No description.
GetStringAttribute No description.
GetStringMapAttribute No description.
InterpolationForAttribute No description.
Resolve Produce the Token's value at resolution time.
ToString Return a string representation of this resolvable object.
ResetMonitorId No description.
ResetMonitorTags No description.

ComputeFqn
func ComputeFqn() *string
GetAnyMapAttribute
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
terraformAttributeRequired
  • Type: *string

GetBooleanAttribute
func GetBooleanAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

GetBooleanMapAttribute
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
terraformAttributeRequired
  • Type: *string

GetListAttribute
func GetListAttribute(terraformAttribute *string) *[]*string
terraformAttributeRequired
  • Type: *string

GetNumberAttribute
func GetNumberAttribute(terraformAttribute *string) *f64
terraformAttributeRequired
  • Type: *string

GetNumberListAttribute
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
terraformAttributeRequired
  • Type: *string

GetNumberMapAttribute
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
terraformAttributeRequired
  • Type: *string

GetStringAttribute
func GetStringAttribute(terraformAttribute *string) *string
terraformAttributeRequired
  • Type: *string

GetStringMapAttribute
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
terraformAttributeRequired
  • Type: *string

InterpolationForAttribute
func InterpolationForAttribute(property *string) IResolvable
propertyRequired
  • Type: *string

Resolve
func Resolve(_context IResolveContext) interface{}

Produce the Token's value at resolution time.

_contextRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext

ToString
func ToString() *string

Return a string representation of this resolvable object.

Returns a reversible string representation.

ResetMonitorId
func ResetMonitorId()
ResetMonitorTags
func ResetMonitorTags()

Properties

Name Type Description
CreationStack *[]*string The creation stack of this resolvable which will be appended to errors thrown during resolution.
Fqn *string No description.
MonitorIdInput *f64 No description.
MonitorTagsInput *[]*string No description.
MonitorId *f64 No description.
MonitorTags *[]*string No description.
InternalValue interface{} No description.

CreationStackRequired
func CreationStack() *[]*string
  • Type: *[]*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.


FqnRequired
func Fqn() *string
  • Type: *string

MonitorIdInputOptional
func MonitorIdInput() *f64
  • Type: *f64

MonitorTagsInputOptional
func MonitorTagsInput() *[]*string
  • Type: *[]*string

MonitorIdRequired
func MonitorId() *f64
  • Type: *f64

MonitorTagsRequired
func MonitorTags() *[]*string
  • Type: *[]*string

InternalValueOptional
func InternalValue() interface{}
  • Type: interface{}

DowntimeScheduleOneTimeScheduleOutputReference

Initializers

import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/downtimeschedule"

downtimeschedule.NewDowntimeScheduleOneTimeScheduleOutputReference(terraformResource IInterpolatingParent, terraformAttribute *string) DowntimeScheduleOneTimeScheduleOutputReference
Name Type Description
terraformResource github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent The parent resource.
terraformAttribute *string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: *string

The attribute on the parent resource this class is referencing.


Methods

Name Description
ComputeFqn No description.
GetAnyMapAttribute No description.
GetBooleanAttribute No description.
GetBooleanMapAttribute No description.
GetListAttribute No description.
GetNumberAttribute No description.
GetNumberListAttribute No description.
GetNumberMapAttribute No description.
GetStringAttribute No description.
GetStringMapAttribute No description.
InterpolationForAttribute No description.
Resolve Produce the Token's value at resolution time.
ToString Return a string representation of this resolvable object.
ResetEnd No description.
ResetStart No description.

ComputeFqn
func ComputeFqn() *string
GetAnyMapAttribute
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
terraformAttributeRequired
  • Type: *string

GetBooleanAttribute
func GetBooleanAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

GetBooleanMapAttribute
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
terraformAttributeRequired
  • Type: *string

GetListAttribute
func GetListAttribute(terraformAttribute *string) *[]*string
terraformAttributeRequired
  • Type: *string

GetNumberAttribute
func GetNumberAttribute(terraformAttribute *string) *f64
terraformAttributeRequired
  • Type: *string

GetNumberListAttribute
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
terraformAttributeRequired
  • Type: *string

GetNumberMapAttribute
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
terraformAttributeRequired
  • Type: *string

GetStringAttribute
func GetStringAttribute(terraformAttribute *string) *string
terraformAttributeRequired
  • Type: *string

GetStringMapAttribute
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
terraformAttributeRequired
  • Type: *string

InterpolationForAttribute
func InterpolationForAttribute(property *string) IResolvable
propertyRequired
  • Type: *string

Resolve
func Resolve(_context IResolveContext) interface{}

Produce the Token's value at resolution time.

_contextRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext

ToString
func ToString() *string

Return a string representation of this resolvable object.

Returns a reversible string representation.

ResetEnd
func ResetEnd()
ResetStart
func ResetStart()

Properties

Name Type Description
CreationStack *[]*string The creation stack of this resolvable which will be appended to errors thrown during resolution.
Fqn *string No description.
EndInput *string No description.
StartInput *string No description.
End *string No description.
Start *string No description.
InternalValue interface{} No description.

CreationStackRequired
func CreationStack() *[]*string
  • Type: *[]*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.


FqnRequired
func Fqn() *string
  • Type: *string

EndInputOptional
func EndInput() *string
  • Type: *string

StartInputOptional
func StartInput() *string
  • Type: *string

EndRequired
func End() *string
  • Type: *string

StartRequired
func Start() *string
  • Type: *string

InternalValueOptional
func InternalValue() interface{}
  • Type: interface{}

DowntimeScheduleRecurringScheduleOutputReference

Initializers

import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/downtimeschedule"

downtimeschedule.NewDowntimeScheduleRecurringScheduleOutputReference(terraformResource IInterpolatingParent, terraformAttribute *string) DowntimeScheduleRecurringScheduleOutputReference
Name Type Description
terraformResource github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent The parent resource.
terraformAttribute *string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: *string

The attribute on the parent resource this class is referencing.


Methods

Name Description
ComputeFqn No description.
GetAnyMapAttribute No description.
GetBooleanAttribute No description.
GetBooleanMapAttribute No description.
GetListAttribute No description.
GetNumberAttribute No description.
GetNumberListAttribute No description.
GetNumberMapAttribute No description.
GetStringAttribute No description.
GetStringMapAttribute No description.
InterpolationForAttribute No description.
Resolve Produce the Token's value at resolution time.
ToString Return a string representation of this resolvable object.
PutRecurrence No description.
ResetRecurrence No description.
ResetTimezone No description.

ComputeFqn
func ComputeFqn() *string
GetAnyMapAttribute
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
terraformAttributeRequired
  • Type: *string

GetBooleanAttribute
func GetBooleanAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

GetBooleanMapAttribute
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
terraformAttributeRequired
  • Type: *string

GetListAttribute
func GetListAttribute(terraformAttribute *string) *[]*string
terraformAttributeRequired
  • Type: *string

GetNumberAttribute
func GetNumberAttribute(terraformAttribute *string) *f64
terraformAttributeRequired
  • Type: *string

GetNumberListAttribute
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
terraformAttributeRequired
  • Type: *string

GetNumberMapAttribute
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
terraformAttributeRequired
  • Type: *string

GetStringAttribute
func GetStringAttribute(terraformAttribute *string) *string
terraformAttributeRequired
  • Type: *string

GetStringMapAttribute
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
terraformAttributeRequired
  • Type: *string

InterpolationForAttribute
func InterpolationForAttribute(property *string) IResolvable
propertyRequired
  • Type: *string

Resolve
func Resolve(_context IResolveContext) interface{}

Produce the Token's value at resolution time.

_contextRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext

ToString
func ToString() *string

Return a string representation of this resolvable object.

Returns a reversible string representation.

PutRecurrence
func PutRecurrence(value interface{})
valueRequired
  • Type: interface{}

ResetRecurrence
func ResetRecurrence()
ResetTimezone
func ResetTimezone()

Properties

Name Type Description
CreationStack *[]*string The creation stack of this resolvable which will be appended to errors thrown during resolution.
Fqn *string No description.
Recurrence DowntimeScheduleRecurringScheduleRecurrenceList No description.
RecurrenceInput interface{} No description.
TimezoneInput *string No description.
Timezone *string No description.
InternalValue interface{} No description.

CreationStackRequired
func CreationStack() *[]*string
  • Type: *[]*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.


FqnRequired
func Fqn() *string
  • Type: *string

RecurrenceRequired
func Recurrence() DowntimeScheduleRecurringScheduleRecurrenceList

RecurrenceInputOptional
func RecurrenceInput() interface{}
  • Type: interface{}

TimezoneInputOptional
func TimezoneInput() *string
  • Type: *string

TimezoneRequired
func Timezone() *string
  • Type: *string

InternalValueOptional
func InternalValue() interface{}
  • Type: interface{}

DowntimeScheduleRecurringScheduleRecurrenceList

Initializers

import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/downtimeschedule"

downtimeschedule.NewDowntimeScheduleRecurringScheduleRecurrenceList(terraformResource IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) DowntimeScheduleRecurringScheduleRecurrenceList
Name Type Description
terraformResource github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent The parent resource.
terraformAttribute *string The attribute on the parent resource this class is referencing.
wrapsSet *bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: *string

The attribute on the parent resource this class is referencing.


wrapsSetRequired
  • Type: *bool

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
AllWithMapKey Creating an iterator for this complex list.
ComputeFqn No description.
Resolve Produce the Token's value at resolution time.
ToString Return a string representation of this resolvable object.
Get No description.

AllWithMapKey
func AllWithMapKey(mapKeyAttributeName *string) DynamicListTerraformIterator

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

mapKeyAttributeNameRequired
  • Type: *string

ComputeFqn
func ComputeFqn() *string
Resolve
func Resolve(_context IResolveContext) interface{}

Produce the Token's value at resolution time.

_contextRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext

ToString
func ToString() *string

Return a string representation of this resolvable object.

Returns a reversible string representation.

Get
func Get(index *f64) DowntimeScheduleRecurringScheduleRecurrenceOutputReference
indexRequired
  • Type: *f64

the index of the item to return.


Properties

Name Type Description
CreationStack *[]*string The creation stack of this resolvable which will be appended to errors thrown during resolution.
Fqn *string No description.
InternalValue interface{} No description.

CreationStackRequired
func CreationStack() *[]*string
  • Type: *[]*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.


FqnRequired
func Fqn() *string
  • Type: *string

InternalValueOptional
func InternalValue() interface{}
  • Type: interface{}

DowntimeScheduleRecurringScheduleRecurrenceOutputReference

Initializers

import "github.com/cdktf/cdktf-provider-datadog-go/datadog/v11/downtimeschedule"

downtimeschedule.NewDowntimeScheduleRecurringScheduleRecurrenceOutputReference(terraformResource IInterpolatingParent, terraformAttribute *string, complexObjectIndex *f64, complexObjectIsFromSet *bool) DowntimeScheduleRecurringScheduleRecurrenceOutputReference
Name Type Description
terraformResource github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent The parent resource.
terraformAttribute *string The attribute on the parent resource this class is referencing.
complexObjectIndex *f64 the index of this item in the list.
complexObjectIsFromSet *bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: *string

The attribute on the parent resource this class is referencing.


complexObjectIndexRequired
  • Type: *f64

the index of this item in the list.


complexObjectIsFromSetRequired
  • Type: *bool

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
ComputeFqn No description.
GetAnyMapAttribute No description.
GetBooleanAttribute No description.
GetBooleanMapAttribute No description.
GetListAttribute No description.
GetNumberAttribute No description.
GetNumberListAttribute No description.
GetNumberMapAttribute No description.
GetStringAttribute No description.
GetStringMapAttribute No description.
InterpolationForAttribute No description.
Resolve Produce the Token's value at resolution time.
ToString Return a string representation of this resolvable object.
ResetStart No description.

ComputeFqn
func ComputeFqn() *string
GetAnyMapAttribute
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
terraformAttributeRequired
  • Type: *string

GetBooleanAttribute
func GetBooleanAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

GetBooleanMapAttribute
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
terraformAttributeRequired
  • Type: *string

GetListAttribute
func GetListAttribute(terraformAttribute *string) *[]*string
terraformAttributeRequired
  • Type: *string

GetNumberAttribute
func GetNumberAttribute(terraformAttribute *string) *f64
terraformAttributeRequired
  • Type: *string

GetNumberListAttribute
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
terraformAttributeRequired
  • Type: *string

GetNumberMapAttribute
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
terraformAttributeRequired
  • Type: *string

GetStringAttribute
func GetStringAttribute(terraformAttribute *string) *string
terraformAttributeRequired
  • Type: *string

GetStringMapAttribute
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
terraformAttributeRequired
  • Type: *string

InterpolationForAttribute
func InterpolationForAttribute(property *string) IResolvable
propertyRequired
  • Type: *string

Resolve
func Resolve(_context IResolveContext) interface{}

Produce the Token's value at resolution time.

_contextRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext

ToString
func ToString() *string

Return a string representation of this resolvable object.

Returns a reversible string representation.

ResetStart
func ResetStart()

Properties

Name Type Description
CreationStack *[]*string The creation stack of this resolvable which will be appended to errors thrown during resolution.
Fqn *string No description.
DurationInput *string No description.
RruleInput *string No description.
StartInput *string No description.
Duration *string No description.
Rrule *string No description.
Start *string No description.
InternalValue interface{} No description.

CreationStackRequired
func CreationStack() *[]*string
  • Type: *[]*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.


FqnRequired
func Fqn() *string
  • Type: *string

DurationInputOptional
func DurationInput() *string
  • Type: *string

RruleInputOptional
func RruleInput() *string
  • Type: *string

StartInputOptional
func StartInput() *string
  • Type: *string

DurationRequired
func Duration() *string
  • Type: *string

RruleRequired
func Rrule() *string
  • Type: *string

StartRequired
func Start() *string
  • Type: *string

InternalValueOptional
func InternalValue() interface{}
  • Type: interface{}