Documentation ¶
Index ¶
- func EmailRoutingRule_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func EmailRoutingRule_IsConstruct(x interface{}) *bool
- func EmailRoutingRule_IsTerraformElement(x interface{}) *bool
- func EmailRoutingRule_IsTerraformResource(x interface{}) *bool
- func EmailRoutingRule_TfResourceType() *string
- func NewEmailRoutingRuleActionList_Override(e EmailRoutingRuleActionList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewEmailRoutingRuleActionOutputReference_Override(e EmailRoutingRuleActionOutputReference, ...)
- func NewEmailRoutingRuleMatcherList_Override(e EmailRoutingRuleMatcherList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewEmailRoutingRuleMatcherOutputReference_Override(e EmailRoutingRuleMatcherOutputReference, ...)
- func NewEmailRoutingRule_Override(e EmailRoutingRule, scope constructs.Construct, id *string, ...)
- type EmailRoutingRule
- type EmailRoutingRuleAction
- type EmailRoutingRuleActionList
- type EmailRoutingRuleActionOutputReference
- type EmailRoutingRuleConfig
- type EmailRoutingRuleMatcher
- type EmailRoutingRuleMatcherList
- type EmailRoutingRuleMatcherOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmailRoutingRule_GenerateConfigForImport ¶
func EmailRoutingRule_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a EmailRoutingRule resource upon running "cdktf plan <stack-name>".
func EmailRoutingRule_IsConstruct ¶
func EmailRoutingRule_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 EmailRoutingRule_IsTerraformElement ¶
func EmailRoutingRule_IsTerraformElement(x interface{}) *bool
Experimental.
func EmailRoutingRule_IsTerraformResource ¶
func EmailRoutingRule_IsTerraformResource(x interface{}) *bool
Experimental.
func EmailRoutingRule_TfResourceType ¶
func EmailRoutingRule_TfResourceType() *string
func NewEmailRoutingRuleActionList_Override ¶
func NewEmailRoutingRuleActionList_Override(e EmailRoutingRuleActionList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewEmailRoutingRuleActionOutputReference_Override ¶
func NewEmailRoutingRuleActionOutputReference_Override(e EmailRoutingRuleActionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewEmailRoutingRuleMatcherList_Override ¶
func NewEmailRoutingRuleMatcherList_Override(e EmailRoutingRuleMatcherList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewEmailRoutingRuleMatcherOutputReference_Override ¶
func NewEmailRoutingRuleMatcherOutputReference_Override(e EmailRoutingRuleMatcherOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewEmailRoutingRule_Override ¶
func NewEmailRoutingRule_Override(e EmailRoutingRule, scope constructs.Construct, id *string, config *EmailRoutingRuleConfig)
Create a new {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/email_routing_rule cloudflare_email_routing_rule} Resource.
Types ¶
type EmailRoutingRule ¶
type EmailRoutingRule interface { cdktf.TerraformResource Action() EmailRoutingRuleActionList ActionInput() interface{} // 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) Enabled() interface{} SetEnabled(val interface{}) EnabledInput() interface{} // 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) Matcher() EmailRoutingRuleMatcherList MatcherInput() interface{} Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Priority() *float64 SetPriority(val *float64) PriorityInput() *float64 // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Tag() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string ZoneId() *string SetZoneId(val *string) ZoneIdInput() *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) PutAction(value interface{}) PutMatcher(value interface{}) ResetAction() ResetEnabled() ResetMatcher() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPriority() 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/cloudflare/cloudflare/4.50.0/docs/resources/email_routing_rule cloudflare_email_routing_rule}.
func NewEmailRoutingRule ¶
func NewEmailRoutingRule(scope constructs.Construct, id *string, config *EmailRoutingRuleConfig) EmailRoutingRule
Create a new {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/email_routing_rule cloudflare_email_routing_rule} Resource.
type EmailRoutingRuleAction ¶
type EmailRoutingRuleAction struct { // Type of action. Available values: `forward`, `worker`, `drop`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/email_routing_rule#type EmailRoutingRule#type} Type *string `field:"required" json:"type" yaml:"type"` // Value to match on. Required for `type` of `literal`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/email_routing_rule#value EmailRoutingRule#value} Value *[]*string `field:"optional" json:"value" yaml:"value"` }
type EmailRoutingRuleActionList ¶
type EmailRoutingRuleActionList 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) EmailRoutingRuleActionOutputReference // 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 NewEmailRoutingRuleActionList ¶
func NewEmailRoutingRuleActionList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) EmailRoutingRuleActionList
type EmailRoutingRuleActionOutputReference ¶
type EmailRoutingRuleActionOutputReference 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{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *string Value() *[]*string SetValue(val *[]*string) ValueInput() *[]*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 ResetValue() // 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 NewEmailRoutingRuleActionOutputReference ¶
func NewEmailRoutingRuleActionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) EmailRoutingRuleActionOutputReference
type EmailRoutingRuleConfig ¶
type EmailRoutingRuleConfig 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"` // Routing rule name. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/email_routing_rule#name EmailRoutingRule#name} Name *string `field:"required" json:"name" yaml:"name"` // The zone identifier to target for the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/email_routing_rule#zone_id EmailRoutingRule#zone_id} ZoneId *string `field:"required" json:"zoneId" yaml:"zoneId"` // action block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/email_routing_rule#action EmailRoutingRule#action} Action interface{} `field:"optional" json:"action" yaml:"action"` // Whether the email routing rule is enabled. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/email_routing_rule#enabled EmailRoutingRule#enabled} Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"` // matcher block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/email_routing_rule#matcher EmailRoutingRule#matcher} Matcher interface{} `field:"optional" json:"matcher" yaml:"matcher"` // The priority of the email routing rule. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/email_routing_rule#priority EmailRoutingRule#priority} Priority *float64 `field:"optional" json:"priority" yaml:"priority"` }
type EmailRoutingRuleMatcher ¶
type EmailRoutingRuleMatcher struct { // Type of matcher. Available values: `literal`, `all`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/email_routing_rule#type EmailRoutingRule#type} Type *string `field:"required" json:"type" yaml:"type"` // Field to match on. Required for `type` of `literal`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/email_routing_rule#field EmailRoutingRule#field} Field *string `field:"optional" json:"field" yaml:"field"` // Value to match on. Required for `type` of `literal`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/email_routing_rule#value EmailRoutingRule#value} Value *string `field:"optional" json:"value" yaml:"value"` }
type EmailRoutingRuleMatcherList ¶
type EmailRoutingRuleMatcherList 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) EmailRoutingRuleMatcherOutputReference // 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 NewEmailRoutingRuleMatcherList ¶
func NewEmailRoutingRuleMatcherList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) EmailRoutingRuleMatcherList
type EmailRoutingRuleMatcherOutputReference ¶
type EmailRoutingRuleMatcherOutputReference 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 Field() *string SetField(val *string) FieldInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *string Value() *string SetValue(val *string) ValueInput() *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 ResetField() ResetValue() // 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 NewEmailRoutingRuleMatcherOutputReference ¶
func NewEmailRoutingRuleMatcherOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) EmailRoutingRuleMatcherOutputReference
Source Files ¶
- EmailRoutingRule.go
- EmailRoutingRuleAction.go
- EmailRoutingRuleActionList.go
- EmailRoutingRuleActionList__checks.go
- EmailRoutingRuleActionOutputReference.go
- EmailRoutingRuleActionOutputReference__checks.go
- EmailRoutingRuleConfig.go
- EmailRoutingRuleMatcher.go
- EmailRoutingRuleMatcherList.go
- EmailRoutingRuleMatcherList__checks.go
- EmailRoutingRuleMatcherOutputReference.go
- EmailRoutingRuleMatcherOutputReference__checks.go
- EmailRoutingRule__checks.go
- main.go