Documentation ¶
Index ¶
- func LbPolicyV3_IsConstruct(x interface{}) *bool
- func LbPolicyV3_TfResourceType() *string
- func NewLbPolicyV3RulesList_Override(l LbPolicyV3RulesList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewLbPolicyV3RulesOutputReference_Override(l LbPolicyV3RulesOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewLbPolicyV3_Override(l LbPolicyV3, scope constructs.Construct, id *string, config *LbPolicyV3Config)
- type LbPolicyV3
- type LbPolicyV3Config
- type LbPolicyV3Rules
- type LbPolicyV3RulesList
- type LbPolicyV3RulesOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LbPolicyV3_IsConstruct ¶
func LbPolicyV3_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 LbPolicyV3_TfResourceType ¶
func LbPolicyV3_TfResourceType() *string
func NewLbPolicyV3RulesList_Override ¶
func NewLbPolicyV3RulesList_Override(l LbPolicyV3RulesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLbPolicyV3RulesOutputReference_Override ¶
func NewLbPolicyV3RulesOutputReference_Override(l LbPolicyV3RulesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLbPolicyV3_Override ¶
func NewLbPolicyV3_Override(l LbPolicyV3, scope constructs.Construct, id *string, config *LbPolicyV3Config)
Create a new {@link https://www.terraform.io/docs/providers/opentelekomcloud/r/lb_policy_v3 opentelekomcloud_lb_policy_v3} Resource.
Types ¶
type LbPolicyV3 ¶
type LbPolicyV3 interface { cdktf.TerraformResource Action() *string SetAction(val *string) ActionInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // 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 SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) ListenerId() *string SetListenerId(val *string) ListenerIdInput() *string Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Position() *float64 SetPosition(val *float64) PositionInput() *float64 ProjectId() *string SetProjectId(val *string) ProjectIdInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} RedirectListenerId() *string SetRedirectListenerId(val *string) RedirectListenerIdInput() *string RedirectPoolId() *string SetRedirectPoolId(val *string) RedirectPoolIdInput() *string Rules() LbPolicyV3RulesList RulesInput() interface{} Status() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutRules(value interface{}) ResetDescription() ResetId() ResetName() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPosition() ResetProjectId() ResetRedirectListenerId() ResetRedirectPoolId() ResetRules() 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/opentelekomcloud/r/lb_policy_v3 opentelekomcloud_lb_policy_v3}.
func NewLbPolicyV3 ¶
func NewLbPolicyV3(scope constructs.Construct, id *string, config *LbPolicyV3Config) LbPolicyV3
Create a new {@link https://www.terraform.io/docs/providers/opentelekomcloud/r/lb_policy_v3 opentelekomcloud_lb_policy_v3} Resource.
type LbPolicyV3Config ¶
type LbPolicyV3Config 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"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opentelekomcloud/r/lb_policy_v3#action LbPolicyV3#action}. Action *string `field:"required" json:"action" yaml:"action"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opentelekomcloud/r/lb_policy_v3#listener_id LbPolicyV3#listener_id}. ListenerId *string `field:"required" json:"listenerId" yaml:"listenerId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opentelekomcloud/r/lb_policy_v3#description LbPolicyV3#description}. Description *string `field:"optional" json:"description" yaml:"description"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opentelekomcloud/r/lb_policy_v3#id LbPolicyV3#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"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opentelekomcloud/r/lb_policy_v3#name LbPolicyV3#name}. Name *string `field:"optional" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opentelekomcloud/r/lb_policy_v3#position LbPolicyV3#position}. Position *float64 `field:"optional" json:"position" yaml:"position"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opentelekomcloud/r/lb_policy_v3#project_id LbPolicyV3#project_id}. ProjectId *string `field:"optional" json:"projectId" yaml:"projectId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opentelekomcloud/r/lb_policy_v3#redirect_listener_id LbPolicyV3#redirect_listener_id}. RedirectListenerId *string `field:"optional" json:"redirectListenerId" yaml:"redirectListenerId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opentelekomcloud/r/lb_policy_v3#redirect_pool_id LbPolicyV3#redirect_pool_id}. RedirectPoolId *string `field:"optional" json:"redirectPoolId" yaml:"redirectPoolId"` // rules block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opentelekomcloud/r/lb_policy_v3#rules LbPolicyV3#rules} Rules interface{} `field:"optional" json:"rules" yaml:"rules"` }
type LbPolicyV3Rules ¶
type LbPolicyV3Rules struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opentelekomcloud/r/lb_policy_v3#compare_type LbPolicyV3#compare_type}. CompareType *string `field:"required" json:"compareType" yaml:"compareType"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opentelekomcloud/r/lb_policy_v3#type LbPolicyV3#type}. Type *string `field:"required" json:"type" yaml:"type"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opentelekomcloud/r/lb_policy_v3#value LbPolicyV3#value}. Value *string `field:"required" json:"value" yaml:"value"` }
type LbPolicyV3RulesList ¶
type LbPolicyV3RulesList 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) LbPolicyV3RulesOutputReference // 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 NewLbPolicyV3RulesList ¶
func NewLbPolicyV3RulesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LbPolicyV3RulesList
type LbPolicyV3RulesOutputReference ¶
type LbPolicyV3RulesOutputReference interface { cdktf.ComplexObject CompareType() *string SetCompareType(val *string) CompareTypeInput() *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) Type() *string SetType(val *string) TypeInput() *string Value() *string SetValue(val *string) ValueInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // 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 NewLbPolicyV3RulesOutputReference ¶
func NewLbPolicyV3RulesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LbPolicyV3RulesOutputReference
Source Files ¶
- lbpolicyv3.go
- lbpolicyv3_LbPolicyV3.go
- lbpolicyv3_LbPolicyV3Config.go
- lbpolicyv3_LbPolicyV3Rules.go
- lbpolicyv3_LbPolicyV3RulesList.go
- lbpolicyv3_LbPolicyV3RulesList__runtime_type_checks.go
- lbpolicyv3_LbPolicyV3RulesOutputReference.go
- lbpolicyv3_LbPolicyV3RulesOutputReference__runtime_type_checks.go
- lbpolicyv3_LbPolicyV3__runtime_type_checks.go