Documentation ¶
Index ¶
- func List_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func List_IsConstruct(x interface{}) *bool
- func List_IsTerraformElement(x interface{}) *bool
- func List_IsTerraformResource(x interface{}) *bool
- func List_TfResourceType() *string
- func NewListItemList_Override(l ListItemList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewListItemOutputReference_Override(l ListItemOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewListItemValueHostnameList_Override(l ListItemValueHostnameList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewListItemValueHostnameOutputReference_Override(l ListItemValueHostnameOutputReference, ...)
- func NewListItemValueList_Override(l ListItemValueList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewListItemValueOutputReference_Override(l ListItemValueOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewListItemValueRedirectList_Override(l ListItemValueRedirectList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewListItemValueRedirectOutputReference_Override(l ListItemValueRedirectOutputReference, ...)
- func NewList_Override(l List, scope constructs.Construct, id *string, config *ListConfig)
- type List
- type ListConfig
- type ListItem
- type ListItemList
- type ListItemOutputReference
- type ListItemValue
- type ListItemValueHostname
- type ListItemValueHostnameList
- type ListItemValueHostnameOutputReference
- type ListItemValueList
- type ListItemValueOutputReference
- type ListItemValueRedirect
- type ListItemValueRedirectList
- type ListItemValueRedirectOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List_GenerateConfigForImport ¶
func List_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a List resource upon running "cdktf plan <stack-name>".
func List_IsConstruct ¶
func List_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 List_TfResourceType ¶
func List_TfResourceType() *string
func NewListItemList_Override ¶
func NewListItemList_Override(l ListItemList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewListItemOutputReference_Override ¶
func NewListItemOutputReference_Override(l ListItemOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewListItemValueHostnameList_Override ¶
func NewListItemValueHostnameList_Override(l ListItemValueHostnameList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewListItemValueHostnameOutputReference_Override ¶
func NewListItemValueHostnameOutputReference_Override(l ListItemValueHostnameOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewListItemValueList_Override ¶ added in v11.22.0
func NewListItemValueList_Override(l ListItemValueList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewListItemValueOutputReference_Override ¶
func NewListItemValueOutputReference_Override(l ListItemValueOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewListItemValueRedirectList_Override ¶
func NewListItemValueRedirectList_Override(l ListItemValueRedirectList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewListItemValueRedirectOutputReference_Override ¶
func NewListItemValueRedirectOutputReference_Override(l ListItemValueRedirectOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewList_Override ¶
func NewList_Override(l List, scope constructs.Construct, id *string, config *ListConfig)
Create a new {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list cloudflare_list} Resource.
Types ¶
type List ¶
type List interface { cdktf.TerraformResource AccountId() *string SetAccountId(val *string) AccountIdInput() *string // 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) Description() *string SetDescription(val *string) DescriptionInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string Item() ListItemList ItemInput() interface{} Kind() *string SetKind(val *string) KindInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // 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 // 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) PutItem(value interface{}) ResetDescription() ResetItem() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() 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/list cloudflare_list}.
func NewList ¶
func NewList(scope constructs.Construct, id *string, config *ListConfig) List
Create a new {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list cloudflare_list} Resource.
type ListConfig ¶
type ListConfig 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.50.0/docs/resources/list#account_id List#account_id} AccountId *string `field:"required" json:"accountId" yaml:"accountId"` // The type of items the list will contain. Must provide only one of: `ip`, `redirect`, `hostname`, `asn`.. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#kind List#kind} Kind *string `field:"required" json:"kind" yaml:"kind"` // The name of the list. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#name List#name} Name *string `field:"required" json:"name" yaml:"name"` // An optional description of the list. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#description List#description} Description *string `field:"optional" json:"description" yaml:"description"` // item block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#item List#item} Item interface{} `field:"optional" json:"item" yaml:"item"` }
type ListItem ¶
type ListItem struct { // An optional comment for the item. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#comment List#comment} Comment *string `field:"optional" json:"comment" yaml:"comment"` // value block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#value List#value} Value interface{} `field:"optional" json:"value" yaml:"value"` }
type ListItemList ¶
type ListItemList 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) ListItemOutputReference // 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 NewListItemList ¶
func NewListItemList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ListItemList
type ListItemOutputReference ¶
type ListItemOutputReference interface { cdktf.ComplexObject Comment() *string SetComment(val *string) CommentInput() *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{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Value() ListItemValueList ValueInput() interface{} // 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 PutValue(value interface{}) ResetComment() 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 NewListItemOutputReference ¶
func NewListItemOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ListItemOutputReference
type ListItemValue ¶
type ListItemValue struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#asn List#asn}. Asn *float64 `field:"optional" json:"asn" yaml:"asn"` // hostname block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#hostname List#hostname} Hostname interface{} `field:"optional" json:"hostname" yaml:"hostname"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#ip List#ip}. Ip *string `field:"optional" json:"ip" yaml:"ip"` // redirect block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#redirect List#redirect} Redirect interface{} `field:"optional" json:"redirect" yaml:"redirect"` }
type ListItemValueHostname ¶
type ListItemValueHostname struct { // The FQDN to match on. Wildcard sub-domain matching is allowed. Eg. *.abc.com. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#url_hostname List#url_hostname} UrlHostname *string `field:"required" json:"urlHostname" yaml:"urlHostname"` }
type ListItemValueHostnameList ¶
type ListItemValueHostnameList 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) ListItemValueHostnameOutputReference // 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 NewListItemValueHostnameList ¶
func NewListItemValueHostnameList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ListItemValueHostnameList
type ListItemValueHostnameOutputReference ¶
type ListItemValueHostnameOutputReference 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) UrlHostname() *string SetUrlHostname(val *string) UrlHostnameInput() *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 NewListItemValueHostnameOutputReference ¶
func NewListItemValueHostnameOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ListItemValueHostnameOutputReference
type ListItemValueList ¶ added in v11.22.0
type ListItemValueList 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) ListItemValueOutputReference // 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 NewListItemValueList ¶ added in v11.22.0
func NewListItemValueList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ListItemValueList
type ListItemValueOutputReference ¶
type ListItemValueOutputReference interface { cdktf.ComplexObject Asn() *float64 SetAsn(val *float64) AsnInput() *float64 // 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 Hostname() ListItemValueHostnameList HostnameInput() interface{} InternalValue() interface{} SetInternalValue(val interface{}) Ip() *string SetIp(val *string) IpInput() *string Redirect() ListItemValueRedirectList RedirectInput() interface{} // 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 PutHostname(value interface{}) PutRedirect(value interface{}) ResetAsn() ResetHostname() ResetIp() ResetRedirect() // 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 NewListItemValueOutputReference ¶
func NewListItemValueOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ListItemValueOutputReference
type ListItemValueRedirect ¶
type ListItemValueRedirect struct { // The source url of the redirect. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#source_url List#source_url} SourceUrl *string `field:"required" json:"sourceUrl" yaml:"sourceUrl"` // The target url of the redirect. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#target_url List#target_url} TargetUrl *string `field:"required" json:"targetUrl" yaml:"targetUrl"` // Whether the redirect also matches subdomains of the source url. Available values: `disabled`, `enabled`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#include_subdomains List#include_subdomains} IncludeSubdomains *string `field:"optional" json:"includeSubdomains" yaml:"includeSubdomains"` // Whether to preserve the path suffix when doing subpath matching. Available values: `disabled`, `enabled`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#preserve_path_suffix List#preserve_path_suffix} PreservePathSuffix *string `field:"optional" json:"preservePathSuffix" yaml:"preservePathSuffix"` // Whether the redirect target url should keep the query string of the request's url. Available values: `disabled`, `enabled`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#preserve_query_string List#preserve_query_string} PreserveQueryString *string `field:"optional" json:"preserveQueryString" yaml:"preserveQueryString"` // The status code to be used when redirecting a request. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#status_code List#status_code} StatusCode *float64 `field:"optional" json:"statusCode" yaml:"statusCode"` // Whether the redirect also matches subpaths of the source url. Available values: `disabled`, `enabled`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/list#subpath_matching List#subpath_matching} SubpathMatching *string `field:"optional" json:"subpathMatching" yaml:"subpathMatching"` }
type ListItemValueRedirectList ¶
type ListItemValueRedirectList 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) ListItemValueRedirectOutputReference // 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 NewListItemValueRedirectList ¶
func NewListItemValueRedirectList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ListItemValueRedirectList
type ListItemValueRedirectOutputReference ¶
type ListItemValueRedirectOutputReference 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 IncludeSubdomains() *string SetIncludeSubdomains(val *string) IncludeSubdomainsInput() *string InternalValue() interface{} SetInternalValue(val interface{}) PreservePathSuffix() *string SetPreservePathSuffix(val *string) PreservePathSuffixInput() *string PreserveQueryString() *string SetPreserveQueryString(val *string) PreserveQueryStringInput() *string SourceUrl() *string SetSourceUrl(val *string) SourceUrlInput() *string StatusCode() *float64 SetStatusCode(val *float64) StatusCodeInput() *float64 SubpathMatching() *string SetSubpathMatching(val *string) SubpathMatchingInput() *string TargetUrl() *string SetTargetUrl(val *string) TargetUrlInput() *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 ResetIncludeSubdomains() ResetPreservePathSuffix() ResetPreserveQueryString() ResetStatusCode() ResetSubpathMatching() // 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 NewListItemValueRedirectOutputReference ¶
func NewListItemValueRedirectOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ListItemValueRedirectOutputReference
Source Files ¶
- List.go
- ListConfig.go
- ListItem.go
- ListItemList.go
- ListItemList__checks.go
- ListItemOutputReference.go
- ListItemOutputReference__checks.go
- ListItemValue.go
- ListItemValueHostname.go
- ListItemValueHostnameList.go
- ListItemValueHostnameList__checks.go
- ListItemValueHostnameOutputReference.go
- ListItemValueHostnameOutputReference__checks.go
- ListItemValueList.go
- ListItemValueList__checks.go
- ListItemValueOutputReference.go
- ListItemValueOutputReference__checks.go
- ListItemValueRedirect.go
- ListItemValueRedirectList.go
- ListItemValueRedirectList__checks.go
- ListItemValueRedirectOutputReference.go
- ListItemValueRedirectOutputReference__checks.go
- List__checks.go
- main.go