Documentation ¶
Index ¶
- func InfrastructureAccessTarget_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func InfrastructureAccessTarget_IsConstruct(x interface{}) *bool
- func InfrastructureAccessTarget_IsTerraformElement(x interface{}) *bool
- func InfrastructureAccessTarget_IsTerraformResource(x interface{}) *bool
- func InfrastructureAccessTarget_TfResourceType() *string
- func NewInfrastructureAccessTargetIpIpv4OutputReference_Override(i InfrastructureAccessTargetIpIpv4OutputReference, ...)
- func NewInfrastructureAccessTargetIpIpv6OutputReference_Override(i InfrastructureAccessTargetIpIpv6OutputReference, ...)
- func NewInfrastructureAccessTargetIpOutputReference_Override(i InfrastructureAccessTargetIpOutputReference, ...)
- func NewInfrastructureAccessTarget_Override(i InfrastructureAccessTarget, scope constructs.Construct, id *string, ...)
- type InfrastructureAccessTarget
- type InfrastructureAccessTargetConfig
- type InfrastructureAccessTargetIp
- type InfrastructureAccessTargetIpIpv4
- type InfrastructureAccessTargetIpIpv4OutputReference
- type InfrastructureAccessTargetIpIpv6
- type InfrastructureAccessTargetIpIpv6OutputReference
- type InfrastructureAccessTargetIpOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InfrastructureAccessTarget_GenerateConfigForImport ¶
func InfrastructureAccessTarget_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a InfrastructureAccessTarget resource upon running "cdktf plan <stack-name>".
func InfrastructureAccessTarget_IsConstruct ¶
func InfrastructureAccessTarget_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 InfrastructureAccessTarget_IsTerraformElement ¶
func InfrastructureAccessTarget_IsTerraformElement(x interface{}) *bool
Experimental.
func InfrastructureAccessTarget_IsTerraformResource ¶
func InfrastructureAccessTarget_IsTerraformResource(x interface{}) *bool
Experimental.
func InfrastructureAccessTarget_TfResourceType ¶
func InfrastructureAccessTarget_TfResourceType() *string
func NewInfrastructureAccessTargetIpIpv4OutputReference_Override ¶
func NewInfrastructureAccessTargetIpIpv4OutputReference_Override(i InfrastructureAccessTargetIpIpv4OutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewInfrastructureAccessTargetIpIpv6OutputReference_Override ¶
func NewInfrastructureAccessTargetIpIpv6OutputReference_Override(i InfrastructureAccessTargetIpIpv6OutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewInfrastructureAccessTargetIpOutputReference_Override ¶
func NewInfrastructureAccessTargetIpOutputReference_Override(i InfrastructureAccessTargetIpOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewInfrastructureAccessTarget_Override ¶
func NewInfrastructureAccessTarget_Override(i InfrastructureAccessTarget, scope constructs.Construct, id *string, config *InfrastructureAccessTargetConfig)
Create a new {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.48.0/docs/resources/infrastructure_access_target cloudflare_infrastructure_access_target} Resource.
Types ¶
type InfrastructureAccessTarget ¶
type InfrastructureAccessTarget 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{}) CreatedAt() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Hostname() *string SetHostname(val *string) HostnameInput() *string Id() *string Ip() InfrastructureAccessTargetIpOutputReference IpInput() interface{} // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) ModifiedAt() *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) PutIp(value *InfrastructureAccessTargetIp) // 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.48.0/docs/resources/infrastructure_access_target cloudflare_infrastructure_access_target}.
func NewInfrastructureAccessTarget ¶
func NewInfrastructureAccessTarget(scope constructs.Construct, id *string, config *InfrastructureAccessTargetConfig) InfrastructureAccessTarget
Create a new {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.48.0/docs/resources/infrastructure_access_target cloudflare_infrastructure_access_target} Resource.
type InfrastructureAccessTargetConfig ¶
type InfrastructureAccessTargetConfig 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.48.0/docs/resources/infrastructure_access_target#account_id InfrastructureAccessTarget#account_id} AccountId *string `field:"required" json:"accountId" yaml:"accountId"` // A non-unique field that refers to a target. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.48.0/docs/resources/infrastructure_access_target#hostname InfrastructureAccessTarget#hostname} Hostname *string `field:"required" json:"hostname" yaml:"hostname"` // The IPv4/IPv6 address that identifies where to reach a target. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.48.0/docs/resources/infrastructure_access_target#ip InfrastructureAccessTarget#ip} Ip *InfrastructureAccessTargetIp `field:"required" json:"ip" yaml:"ip"` }
type InfrastructureAccessTargetIp ¶
type InfrastructureAccessTargetIp struct { // The target's IPv4 address. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.48.0/docs/resources/infrastructure_access_target#ipv4 InfrastructureAccessTarget#ipv4} Ipv4 *InfrastructureAccessTargetIpIpv4 `field:"optional" json:"ipv4" yaml:"ipv4"` // The target's IPv6 address. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.48.0/docs/resources/infrastructure_access_target#ipv6 InfrastructureAccessTarget#ipv6} Ipv6 *InfrastructureAccessTargetIpIpv6 `field:"optional" json:"ipv6" yaml:"ipv6"` }
type InfrastructureAccessTargetIpIpv4 ¶
type InfrastructureAccessTargetIpIpv4 struct { // The IP address of the target. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.48.0/docs/resources/infrastructure_access_target#ip_addr InfrastructureAccessTarget#ip_addr} IpAddr *string `field:"required" json:"ipAddr" yaml:"ipAddr"` // The private virtual network identifier for the target. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.48.0/docs/resources/infrastructure_access_target#virtual_network_id InfrastructureAccessTarget#virtual_network_id} VirtualNetworkId *string `field:"required" json:"virtualNetworkId" yaml:"virtualNetworkId"` }
type InfrastructureAccessTargetIpIpv4OutputReference ¶
type InfrastructureAccessTargetIpIpv4OutputReference 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{}) IpAddr() *string SetIpAddr(val *string) IpAddrInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) VirtualNetworkId() *string SetVirtualNetworkId(val *string) VirtualNetworkIdInput() *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 NewInfrastructureAccessTargetIpIpv4OutputReference ¶
func NewInfrastructureAccessTargetIpIpv4OutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) InfrastructureAccessTargetIpIpv4OutputReference
type InfrastructureAccessTargetIpIpv6 ¶
type InfrastructureAccessTargetIpIpv6 struct { // The IP address of the target. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.48.0/docs/resources/infrastructure_access_target#ip_addr InfrastructureAccessTarget#ip_addr} IpAddr *string `field:"required" json:"ipAddr" yaml:"ipAddr"` // The private virtual network identifier for the target. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.48.0/docs/resources/infrastructure_access_target#virtual_network_id InfrastructureAccessTarget#virtual_network_id} VirtualNetworkId *string `field:"required" json:"virtualNetworkId" yaml:"virtualNetworkId"` }
type InfrastructureAccessTargetIpIpv6OutputReference ¶
type InfrastructureAccessTargetIpIpv6OutputReference 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{}) IpAddr() *string SetIpAddr(val *string) IpAddrInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) VirtualNetworkId() *string SetVirtualNetworkId(val *string) VirtualNetworkIdInput() *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 NewInfrastructureAccessTargetIpIpv6OutputReference ¶
func NewInfrastructureAccessTargetIpIpv6OutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) InfrastructureAccessTargetIpIpv6OutputReference
type InfrastructureAccessTargetIpOutputReference ¶
type InfrastructureAccessTargetIpOutputReference 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{}) Ipv4() InfrastructureAccessTargetIpIpv4OutputReference Ipv4Input() interface{} Ipv6() InfrastructureAccessTargetIpIpv6OutputReference Ipv6Input() 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 PutIpv4(value *InfrastructureAccessTargetIpIpv4) PutIpv6(value *InfrastructureAccessTargetIpIpv6) ResetIpv4() ResetIpv6() // 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 NewInfrastructureAccessTargetIpOutputReference ¶
func NewInfrastructureAccessTargetIpOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) InfrastructureAccessTargetIpOutputReference
Source Files ¶
- InfrastructureAccessTarget.go
- InfrastructureAccessTargetConfig.go
- InfrastructureAccessTargetIp.go
- InfrastructureAccessTargetIpIpv4.go
- InfrastructureAccessTargetIpIpv4OutputReference.go
- InfrastructureAccessTargetIpIpv4OutputReference__checks.go
- InfrastructureAccessTargetIpIpv6.go
- InfrastructureAccessTargetIpIpv6OutputReference.go
- InfrastructureAccessTargetIpIpv6OutputReference__checks.go
- InfrastructureAccessTargetIpOutputReference.go
- InfrastructureAccessTargetIpOutputReference__checks.go
- InfrastructureAccessTarget__checks.go
- main.go