Documentation ¶
Index ¶
- func NewWorkerScriptKvNamespaceBindingList_Override(w WorkerScriptKvNamespaceBindingList, ...)
- func NewWorkerScriptKvNamespaceBindingOutputReference_Override(w WorkerScriptKvNamespaceBindingOutputReference, ...)
- func NewWorkerScriptPlainTextBindingList_Override(w WorkerScriptPlainTextBindingList, ...)
- func NewWorkerScriptPlainTextBindingOutputReference_Override(w WorkerScriptPlainTextBindingOutputReference, ...)
- func NewWorkerScriptR2BucketBindingList_Override(w WorkerScriptR2BucketBindingList, ...)
- func NewWorkerScriptR2BucketBindingOutputReference_Override(w WorkerScriptR2BucketBindingOutputReference, ...)
- func NewWorkerScriptSecretTextBindingList_Override(w WorkerScriptSecretTextBindingList, ...)
- func NewWorkerScriptSecretTextBindingOutputReference_Override(w WorkerScriptSecretTextBindingOutputReference, ...)
- func NewWorkerScriptServiceBindingList_Override(w WorkerScriptServiceBindingList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewWorkerScriptServiceBindingOutputReference_Override(w WorkerScriptServiceBindingOutputReference, ...)
- func NewWorkerScriptWebassemblyBindingList_Override(w WorkerScriptWebassemblyBindingList, ...)
- func NewWorkerScriptWebassemblyBindingOutputReference_Override(w WorkerScriptWebassemblyBindingOutputReference, ...)
- func NewWorkerScript_Override(w WorkerScript, scope constructs.Construct, id *string, ...)
- func WorkerScript_IsConstruct(x interface{}) *bool
- func WorkerScript_TfResourceType() *string
- type WorkerScript
- type WorkerScriptConfig
- type WorkerScriptKvNamespaceBinding
- type WorkerScriptKvNamespaceBindingList
- type WorkerScriptKvNamespaceBindingOutputReference
- type WorkerScriptPlainTextBinding
- type WorkerScriptPlainTextBindingList
- type WorkerScriptPlainTextBindingOutputReference
- type WorkerScriptR2BucketBinding
- type WorkerScriptR2BucketBindingList
- type WorkerScriptR2BucketBindingOutputReference
- type WorkerScriptSecretTextBinding
- type WorkerScriptSecretTextBindingList
- type WorkerScriptSecretTextBindingOutputReference
- type WorkerScriptServiceBinding
- type WorkerScriptServiceBindingList
- type WorkerScriptServiceBindingOutputReference
- type WorkerScriptWebassemblyBinding
- type WorkerScriptWebassemblyBindingList
- type WorkerScriptWebassemblyBindingOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWorkerScriptKvNamespaceBindingList_Override ¶
func NewWorkerScriptKvNamespaceBindingList_Override(w WorkerScriptKvNamespaceBindingList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewWorkerScriptKvNamespaceBindingOutputReference_Override ¶
func NewWorkerScriptKvNamespaceBindingOutputReference_Override(w WorkerScriptKvNamespaceBindingOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewWorkerScriptPlainTextBindingList_Override ¶
func NewWorkerScriptPlainTextBindingList_Override(w WorkerScriptPlainTextBindingList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewWorkerScriptPlainTextBindingOutputReference_Override ¶
func NewWorkerScriptPlainTextBindingOutputReference_Override(w WorkerScriptPlainTextBindingOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewWorkerScriptR2BucketBindingList_Override ¶
func NewWorkerScriptR2BucketBindingList_Override(w WorkerScriptR2BucketBindingList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewWorkerScriptR2BucketBindingOutputReference_Override ¶
func NewWorkerScriptR2BucketBindingOutputReference_Override(w WorkerScriptR2BucketBindingOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewWorkerScriptSecretTextBindingList_Override ¶
func NewWorkerScriptSecretTextBindingList_Override(w WorkerScriptSecretTextBindingList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewWorkerScriptSecretTextBindingOutputReference_Override ¶
func NewWorkerScriptSecretTextBindingOutputReference_Override(w WorkerScriptSecretTextBindingOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewWorkerScriptServiceBindingList_Override ¶
func NewWorkerScriptServiceBindingList_Override(w WorkerScriptServiceBindingList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewWorkerScriptServiceBindingOutputReference_Override ¶
func NewWorkerScriptServiceBindingOutputReference_Override(w WorkerScriptServiceBindingOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewWorkerScriptWebassemblyBindingList_Override ¶
func NewWorkerScriptWebassemblyBindingList_Override(w WorkerScriptWebassemblyBindingList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewWorkerScriptWebassemblyBindingOutputReference_Override ¶
func NewWorkerScriptWebassemblyBindingOutputReference_Override(w WorkerScriptWebassemblyBindingOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewWorkerScript_Override ¶
func NewWorkerScript_Override(w WorkerScript, scope constructs.Construct, id *string, config *WorkerScriptConfig)
Create a new {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script cloudflare_worker_script} Resource.
func WorkerScript_IsConstruct ¶
func WorkerScript_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 WorkerScript_TfResourceType ¶
func WorkerScript_TfResourceType() *string
Types ¶
type WorkerScript ¶
type WorkerScript interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} Content() *string SetContent(val *string) ContentInput() *string // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string KvNamespaceBinding() WorkerScriptKvNamespaceBindingList KvNamespaceBindingInput() interface{} // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Module() interface{} SetModule(val interface{}) ModuleInput() interface{} Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node PlainTextBinding() WorkerScriptPlainTextBindingList PlainTextBindingInput() interface{} // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) R2BucketBinding() WorkerScriptR2BucketBindingList R2BucketBindingInput() interface{} // Experimental. RawOverrides() interface{} SecretTextBinding() WorkerScriptSecretTextBindingList SecretTextBindingInput() interface{} ServiceBinding() WorkerScriptServiceBindingList ServiceBindingInput() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string WebassemblyBinding() WorkerScriptWebassemblyBindingList WebassemblyBindingInput() 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) PutKvNamespaceBinding(value interface{}) PutPlainTextBinding(value interface{}) PutR2BucketBinding(value interface{}) PutSecretTextBinding(value interface{}) PutServiceBinding(value interface{}) PutWebassemblyBinding(value interface{}) ResetId() ResetKvNamespaceBinding() ResetModule() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPlainTextBinding() ResetR2BucketBinding() ResetSecretTextBinding() ResetServiceBinding() ResetWebassemblyBinding() 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://www.terraform.io/docs/providers/cloudflare/r/worker_script cloudflare_worker_script}.
func NewWorkerScript ¶
func NewWorkerScript(scope constructs.Construct, id *string, config *WorkerScriptConfig) WorkerScript
Create a new {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script cloudflare_worker_script} Resource.
type WorkerScriptConfig ¶
type WorkerScriptConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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 script content. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#content WorkerScript#content} Content *string `field:"required" json:"content" yaml:"content"` // The name for the script. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#name WorkerScript#name} Name *string `field:"required" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#id WorkerScript#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"` // kv_namespace_binding block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#kv_namespace_binding WorkerScript#kv_namespace_binding} KvNamespaceBinding interface{} `field:"optional" json:"kvNamespaceBinding" yaml:"kvNamespaceBinding"` // Whether to upload Worker as a module. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#module WorkerScript#module} Module interface{} `field:"optional" json:"module" yaml:"module"` // plain_text_binding block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#plain_text_binding WorkerScript#plain_text_binding} PlainTextBinding interface{} `field:"optional" json:"plainTextBinding" yaml:"plainTextBinding"` // r2_bucket_binding block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#r2_bucket_binding WorkerScript#r2_bucket_binding} R2BucketBinding interface{} `field:"optional" json:"r2BucketBinding" yaml:"r2BucketBinding"` // secret_text_binding block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#secret_text_binding WorkerScript#secret_text_binding} SecretTextBinding interface{} `field:"optional" json:"secretTextBinding" yaml:"secretTextBinding"` // service_binding block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#service_binding WorkerScript#service_binding} ServiceBinding interface{} `field:"optional" json:"serviceBinding" yaml:"serviceBinding"` // webassembly_binding block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#webassembly_binding WorkerScript#webassembly_binding} WebassemblyBinding interface{} `field:"optional" json:"webassemblyBinding" yaml:"webassemblyBinding"` }
type WorkerScriptKvNamespaceBinding ¶
type WorkerScriptKvNamespaceBinding struct { // The global variable for the binding in your Worker code. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#name WorkerScript#name} Name *string `field:"required" json:"name" yaml:"name"` // ID of the KV namespace you want to use. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#namespace_id WorkerScript#namespace_id} NamespaceId *string `field:"required" json:"namespaceId" yaml:"namespaceId"` }
type WorkerScriptKvNamespaceBindingList ¶
type WorkerScriptKvNamespaceBindingList 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) WorkerScriptKvNamespaceBindingOutputReference // 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 NewWorkerScriptKvNamespaceBindingList ¶
func NewWorkerScriptKvNamespaceBindingList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) WorkerScriptKvNamespaceBindingList
type WorkerScriptKvNamespaceBindingOutputReference ¶
type WorkerScriptKvNamespaceBindingOutputReference 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{}) Name() *string SetName(val *string) NameInput() *string NamespaceId() *string SetNamespaceId(val *string) NamespaceIdInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewWorkerScriptKvNamespaceBindingOutputReference ¶
func NewWorkerScriptKvNamespaceBindingOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) WorkerScriptKvNamespaceBindingOutputReference
type WorkerScriptPlainTextBinding ¶
type WorkerScriptPlainTextBinding struct { // The global variable for the binding in your Worker code. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#name WorkerScript#name} Name *string `field:"required" json:"name" yaml:"name"` // The plain text you want to store. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#text WorkerScript#text} Text *string `field:"required" json:"text" yaml:"text"` }
type WorkerScriptPlainTextBindingList ¶
type WorkerScriptPlainTextBindingList 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) WorkerScriptPlainTextBindingOutputReference // 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 NewWorkerScriptPlainTextBindingList ¶
func NewWorkerScriptPlainTextBindingList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) WorkerScriptPlainTextBindingList
type WorkerScriptPlainTextBindingOutputReference ¶
type WorkerScriptPlainTextBindingOutputReference 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{}) Name() *string SetName(val *string) NameInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Text() *string SetText(val *string) TextInput() *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 // 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 NewWorkerScriptPlainTextBindingOutputReference ¶
func NewWorkerScriptPlainTextBindingOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) WorkerScriptPlainTextBindingOutputReference
type WorkerScriptR2BucketBinding ¶
type WorkerScriptR2BucketBinding struct { // The name of the Bucket to bind to. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#bucket_name WorkerScript#bucket_name} BucketName *string `field:"required" json:"bucketName" yaml:"bucketName"` // The global variable for the binding in your Worker code. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#name WorkerScript#name} Name *string `field:"required" json:"name" yaml:"name"` }
type WorkerScriptR2BucketBindingList ¶
type WorkerScriptR2BucketBindingList 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) WorkerScriptR2BucketBindingOutputReference // 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 NewWorkerScriptR2BucketBindingList ¶
func NewWorkerScriptR2BucketBindingList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) WorkerScriptR2BucketBindingList
type WorkerScriptR2BucketBindingOutputReference ¶
type WorkerScriptR2BucketBindingOutputReference interface { cdktf.ComplexObject BucketName() *string SetBucketName(val *string) BucketNameInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() 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 // 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 NewWorkerScriptR2BucketBindingOutputReference ¶
func NewWorkerScriptR2BucketBindingOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) WorkerScriptR2BucketBindingOutputReference
type WorkerScriptSecretTextBinding ¶
type WorkerScriptSecretTextBinding struct { // The global variable for the binding in your Worker code. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#name WorkerScript#name} Name *string `field:"required" json:"name" yaml:"name"` // The secret text you want to store. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#text WorkerScript#text} Text *string `field:"required" json:"text" yaml:"text"` }
type WorkerScriptSecretTextBindingList ¶
type WorkerScriptSecretTextBindingList 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) WorkerScriptSecretTextBindingOutputReference // 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 NewWorkerScriptSecretTextBindingList ¶
func NewWorkerScriptSecretTextBindingList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) WorkerScriptSecretTextBindingList
type WorkerScriptSecretTextBindingOutputReference ¶
type WorkerScriptSecretTextBindingOutputReference 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{}) Name() *string SetName(val *string) NameInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Text() *string SetText(val *string) TextInput() *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 // 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 NewWorkerScriptSecretTextBindingOutputReference ¶
func NewWorkerScriptSecretTextBindingOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) WorkerScriptSecretTextBindingOutputReference
type WorkerScriptServiceBinding ¶
type WorkerScriptServiceBinding struct { // The global variable for the binding in your Worker code. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#name WorkerScript#name} Name *string `field:"required" json:"name" yaml:"name"` // The name of the Worker to bind to. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#service WorkerScript#service} Service *string `field:"required" json:"service" yaml:"service"` // The name of the Worker environment to bind to. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#environment WorkerScript#environment} Environment *string `field:"optional" json:"environment" yaml:"environment"` }
type WorkerScriptServiceBindingList ¶
type WorkerScriptServiceBindingList 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) WorkerScriptServiceBindingOutputReference // 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 NewWorkerScriptServiceBindingList ¶
func NewWorkerScriptServiceBindingList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) WorkerScriptServiceBindingList
type WorkerScriptServiceBindingOutputReference ¶
type WorkerScriptServiceBindingOutputReference 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 Environment() *string SetEnvironment(val *string) EnvironmentInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *string Service() *string SetService(val *string) ServiceInput() *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 ResetEnvironment() // 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 NewWorkerScriptServiceBindingOutputReference ¶
func NewWorkerScriptServiceBindingOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) WorkerScriptServiceBindingOutputReference
type WorkerScriptWebassemblyBinding ¶
type WorkerScriptWebassemblyBinding struct { // The base64 encoded wasm module you want to store. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#module WorkerScript#module} Module *string `field:"required" json:"module" yaml:"module"` // The global variable for the binding in your Worker code. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/worker_script#name WorkerScript#name} Name *string `field:"required" json:"name" yaml:"name"` }
type WorkerScriptWebassemblyBindingList ¶
type WorkerScriptWebassemblyBindingList 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) WorkerScriptWebassemblyBindingOutputReference // 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 NewWorkerScriptWebassemblyBindingList ¶
func NewWorkerScriptWebassemblyBindingList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) WorkerScriptWebassemblyBindingList
type WorkerScriptWebassemblyBindingOutputReference ¶
type WorkerScriptWebassemblyBindingOutputReference 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{}) Module() *string SetModule(val *string) ModuleInput() *string 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 // 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 NewWorkerScriptWebassemblyBindingOutputReference ¶
func NewWorkerScriptWebassemblyBindingOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) WorkerScriptWebassemblyBindingOutputReference
Source Files ¶
- workerscript.go
- workerscript_WorkerScript.go
- workerscript_WorkerScriptConfig.go
- workerscript_WorkerScriptKvNamespaceBinding.go
- workerscript_WorkerScriptKvNamespaceBindingList.go
- workerscript_WorkerScriptKvNamespaceBindingList__runtime_type_checks.go
- workerscript_WorkerScriptKvNamespaceBindingOutputReference.go
- workerscript_WorkerScriptKvNamespaceBindingOutputReference__runtime_type_checks.go
- workerscript_WorkerScriptPlainTextBinding.go
- workerscript_WorkerScriptPlainTextBindingList.go
- workerscript_WorkerScriptPlainTextBindingList__runtime_type_checks.go
- workerscript_WorkerScriptPlainTextBindingOutputReference.go
- workerscript_WorkerScriptPlainTextBindingOutputReference__runtime_type_checks.go
- workerscript_WorkerScriptR2BucketBinding.go
- workerscript_WorkerScriptR2BucketBindingList.go
- workerscript_WorkerScriptR2BucketBindingList__runtime_type_checks.go
- workerscript_WorkerScriptR2BucketBindingOutputReference.go
- workerscript_WorkerScriptR2BucketBindingOutputReference__runtime_type_checks.go
- workerscript_WorkerScriptSecretTextBinding.go
- workerscript_WorkerScriptSecretTextBindingList.go
- workerscript_WorkerScriptSecretTextBindingList__runtime_type_checks.go
- workerscript_WorkerScriptSecretTextBindingOutputReference.go
- workerscript_WorkerScriptSecretTextBindingOutputReference__runtime_type_checks.go
- workerscript_WorkerScriptServiceBinding.go
- workerscript_WorkerScriptServiceBindingList.go
- workerscript_WorkerScriptServiceBindingList__runtime_type_checks.go
- workerscript_WorkerScriptServiceBindingOutputReference.go
- workerscript_WorkerScriptServiceBindingOutputReference__runtime_type_checks.go
- workerscript_WorkerScriptWebassemblyBinding.go
- workerscript_WorkerScriptWebassemblyBindingList.go
- workerscript_WorkerScriptWebassemblyBindingList__runtime_type_checks.go
- workerscript_WorkerScriptWebassemblyBindingOutputReference.go
- workerscript_WorkerScriptWebassemblyBindingOutputReference__runtime_type_checks.go
- workerscript_WorkerScript__runtime_type_checks.go