Documentation ¶
Index ¶
- func NewNotificationPolicyEmailIntegrationList_Override(n NotificationPolicyEmailIntegrationList, ...)
- func NewNotificationPolicyEmailIntegrationOutputReference_Override(n NotificationPolicyEmailIntegrationOutputReference, ...)
- func NewNotificationPolicyFiltersOutputReference_Override(n NotificationPolicyFiltersOutputReference, ...)
- func NewNotificationPolicyPagerdutyIntegrationList_Override(n NotificationPolicyPagerdutyIntegrationList, ...)
- func NewNotificationPolicyPagerdutyIntegrationOutputReference_Override(n NotificationPolicyPagerdutyIntegrationOutputReference, ...)
- func NewNotificationPolicyWebhooksIntegrationList_Override(n NotificationPolicyWebhooksIntegrationList, ...)
- func NewNotificationPolicyWebhooksIntegrationOutputReference_Override(n NotificationPolicyWebhooksIntegrationOutputReference, ...)
- func NewNotificationPolicy_Override(n NotificationPolicy, scope constructs.Construct, id *string, ...)
- func NotificationPolicy_IsConstruct(x interface{}) *bool
- func NotificationPolicy_IsTerraformElement(x interface{}) *bool
- func NotificationPolicy_IsTerraformResource(x interface{}) *bool
- func NotificationPolicy_TfResourceType() *string
- type NotificationPolicy
- type NotificationPolicyConfig
- type NotificationPolicyEmailIntegration
- type NotificationPolicyEmailIntegrationList
- type NotificationPolicyEmailIntegrationOutputReference
- type NotificationPolicyFilters
- type NotificationPolicyFiltersOutputReference
- type NotificationPolicyPagerdutyIntegration
- type NotificationPolicyPagerdutyIntegrationList
- type NotificationPolicyPagerdutyIntegrationOutputReference
- type NotificationPolicyWebhooksIntegration
- type NotificationPolicyWebhooksIntegrationList
- type NotificationPolicyWebhooksIntegrationOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNotificationPolicyEmailIntegrationList_Override ¶
func NewNotificationPolicyEmailIntegrationList_Override(n NotificationPolicyEmailIntegrationList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewNotificationPolicyEmailIntegrationOutputReference_Override ¶
func NewNotificationPolicyEmailIntegrationOutputReference_Override(n NotificationPolicyEmailIntegrationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewNotificationPolicyFiltersOutputReference_Override ¶
func NewNotificationPolicyFiltersOutputReference_Override(n NotificationPolicyFiltersOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewNotificationPolicyPagerdutyIntegrationList_Override ¶
func NewNotificationPolicyPagerdutyIntegrationList_Override(n NotificationPolicyPagerdutyIntegrationList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewNotificationPolicyPagerdutyIntegrationOutputReference_Override ¶
func NewNotificationPolicyPagerdutyIntegrationOutputReference_Override(n NotificationPolicyPagerdutyIntegrationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewNotificationPolicyWebhooksIntegrationList_Override ¶
func NewNotificationPolicyWebhooksIntegrationList_Override(n NotificationPolicyWebhooksIntegrationList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewNotificationPolicyWebhooksIntegrationOutputReference_Override ¶
func NewNotificationPolicyWebhooksIntegrationOutputReference_Override(n NotificationPolicyWebhooksIntegrationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewNotificationPolicy_Override ¶
func NewNotificationPolicy_Override(n NotificationPolicy, scope constructs.Construct, id *string, config *NotificationPolicyConfig)
Create a new {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy cloudflare_notification_policy} Resource.
func NotificationPolicy_IsConstruct ¶
func NotificationPolicy_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 NotificationPolicy_IsTerraformElement ¶
func NotificationPolicy_IsTerraformElement(x interface{}) *bool
Experimental.
func NotificationPolicy_IsTerraformResource ¶
func NotificationPolicy_IsTerraformResource(x interface{}) *bool
Experimental.
func NotificationPolicy_TfResourceType ¶
func NotificationPolicy_TfResourceType() *string
Types ¶
type NotificationPolicy ¶
type NotificationPolicy interface { cdktf.TerraformResource AccountId() *string SetAccountId(val *string) AccountIdInput() *string AlertType() *string SetAlertType(val *string) AlertTypeInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) Created() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string EmailIntegration() NotificationPolicyEmailIntegrationList EmailIntegrationInput() interface{} Enabled() interface{} SetEnabled(val interface{}) EnabledInput() interface{} Filters() NotificationPolicyFiltersOutputReference FiltersInput() *NotificationPolicyFilters // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Modified() *string Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node PagerdutyIntegration() NotificationPolicyPagerdutyIntegrationList PagerdutyIntegrationInput() interface{} // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string WebhooksIntegration() NotificationPolicyWebhooksIntegrationList WebhooksIntegrationInput() interface{} // 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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutEmailIntegration(value interface{}) PutFilters(value *NotificationPolicyFilters) PutPagerdutyIntegration(value interface{}) PutWebhooksIntegration(value interface{}) ResetDescription() ResetEmailIntegration() ResetFilters() ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPagerdutyIntegration() ResetWebhooksIntegration() SynthesizeAttributes() *map[string]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/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy cloudflare_notification_policy}.
func NewNotificationPolicy ¶
func NewNotificationPolicy(scope constructs.Construct, id *string, config *NotificationPolicyConfig) NotificationPolicy
Create a new {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy cloudflare_notification_policy} Resource.
type NotificationPolicyConfig ¶
type NotificationPolicyConfig 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 account identifier to target for the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#account_id NotificationPolicy#account_id} AccountId *string `field:"required" json:"accountId" yaml:"accountId"` // The event type that will trigger the dispatch of a notification. // // See the developer documentation for descriptions of [available alert types](https://developers.cloudflare.com/fundamentals/notifications/notification-available/). Available values: `access_custom_certificate_expiration_type`, `advanced_ddos_attack_l4_alert`, `advanced_ddos_attack_l7_alert`, `bgp_hijack_notification`, `billing_usage_alert`, `block_notification_block_removed`, `block_notification_new_block`, `block_notification_review_rejected`, `clickhouse_alert_fw_anomaly`, `clickhouse_alert_fw_ent_anomaly`, `custom_ssl_certificate_event_type`, `dedicated_ssl_certificate_event_type`, `dos_attack_l4`, `dos_attack_l7`, `expiring_service_token_alert`, `failing_logpush_job_disabled_alert`, `fbm_auto_advertisement`, `fbm_dosd_attack`, `fbm_volumetric_attack`, `health_check_status_notification`, `hostname_aop_custom_certificate_expiration_type`, `http_alert_edge_error`, `http_alert_origin_error`, `load_balancing_health_alert`, `load_balancing_pool_enablement_alert`, `real_origin_monitoring`, `scriptmonitor_alert_new_code_change_detections`, `scriptmonitor_alert_new_hosts`, `scriptmonitor_alert_new_malicious_hosts`, `scriptmonitor_alert_new_malicious_scripts`, `scriptmonitor_alert_new_malicious_url`, `scriptmonitor_alert_new_max_length_resource_url`, `scriptmonitor_alert_new_resources`, `secondary_dns_all_primaries_failing`, `secondary_dns_primaries_failing`, `secondary_dns_zone_successfully_updated`, `secondary_dns_zone_validation_warning`, `sentinel_alert`, `stream_live_notifications`, `tunnel_health_event`, `tunnel_update_event`, `universal_ssl_event_type`, `web_analytics_metrics_update`, `weekly_account_overview`, `workers_alert`, `zone_aop_custom_certificate_expiration_type`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#alert_type NotificationPolicy#alert_type} AlertType *string `field:"required" json:"alertType" yaml:"alertType"` // The status of the notification policy. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#enabled NotificationPolicy#enabled} Enabled interface{} `field:"required" json:"enabled" yaml:"enabled"` // The name of the notification policy. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#name NotificationPolicy#name} Name *string `field:"required" json:"name" yaml:"name"` // Description of the notification policy. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#description NotificationPolicy#description} Description *string `field:"optional" json:"description" yaml:"description"` // email_integration block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#email_integration NotificationPolicy#email_integration} EmailIntegration interface{} `field:"optional" json:"emailIntegration" yaml:"emailIntegration"` // filters block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#filters NotificationPolicy#filters} Filters *NotificationPolicyFilters `field:"optional" json:"filters" yaml:"filters"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#id NotificationPolicy#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"` // pagerduty_integration block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#pagerduty_integration NotificationPolicy#pagerduty_integration} PagerdutyIntegration interface{} `field:"optional" json:"pagerdutyIntegration" yaml:"pagerdutyIntegration"` // webhooks_integration block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#webhooks_integration NotificationPolicy#webhooks_integration} WebhooksIntegration interface{} `field:"optional" json:"webhooksIntegration" yaml:"webhooksIntegration"` }
type NotificationPolicyEmailIntegration ¶
type NotificationPolicyEmailIntegration struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#id NotificationPolicy#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:"required" json:"id" yaml:"id"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#name NotificationPolicy#name}. Name *string `field:"optional" json:"name" yaml:"name"` }
type NotificationPolicyEmailIntegrationList ¶
type NotificationPolicyEmailIntegrationList 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) // Experimental. ComputeFqn() *string Get(index *float64) NotificationPolicyEmailIntegrationOutputReference // 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 NewNotificationPolicyEmailIntegrationList ¶
func NewNotificationPolicyEmailIntegrationList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) NotificationPolicyEmailIntegrationList
type NotificationPolicyEmailIntegrationOutputReference ¶
type NotificationPolicyEmailIntegrationOutputReference 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 Id() *string SetId(val *string) IdInput() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *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 ResetName() // 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 NewNotificationPolicyEmailIntegrationOutputReference ¶
func NewNotificationPolicyEmailIntegrationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) NotificationPolicyEmailIntegrationOutputReference
type NotificationPolicyFilters ¶
type NotificationPolicyFilters struct { // State of the pool to alert on. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#enabled NotificationPolicy#enabled} Enabled *[]*string `field:"optional" json:"enabled" yaml:"enabled"` // Source configuration to alert on for pool or origin. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#event_source NotificationPolicy#event_source} EventSource *[]*string `field:"optional" json:"eventSource" yaml:"eventSource"` // Stream event type to alert on. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#event_type NotificationPolicy#event_type} EventType *[]*string `field:"optional" json:"eventType" yaml:"eventType"` // Identifier health check. Required when using `filters.0.status`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#health_check_id NotificationPolicy#health_check_id} HealthCheckId *[]*string `field:"optional" json:"healthCheckId" yaml:"healthCheckId"` // Stream input id to alert on. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#input_id NotificationPolicy#input_id} InputId *[]*string `field:"optional" json:"inputId" yaml:"inputId"` // A numerical limit. Example: `100`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#limit NotificationPolicy#limit} Limit *[]*string `field:"optional" json:"limit" yaml:"limit"` // Megabits per second threshold for dos alert. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#megabits_per_second NotificationPolicy#megabits_per_second} MegabitsPerSecond *[]*string `field:"optional" json:"megabitsPerSecond" yaml:"megabitsPerSecond"` // Health status to alert on for pool or origin. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#new_health NotificationPolicy#new_health} NewHealth *[]*string `field:"optional" json:"newHealth" yaml:"newHealth"` // Packets per second threshold for dos alert. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#packets_per_second NotificationPolicy#packets_per_second} PacketsPerSecond *[]*string `field:"optional" json:"packetsPerSecond" yaml:"packetsPerSecond"` // Load balancer pool identifier. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#pool_id NotificationPolicy#pool_id} PoolId *[]*string `field:"optional" json:"poolId" yaml:"poolId"` // Product name. Available values: `worker_requests`, `worker_durable_objects_requests`, `worker_durable_objects_duration`, `worker_durable_objects_data_transfer`, `worker_durable_objects_stored_data`, `worker_durable_objects_storage_deletes`, `worker_durable_objects_storage_writes`, `worker_durable_objects_storage_reads`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#product NotificationPolicy#product} Product *[]*string `field:"optional" json:"product" yaml:"product"` // Protocol to alert on for dos. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#protocol NotificationPolicy#protocol} Protocol *[]*string `field:"optional" json:"protocol" yaml:"protocol"` // Requests per second threshold for dos alert. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#requests_per_second NotificationPolicy#requests_per_second} RequestsPerSecond *[]*string `field:"optional" json:"requestsPerSecond" yaml:"requestsPerSecond"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#services NotificationPolicy#services}. Services *[]*string `field:"optional" json:"services" yaml:"services"` // A numerical limit. Example: `99.9`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#slo NotificationPolicy#slo} Slo *[]*string `field:"optional" json:"slo" yaml:"slo"` // Status to alert on. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#status NotificationPolicy#status} Status *[]*string `field:"optional" json:"status" yaml:"status"` // Target host to alert on for dos. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#target_hostname NotificationPolicy#target_hostname} TargetHostname *[]*string `field:"optional" json:"targetHostname" yaml:"targetHostname"` // Target domain to alert on. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#target_zone_name NotificationPolicy#target_zone_name} TargetZoneName *[]*string `field:"optional" json:"targetZoneName" yaml:"targetZoneName"` // A list of zone identifiers. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#zones NotificationPolicy#zones} Zones *[]*string `field:"optional" json:"zones" yaml:"zones"` }
type NotificationPolicyFiltersOutputReference ¶
type NotificationPolicyFiltersOutputReference 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 Enabled() *[]*string SetEnabled(val *[]*string) EnabledInput() *[]*string EventSource() *[]*string SetEventSource(val *[]*string) EventSourceInput() *[]*string EventType() *[]*string SetEventType(val *[]*string) EventTypeInput() *[]*string // Experimental. Fqn() *string HealthCheckId() *[]*string SetHealthCheckId(val *[]*string) HealthCheckIdInput() *[]*string InputId() *[]*string SetInputId(val *[]*string) InputIdInput() *[]*string InternalValue() *NotificationPolicyFilters SetInternalValue(val *NotificationPolicyFilters) Limit() *[]*string SetLimit(val *[]*string) LimitInput() *[]*string MegabitsPerSecond() *[]*string SetMegabitsPerSecond(val *[]*string) MegabitsPerSecondInput() *[]*string NewHealth() *[]*string SetNewHealth(val *[]*string) NewHealthInput() *[]*string PacketsPerSecond() *[]*string SetPacketsPerSecond(val *[]*string) PacketsPerSecondInput() *[]*string PoolId() *[]*string SetPoolId(val *[]*string) PoolIdInput() *[]*string Product() *[]*string SetProduct(val *[]*string) ProductInput() *[]*string Protocol() *[]*string SetProtocol(val *[]*string) ProtocolInput() *[]*string RequestsPerSecond() *[]*string SetRequestsPerSecond(val *[]*string) RequestsPerSecondInput() *[]*string Services() *[]*string SetServices(val *[]*string) ServicesInput() *[]*string Slo() *[]*string SetSlo(val *[]*string) SloInput() *[]*string Status() *[]*string SetStatus(val *[]*string) StatusInput() *[]*string TargetHostname() *[]*string SetTargetHostname(val *[]*string) TargetHostnameInput() *[]*string TargetZoneName() *[]*string SetTargetZoneName(val *[]*string) TargetZoneNameInput() *[]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Zones() *[]*string SetZones(val *[]*string) ZonesInput() *[]*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 ResetEnabled() ResetEventSource() ResetEventType() ResetHealthCheckId() ResetInputId() ResetLimit() ResetMegabitsPerSecond() ResetNewHealth() ResetPacketsPerSecond() ResetPoolId() ResetProduct() ResetProtocol() ResetRequestsPerSecond() ResetServices() ResetSlo() ResetStatus() ResetTargetHostname() ResetTargetZoneName() ResetZones() // 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 NewNotificationPolicyFiltersOutputReference ¶
func NewNotificationPolicyFiltersOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) NotificationPolicyFiltersOutputReference
type NotificationPolicyPagerdutyIntegration ¶
type NotificationPolicyPagerdutyIntegration struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#id NotificationPolicy#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:"required" json:"id" yaml:"id"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#name NotificationPolicy#name}. Name *string `field:"optional" json:"name" yaml:"name"` }
type NotificationPolicyPagerdutyIntegrationList ¶
type NotificationPolicyPagerdutyIntegrationList 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) // Experimental. ComputeFqn() *string Get(index *float64) NotificationPolicyPagerdutyIntegrationOutputReference // 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 NewNotificationPolicyPagerdutyIntegrationList ¶
func NewNotificationPolicyPagerdutyIntegrationList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) NotificationPolicyPagerdutyIntegrationList
type NotificationPolicyPagerdutyIntegrationOutputReference ¶
type NotificationPolicyPagerdutyIntegrationOutputReference 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 Id() *string SetId(val *string) IdInput() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *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 ResetName() // 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 NewNotificationPolicyPagerdutyIntegrationOutputReference ¶
func NewNotificationPolicyPagerdutyIntegrationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) NotificationPolicyPagerdutyIntegrationOutputReference
type NotificationPolicyWebhooksIntegration ¶
type NotificationPolicyWebhooksIntegration struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#id NotificationPolicy#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:"required" json:"id" yaml:"id"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/notification_policy#name NotificationPolicy#name}. Name *string `field:"optional" json:"name" yaml:"name"` }
type NotificationPolicyWebhooksIntegrationList ¶
type NotificationPolicyWebhooksIntegrationList 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) // Experimental. ComputeFqn() *string Get(index *float64) NotificationPolicyWebhooksIntegrationOutputReference // 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 NewNotificationPolicyWebhooksIntegrationList ¶
func NewNotificationPolicyWebhooksIntegrationList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) NotificationPolicyWebhooksIntegrationList
type NotificationPolicyWebhooksIntegrationOutputReference ¶
type NotificationPolicyWebhooksIntegrationOutputReference 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 Id() *string SetId(val *string) IdInput() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *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 ResetName() // 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 NewNotificationPolicyWebhooksIntegrationOutputReference ¶
func NewNotificationPolicyWebhooksIntegrationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) NotificationPolicyWebhooksIntegrationOutputReference
Source Files ¶
- NotificationPolicy.go
- NotificationPolicyConfig.go
- NotificationPolicyEmailIntegration.go
- NotificationPolicyEmailIntegrationList.go
- NotificationPolicyEmailIntegrationList__checks.go
- NotificationPolicyEmailIntegrationOutputReference.go
- NotificationPolicyEmailIntegrationOutputReference__checks.go
- NotificationPolicyFilters.go
- NotificationPolicyFiltersOutputReference.go
- NotificationPolicyFiltersOutputReference__checks.go
- NotificationPolicyPagerdutyIntegration.go
- NotificationPolicyPagerdutyIntegrationList.go
- NotificationPolicyPagerdutyIntegrationList__checks.go
- NotificationPolicyPagerdutyIntegrationOutputReference.go
- NotificationPolicyPagerdutyIntegrationOutputReference__checks.go
- NotificationPolicyWebhooksIntegration.go
- NotificationPolicyWebhooksIntegrationList.go
- NotificationPolicyWebhooksIntegrationList__checks.go
- NotificationPolicyWebhooksIntegrationOutputReference.go
- NotificationPolicyWebhooksIntegrationOutputReference__checks.go
- NotificationPolicy__checks.go
- main.go