Documentation ¶
Index ¶
- func LbListenerV2_IsConstruct(x interface{}) *bool
- func LbListenerV2_IsTerraformElement(x interface{}) *bool
- func LbListenerV2_IsTerraformResource(x interface{}) *bool
- func LbListenerV2_TfResourceType() *string
- func NewLbListenerV2TimeoutsOutputReference_Override(l LbListenerV2TimeoutsOutputReference, ...)
- func NewLbListenerV2_Override(l LbListenerV2, scope constructs.Construct, id *string, ...)
- type LbListenerV2
- type LbListenerV2Config
- type LbListenerV2Timeouts
- type LbListenerV2TimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LbListenerV2_IsConstruct ¶
func LbListenerV2_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 LbListenerV2_IsTerraformElement ¶
func LbListenerV2_IsTerraformElement(x interface{}) *bool
Experimental.
func LbListenerV2_IsTerraformResource ¶
func LbListenerV2_IsTerraformResource(x interface{}) *bool
Experimental.
func LbListenerV2_TfResourceType ¶
func LbListenerV2_TfResourceType() *string
func NewLbListenerV2TimeoutsOutputReference_Override ¶
func NewLbListenerV2TimeoutsOutputReference_Override(l LbListenerV2TimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewLbListenerV2_Override ¶
func NewLbListenerV2_Override(l LbListenerV2, scope constructs.Construct, id *string, config *LbListenerV2Config)
Create a new {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2 opentelekomcloud_lb_listener_v2} Resource.
Types ¶
type LbListenerV2 ¶
type LbListenerV2 interface { cdktf.TerraformResource AdminStateUp() interface{} SetAdminStateUp(val interface{}) AdminStateUpInput() interface{} // Experimental. CdktfStack() cdktf.TerraformStack ClientCaTlsContainerRef() *string SetClientCaTlsContainerRef(val *string) ClientCaTlsContainerRefInput() *string // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) DefaultPoolId() *string SetDefaultPoolId(val *string) DefaultPoolIdInput() *string DefaultTlsContainerRef() *string SetDefaultTlsContainerRef(val *string) DefaultTlsContainerRefInput() *string // 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 Http2Enable() interface{} SetHttp2Enable(val interface{}) Http2EnableInput() interface{} Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) LoadbalancerId() *string SetLoadbalancerId(val *string) LoadbalancerIdInput() *string Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Protocol() *string SetProtocol(val *string) ProtocolInput() *string ProtocolPort() *float64 SetProtocolPort(val *float64) ProtocolPortInput() *float64 // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Region() *string SetRegion(val *string) RegionInput() *string SniContainerRefs() *[]*string SetSniContainerRefs(val *[]*string) SniContainerRefsInput() *[]*string Tags() *map[string]*string SetTags(val *map[string]*string) TagsInput() *map[string]*string TenantId() *string SetTenantId(val *string) TenantIdInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() LbListenerV2TimeoutsOutputReference TimeoutsInput() interface{} TlsCiphersPolicy() *string SetTlsCiphersPolicy(val *string) TlsCiphersPolicyInput() *string TransparentClientIpEnable() interface{} SetTransparentClientIpEnable(val interface{}) TransparentClientIpEnableInput() 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) PutTimeouts(value *LbListenerV2Timeouts) ResetAdminStateUp() ResetClientCaTlsContainerRef() ResetDefaultPoolId() ResetDefaultTlsContainerRef() ResetDescription() ResetHttp2Enable() ResetId() ResetName() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetRegion() ResetSniContainerRefs() ResetTags() ResetTenantId() ResetTimeouts() ResetTlsCiphersPolicy() ResetTransparentClientIpEnable() 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://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2 opentelekomcloud_lb_listener_v2}.
func NewLbListenerV2 ¶
func NewLbListenerV2(scope constructs.Construct, id *string, config *LbListenerV2Config) LbListenerV2
Create a new {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2 opentelekomcloud_lb_listener_v2} Resource.
type LbListenerV2Config ¶
type LbListenerV2Config 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"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#loadbalancer_id LbListenerV2#loadbalancer_id}. LoadbalancerId *string `field:"required" json:"loadbalancerId" yaml:"loadbalancerId"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#protocol LbListenerV2#protocol}. Protocol *string `field:"required" json:"protocol" yaml:"protocol"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#protocol_port LbListenerV2#protocol_port}. ProtocolPort *float64 `field:"required" json:"protocolPort" yaml:"protocolPort"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#admin_state_up LbListenerV2#admin_state_up}. AdminStateUp interface{} `field:"optional" json:"adminStateUp" yaml:"adminStateUp"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#client_ca_tls_container_ref LbListenerV2#client_ca_tls_container_ref}. ClientCaTlsContainerRef *string `field:"optional" json:"clientCaTlsContainerRef" yaml:"clientCaTlsContainerRef"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#default_pool_id LbListenerV2#default_pool_id}. DefaultPoolId *string `field:"optional" json:"defaultPoolId" yaml:"defaultPoolId"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#default_tls_container_ref LbListenerV2#default_tls_container_ref}. DefaultTlsContainerRef *string `field:"optional" json:"defaultTlsContainerRef" yaml:"defaultTlsContainerRef"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#description LbListenerV2#description}. Description *string `field:"optional" json:"description" yaml:"description"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#http2_enable LbListenerV2#http2_enable}. Http2Enable interface{} `field:"optional" json:"http2Enable" yaml:"http2Enable"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#id LbListenerV2#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://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#name LbListenerV2#name}. Name *string `field:"optional" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#region LbListenerV2#region}. Region *string `field:"optional" json:"region" yaml:"region"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#sni_container_refs LbListenerV2#sni_container_refs}. SniContainerRefs *[]*string `field:"optional" json:"sniContainerRefs" yaml:"sniContainerRefs"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#tags LbListenerV2#tags}. Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#tenant_id LbListenerV2#tenant_id}. TenantId *string `field:"optional" json:"tenantId" yaml:"tenantId"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#timeouts LbListenerV2#timeouts} Timeouts *LbListenerV2Timeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#tls_ciphers_policy LbListenerV2#tls_ciphers_policy}. TlsCiphersPolicy *string `field:"optional" json:"tlsCiphersPolicy" yaml:"tlsCiphersPolicy"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#transparent_client_ip_enable LbListenerV2#transparent_client_ip_enable}. TransparentClientIpEnable interface{} `field:"optional" json:"transparentClientIpEnable" yaml:"transparentClientIpEnable"` }
type LbListenerV2Timeouts ¶
type LbListenerV2Timeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#create LbListenerV2#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#delete LbListenerV2#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.35.1/docs/resources/lb_listener_v2#update LbListenerV2#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type LbListenerV2TimeoutsOutputReference ¶
type LbListenerV2TimeoutsOutputReference 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) Create() *string SetCreate(val *string) CreateInput() *string // 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 Delete() *string SetDelete(val *string) DeleteInput() *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) Update() *string SetUpdate(val *string) UpdateInput() *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 ResetCreate() ResetDelete() ResetUpdate() // 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 NewLbListenerV2TimeoutsOutputReference ¶
func NewLbListenerV2TimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) LbListenerV2TimeoutsOutputReference