Documentation ¶
Index ¶
- func NewServiceV1MetadataOutputReference_Override(s ServiceV1MetadataOutputReference, ...)
- func NewServiceV1SpecOutputReference_Override(s ServiceV1SpecOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewServiceV1SpecPortList_Override(s ServiceV1SpecPortList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewServiceV1SpecPortOutputReference_Override(s ServiceV1SpecPortOutputReference, ...)
- func NewServiceV1SpecSessionAffinityConfigClientIpOutputReference_Override(s ServiceV1SpecSessionAffinityConfigClientIpOutputReference, ...)
- func NewServiceV1SpecSessionAffinityConfigOutputReference_Override(s ServiceV1SpecSessionAffinityConfigOutputReference, ...)
- func NewServiceV1StatusList_Override(s ServiceV1StatusList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewServiceV1StatusLoadBalancerIngressList_Override(s ServiceV1StatusLoadBalancerIngressList, ...)
- func NewServiceV1StatusLoadBalancerIngressOutputReference_Override(s ServiceV1StatusLoadBalancerIngressOutputReference, ...)
- func NewServiceV1StatusLoadBalancerList_Override(s ServiceV1StatusLoadBalancerList, ...)
- func NewServiceV1StatusLoadBalancerOutputReference_Override(s ServiceV1StatusLoadBalancerOutputReference, ...)
- func NewServiceV1StatusOutputReference_Override(s ServiceV1StatusOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewServiceV1TimeoutsOutputReference_Override(s ServiceV1TimeoutsOutputReference, ...)
- func NewServiceV1_Override(s ServiceV1, scope constructs.Construct, id *string, config *ServiceV1Config)
- func ServiceV1_IsConstruct(x interface{}) *bool
- func ServiceV1_TfResourceType() *string
- type ServiceV1
- type ServiceV1Config
- type ServiceV1Metadata
- type ServiceV1MetadataOutputReference
- type ServiceV1Spec
- type ServiceV1SpecOutputReference
- type ServiceV1SpecPort
- type ServiceV1SpecPortList
- type ServiceV1SpecPortOutputReference
- type ServiceV1SpecSessionAffinityConfig
- type ServiceV1SpecSessionAffinityConfigClientIp
- type ServiceV1SpecSessionAffinityConfigClientIpOutputReference
- type ServiceV1SpecSessionAffinityConfigOutputReference
- type ServiceV1Status
- type ServiceV1StatusList
- type ServiceV1StatusLoadBalancer
- type ServiceV1StatusLoadBalancerIngress
- type ServiceV1StatusLoadBalancerIngressList
- type ServiceV1StatusLoadBalancerIngressOutputReference
- type ServiceV1StatusLoadBalancerList
- type ServiceV1StatusLoadBalancerOutputReference
- type ServiceV1StatusOutputReference
- type ServiceV1Timeouts
- type ServiceV1TimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceV1MetadataOutputReference_Override ¶
func NewServiceV1MetadataOutputReference_Override(s ServiceV1MetadataOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceV1SpecOutputReference_Override ¶
func NewServiceV1SpecOutputReference_Override(s ServiceV1SpecOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceV1SpecPortList_Override ¶
func NewServiceV1SpecPortList_Override(s ServiceV1SpecPortList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewServiceV1SpecPortOutputReference_Override ¶
func NewServiceV1SpecPortOutputReference_Override(s ServiceV1SpecPortOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewServiceV1SpecSessionAffinityConfigClientIpOutputReference_Override ¶
func NewServiceV1SpecSessionAffinityConfigClientIpOutputReference_Override(s ServiceV1SpecSessionAffinityConfigClientIpOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceV1SpecSessionAffinityConfigOutputReference_Override ¶
func NewServiceV1SpecSessionAffinityConfigOutputReference_Override(s ServiceV1SpecSessionAffinityConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceV1StatusList_Override ¶
func NewServiceV1StatusList_Override(s ServiceV1StatusList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewServiceV1StatusLoadBalancerIngressList_Override ¶
func NewServiceV1StatusLoadBalancerIngressList_Override(s ServiceV1StatusLoadBalancerIngressList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewServiceV1StatusLoadBalancerIngressOutputReference_Override ¶
func NewServiceV1StatusLoadBalancerIngressOutputReference_Override(s ServiceV1StatusLoadBalancerIngressOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewServiceV1StatusLoadBalancerList_Override ¶
func NewServiceV1StatusLoadBalancerList_Override(s ServiceV1StatusLoadBalancerList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewServiceV1StatusLoadBalancerOutputReference_Override ¶
func NewServiceV1StatusLoadBalancerOutputReference_Override(s ServiceV1StatusLoadBalancerOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewServiceV1StatusOutputReference_Override ¶
func NewServiceV1StatusOutputReference_Override(s ServiceV1StatusOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewServiceV1TimeoutsOutputReference_Override ¶
func NewServiceV1TimeoutsOutputReference_Override(s ServiceV1TimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceV1_Override ¶
func NewServiceV1_Override(s ServiceV1, scope constructs.Construct, id *string, config *ServiceV1Config)
Create a new {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1 kubernetes_service_v1} Resource.
func ServiceV1_IsConstruct ¶
func ServiceV1_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 ServiceV1_TfResourceType ¶
func ServiceV1_TfResourceType() *string
Types ¶
type ServiceV1 ¶
type ServiceV1 interface { cdktf.TerraformResource // 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) // 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) Metadata() ServiceV1MetadataOutputReference MetadataInput() *ServiceV1Metadata // 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{} Spec() ServiceV1SpecOutputReference SpecInput() *ServiceV1Spec Status() ServiceV1StatusList // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() ServiceV1TimeoutsOutputReference TimeoutsInput() interface{} WaitForLoadBalancer() interface{} SetWaitForLoadBalancer(val interface{}) WaitForLoadBalancerInput() 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) PutMetadata(value *ServiceV1Metadata) PutSpec(value *ServiceV1Spec) PutTimeouts(value *ServiceV1Timeouts) ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetTimeouts() ResetWaitForLoadBalancer() 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/kubernetes/r/service_v1 kubernetes_service_v1}.
func NewServiceV1 ¶
func NewServiceV1(scope constructs.Construct, id *string, config *ServiceV1Config) ServiceV1
Create a new {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1 kubernetes_service_v1} Resource.
type ServiceV1Config ¶
type ServiceV1Config 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"` // metadata block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#metadata ServiceV1#metadata} Metadata *ServiceV1Metadata `field:"required" json:"metadata" yaml:"metadata"` // spec block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#spec ServiceV1#spec} Spec *ServiceV1Spec `field:"required" json:"spec" yaml:"spec"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#id ServiceV1#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"` // timeouts block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#timeouts ServiceV1#timeouts} Timeouts *ServiceV1Timeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // Terraform will wait for the load balancer to have at least 1 endpoint before considering the resource created. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#wait_for_load_balancer ServiceV1#wait_for_load_balancer} WaitForLoadBalancer interface{} `field:"optional" json:"waitForLoadBalancer" yaml:"waitForLoadBalancer"` }
type ServiceV1Metadata ¶
type ServiceV1Metadata struct { // An unstructured key value map stored with the service that may be used to store arbitrary metadata. // // More info: http://kubernetes.io/docs/user-guide/annotations // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#annotations ServiceV1#annotations} Annotations *map[string]*string `field:"optional" json:"annotations" yaml:"annotations"` // Prefix, used by the server, to generate a unique name ONLY IF the `name` field has not been provided. // // This value will also be combined with a unique suffix. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#idempotency // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#generate_name ServiceV1#generate_name} GenerateName *string `field:"optional" json:"generateName" yaml:"generateName"` // Map of string keys and values that can be used to organize and categorize (scope and select) the service. // // May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#labels ServiceV1#labels} Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"` // Name of the service, must be unique. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#name ServiceV1#name} Name *string `field:"optional" json:"name" yaml:"name"` // Namespace defines the space within which name of the service must be unique. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#namespace ServiceV1#namespace} Namespace *string `field:"optional" json:"namespace" yaml:"namespace"` }
type ServiceV1MetadataOutputReference ¶
type ServiceV1MetadataOutputReference interface { cdktf.ComplexObject Annotations() *map[string]*string SetAnnotations(val *map[string]*string) AnnotationsInput() *map[string]*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 GenerateName() *string SetGenerateName(val *string) GenerateNameInput() *string Generation() *float64 InternalValue() *ServiceV1Metadata SetInternalValue(val *ServiceV1Metadata) Labels() *map[string]*string SetLabels(val *map[string]*string) LabelsInput() *map[string]*string Name() *string SetName(val *string) NameInput() *string Namespace() *string SetNamespace(val *string) NamespaceInput() *string ResourceVersion() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Uid() *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 ResetAnnotations() ResetGenerateName() ResetLabels() ResetName() ResetNamespace() // 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 NewServiceV1MetadataOutputReference ¶
func NewServiceV1MetadataOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceV1MetadataOutputReference
type ServiceV1Spec ¶
type ServiceV1Spec struct { // Defines if `NodePorts` will be automatically allocated for services with type `LoadBalancer`. // // It may be set to `false` if the cluster load-balancer does not rely on `NodePorts`. If the caller requests specific `NodePorts` (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type `LoadBalancer`. Default is `true`. More info: https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-nodeport-allocation // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#allocate_load_balancer_node_ports ServiceV1#allocate_load_balancer_node_ports} AllocateLoadBalancerNodePorts interface{} `field:"optional" json:"allocateLoadBalancerNodePorts" yaml:"allocateLoadBalancerNodePorts"` // The IP address of the service. // // It is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. `None` can be specified for headless services when proxying is not required. Ignored if type is `ExternalName`. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#cluster_ip ServiceV1#cluster_ip} ClusterIp *string `field:"optional" json:"clusterIp" yaml:"clusterIp"` // List of IP addresses assigned to this service, and are usually assigned randomly. // // If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise creation of the service will fail. If this field is not specified, it will be initialized from the `clusterIP` field. If this field is specified, clients must ensure that `clusterIPs[0]` and `clusterIP` have the same value. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#cluster_ips ServiceV1#cluster_ips} ClusterIps *[]*string `field:"optional" json:"clusterIps" yaml:"clusterIps"` // A list of IP addresses for which nodes in the cluster will also accept traffic for this service. // // These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#external_ips ServiceV1#external_ips} ExternalIps *[]*string `field:"optional" json:"externalIps" yaml:"externalIps"` // The external reference that kubedns or equivalent will return as a CNAME record for this service. // // No proxying will be involved. Must be a valid DNS name and requires `type` to be `ExternalName`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#external_name ServiceV1#external_name} ExternalName *string `field:"optional" json:"externalName" yaml:"externalName"` // Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. // // `Local` preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. `Cluster` obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading. More info: https://kubernetes.io/docs/tutorials/services/source-ip/ // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#external_traffic_policy ServiceV1#external_traffic_policy} ExternalTrafficPolicy *string `field:"optional" json:"externalTrafficPolicy" yaml:"externalTrafficPolicy"` // Specifies the Healthcheck NodePort for the service. // // Only effects when type is set to `LoadBalancer` and external_traffic_policy is set to `Local`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#health_check_node_port ServiceV1#health_check_node_port} HealthCheckNodePort *float64 `field:"optional" json:"healthCheckNodePort" yaml:"healthCheckNodePort"` // Specifies if the cluster internal traffic should be routed to all endpoints or node-local endpoints only. // // `Cluster` routes internal traffic to a Service to all endpoints. `Local` routes traffic to node-local endpoints only, traffic is dropped if no node-local endpoints are ready. The default value is `Cluster`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#internal_traffic_policy ServiceV1#internal_traffic_policy} InternalTrafficPolicy *string `field:"optional" json:"internalTrafficPolicy" yaml:"internalTrafficPolicy"` // IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this service. This field is usually assigned automatically based on cluster configuration and the ipFamilyPolicy field. If this field is specified manually, the requested family is available in the cluster, and ipFamilyPolicy allows it, it will be used; otherwise creation of the service will fail. This field is conditionally mutable: it allows for adding or removing a secondary IP family, but it does not allow changing the primary IP family of the Service. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#ip_families ServiceV1#ip_families} IpFamilies *[]*string `field:"optional" json:"ipFamilies" yaml:"ipFamilies"` // IPFamilyPolicy represents the dual-stack-ness requested or required by this Service. // // If there is no value provided, then this field will be set to SingleStack. Services can be 'SingleStack' (a single IP family), 'PreferDualStack' (two IP families on dual-stack configured clusters or a single IP family on single-stack clusters), or 'RequireDualStack' (two IP families on dual-stack configured clusters, otherwise fail). The ipFamilies and clusterIPs fields depend on the value of this field. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#ip_family_policy ServiceV1#ip_family_policy} IpFamilyPolicy *string `field:"optional" json:"ipFamilyPolicy" yaml:"ipFamilyPolicy"` // The class of the load balancer implementation this Service belongs to. // // If specified, the value of this field must be a label-style identifier, with an optional prefix. This field can only be set when the Service type is `LoadBalancer`. If not set, the default load balancer implementation is used. This field can only be set when creating or updating a Service to type `LoadBalancer`. More info: https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-class // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#load_balancer_class ServiceV1#load_balancer_class} LoadBalancerClass *string `field:"optional" json:"loadBalancerClass" yaml:"loadBalancerClass"` // Only applies to `type = LoadBalancer`. // // LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying this field when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#load_balancer_ip ServiceV1#load_balancer_ip} LoadBalancerIp *string `field:"optional" json:"loadBalancerIp" yaml:"loadBalancerIp"` // If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. // // This field will be ignored if the cloud-provider does not support the feature. More info: http://kubernetes.io/docs/user-guide/services-firewalls // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#load_balancer_source_ranges ServiceV1#load_balancer_source_ranges} LoadBalancerSourceRanges *[]*string `field:"optional" json:"loadBalancerSourceRanges" yaml:"loadBalancerSourceRanges"` // port block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#port ServiceV1#port} Port interface{} `field:"optional" json:"port" yaml:"port"` // When set to true, indicates that DNS implementations must publish the `notReadyAddresses` of subsets for the Endpoints associated with the Service. // // The default value is `false`. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate `SRV` records for its Pods without respect to their readiness for purpose of peer discovery. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#publish_not_ready_addresses ServiceV1#publish_not_ready_addresses} PublishNotReadyAddresses interface{} `field:"optional" json:"publishNotReadyAddresses" yaml:"publishNotReadyAddresses"` // Route service traffic to pods with label keys and values matching this selector. // // Only applies to types `ClusterIP`, `NodePort`, and `LoadBalancer`. More info: http://kubernetes.io/docs/user-guide/services#overview // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#selector ServiceV1#selector} Selector *map[string]*string `field:"optional" json:"selector" yaml:"selector"` // Used to maintain session affinity. Supports `ClientIP` and `None`. Defaults to `None`. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#session_affinity ServiceV1#session_affinity} SessionAffinity *string `field:"optional" json:"sessionAffinity" yaml:"sessionAffinity"` // session_affinity_config block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#session_affinity_config ServiceV1#session_affinity_config} SessionAffinityConfig *ServiceV1SpecSessionAffinityConfig `field:"optional" json:"sessionAffinityConfig" yaml:"sessionAffinityConfig"` // Determines how the service is exposed. // // Defaults to `ClusterIP`. Valid options are `ExternalName`, `ClusterIP`, `NodePort`, and `LoadBalancer`. `ExternalName` maps to the specified `external_name`. More info: http://kubernetes.io/docs/user-guide/services#overview // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#type ServiceV1#type} Type *string `field:"optional" json:"type" yaml:"type"` }
type ServiceV1SpecOutputReference ¶
type ServiceV1SpecOutputReference interface { cdktf.ComplexObject AllocateLoadBalancerNodePorts() interface{} SetAllocateLoadBalancerNodePorts(val interface{}) AllocateLoadBalancerNodePortsInput() interface{} ClusterIp() *string SetClusterIp(val *string) ClusterIpInput() *string ClusterIps() *[]*string SetClusterIps(val *[]*string) ClusterIpsInput() *[]*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 ExternalIps() *[]*string SetExternalIps(val *[]*string) ExternalIpsInput() *[]*string ExternalName() *string SetExternalName(val *string) ExternalNameInput() *string ExternalTrafficPolicy() *string SetExternalTrafficPolicy(val *string) ExternalTrafficPolicyInput() *string // Experimental. Fqn() *string HealthCheckNodePort() *float64 SetHealthCheckNodePort(val *float64) HealthCheckNodePortInput() *float64 InternalTrafficPolicy() *string SetInternalTrafficPolicy(val *string) InternalTrafficPolicyInput() *string InternalValue() *ServiceV1Spec SetInternalValue(val *ServiceV1Spec) IpFamilies() *[]*string SetIpFamilies(val *[]*string) IpFamiliesInput() *[]*string IpFamilyPolicy() *string SetIpFamilyPolicy(val *string) IpFamilyPolicyInput() *string LoadBalancerClass() *string SetLoadBalancerClass(val *string) LoadBalancerClassInput() *string LoadBalancerIp() *string SetLoadBalancerIp(val *string) LoadBalancerIpInput() *string LoadBalancerSourceRanges() *[]*string SetLoadBalancerSourceRanges(val *[]*string) LoadBalancerSourceRangesInput() *[]*string Port() ServiceV1SpecPortList PortInput() interface{} PublishNotReadyAddresses() interface{} SetPublishNotReadyAddresses(val interface{}) PublishNotReadyAddressesInput() interface{} Selector() *map[string]*string SetSelector(val *map[string]*string) SelectorInput() *map[string]*string SessionAffinity() *string SetSessionAffinity(val *string) SessionAffinityConfig() ServiceV1SpecSessionAffinityConfigOutputReference SessionAffinityConfigInput() *ServiceV1SpecSessionAffinityConfig SessionAffinityInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *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 PutPort(value interface{}) PutSessionAffinityConfig(value *ServiceV1SpecSessionAffinityConfig) ResetAllocateLoadBalancerNodePorts() ResetClusterIp() ResetClusterIps() ResetExternalIps() ResetExternalName() ResetExternalTrafficPolicy() ResetHealthCheckNodePort() ResetInternalTrafficPolicy() ResetIpFamilies() ResetIpFamilyPolicy() ResetLoadBalancerClass() ResetLoadBalancerIp() ResetLoadBalancerSourceRanges() ResetPort() ResetPublishNotReadyAddresses() ResetSelector() ResetSessionAffinity() ResetSessionAffinityConfig() ResetType() // 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 NewServiceV1SpecOutputReference ¶
func NewServiceV1SpecOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceV1SpecOutputReference
type ServiceV1SpecPort ¶
type ServiceV1SpecPort struct { // The port that will be exposed by this service. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#port ServiceV1#port} Port *float64 `field:"required" json:"port" yaml:"port"` // The application protocol for this port. // // This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#app_protocol ServiceV1#app_protocol} AppProtocol *string `field:"optional" json:"appProtocol" yaml:"appProtocol"` // The name of this port within the service. // // All ports within the service must have unique names. Optional if only one ServicePort is defined on this service. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#name ServiceV1#name} Name *string `field:"optional" json:"name" yaml:"name"` // The port on each node on which this service is exposed when `type` is `NodePort` or `LoadBalancer`. // // Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the `type` of this service requires one. More info: http://kubernetes.io/docs/user-guide/services#type--nodeport // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#node_port ServiceV1#node_port} NodePort *float64 `field:"optional" json:"nodePort" yaml:"nodePort"` // The IP protocol for this port. Supports `TCP` and `UDP`. Default is `TCP`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#protocol ServiceV1#protocol} Protocol *string `field:"optional" json:"protocol" yaml:"protocol"` // Number or name of the port to access on the pods targeted by the service. // // Number must be in the range 1 to 65535. This field is ignored for services with `cluster_ip = "None"`. More info: http://kubernetes.io/docs/user-guide/services#defining-a-service // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#target_port ServiceV1#target_port} TargetPort *string `field:"optional" json:"targetPort" yaml:"targetPort"` }
type ServiceV1SpecPortList ¶
type ServiceV1SpecPortList 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) ServiceV1SpecPortOutputReference // 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 NewServiceV1SpecPortList ¶
func NewServiceV1SpecPortList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ServiceV1SpecPortList
type ServiceV1SpecPortOutputReference ¶
type ServiceV1SpecPortOutputReference interface { cdktf.ComplexObject AppProtocol() *string SetAppProtocol(val *string) AppProtocolInput() *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 NodePort() *float64 SetNodePort(val *float64) NodePortInput() *float64 Port() *float64 SetPort(val *float64) PortInput() *float64 Protocol() *string SetProtocol(val *string) ProtocolInput() *string TargetPort() *string SetTargetPort(val *string) TargetPortInput() *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 ResetAppProtocol() ResetName() ResetNodePort() ResetProtocol() ResetTargetPort() // 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 NewServiceV1SpecPortOutputReference ¶
func NewServiceV1SpecPortOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ServiceV1SpecPortOutputReference
type ServiceV1SpecSessionAffinityConfig ¶
type ServiceV1SpecSessionAffinityConfig struct { // client_ip block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#client_ip ServiceV1#client_ip} ClientIp *ServiceV1SpecSessionAffinityConfigClientIp `field:"optional" json:"clientIp" yaml:"clientIp"` }
type ServiceV1SpecSessionAffinityConfigClientIp ¶
type ServiceV1SpecSessionAffinityConfigClientIp struct { // Specifies the seconds of `ClientIP` type session sticky time. // // The value must be > 0 and <= 86400(for 1 day) if `ServiceAffinity` == `ClientIP`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#timeout_seconds ServiceV1#timeout_seconds} TimeoutSeconds *float64 `field:"optional" json:"timeoutSeconds" yaml:"timeoutSeconds"` }
type ServiceV1SpecSessionAffinityConfigClientIpOutputReference ¶
type ServiceV1SpecSessionAffinityConfigClientIpOutputReference 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() *ServiceV1SpecSessionAffinityConfigClientIp SetInternalValue(val *ServiceV1SpecSessionAffinityConfigClientIp) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) TimeoutSeconds() *float64 SetTimeoutSeconds(val *float64) TimeoutSecondsInput() *float64 // 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 ResetTimeoutSeconds() // 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 NewServiceV1SpecSessionAffinityConfigClientIpOutputReference ¶
func NewServiceV1SpecSessionAffinityConfigClientIpOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceV1SpecSessionAffinityConfigClientIpOutputReference
type ServiceV1SpecSessionAffinityConfigOutputReference ¶
type ServiceV1SpecSessionAffinityConfigOutputReference interface { cdktf.ComplexObject ClientIp() ServiceV1SpecSessionAffinityConfigClientIpOutputReference ClientIpInput() *ServiceV1SpecSessionAffinityConfigClientIp // 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() *ServiceV1SpecSessionAffinityConfig SetInternalValue(val *ServiceV1SpecSessionAffinityConfig) // 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 PutClientIp(value *ServiceV1SpecSessionAffinityConfigClientIp) ResetClientIp() // 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 NewServiceV1SpecSessionAffinityConfigOutputReference ¶
func NewServiceV1SpecSessionAffinityConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceV1SpecSessionAffinityConfigOutputReference
type ServiceV1Status ¶
type ServiceV1Status struct { }
type ServiceV1StatusList ¶
type ServiceV1StatusList 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 // 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) ServiceV1StatusOutputReference // 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 NewServiceV1StatusList ¶
func NewServiceV1StatusList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ServiceV1StatusList
type ServiceV1StatusLoadBalancer ¶
type ServiceV1StatusLoadBalancer struct { }
type ServiceV1StatusLoadBalancerIngress ¶
type ServiceV1StatusLoadBalancerIngress struct { }
type ServiceV1StatusLoadBalancerIngressList ¶
type ServiceV1StatusLoadBalancerIngressList 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 // 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) ServiceV1StatusLoadBalancerIngressOutputReference // 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 NewServiceV1StatusLoadBalancerIngressList ¶
func NewServiceV1StatusLoadBalancerIngressList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ServiceV1StatusLoadBalancerIngressList
type ServiceV1StatusLoadBalancerIngressOutputReference ¶
type ServiceV1StatusLoadBalancerIngressOutputReference 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 Hostname() *string InternalValue() *ServiceV1StatusLoadBalancerIngress SetInternalValue(val *ServiceV1StatusLoadBalancerIngress) Ip() *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 NewServiceV1StatusLoadBalancerIngressOutputReference ¶
func NewServiceV1StatusLoadBalancerIngressOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ServiceV1StatusLoadBalancerIngressOutputReference
type ServiceV1StatusLoadBalancerList ¶
type ServiceV1StatusLoadBalancerList 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 // 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) ServiceV1StatusLoadBalancerOutputReference // 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 NewServiceV1StatusLoadBalancerList ¶
func NewServiceV1StatusLoadBalancerList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ServiceV1StatusLoadBalancerList
type ServiceV1StatusLoadBalancerOutputReference ¶
type ServiceV1StatusLoadBalancerOutputReference 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 Ingress() ServiceV1StatusLoadBalancerIngressList InternalValue() *ServiceV1StatusLoadBalancer SetInternalValue(val *ServiceV1StatusLoadBalancer) // 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 NewServiceV1StatusLoadBalancerOutputReference ¶
func NewServiceV1StatusLoadBalancerOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ServiceV1StatusLoadBalancerOutputReference
type ServiceV1StatusOutputReference ¶
type ServiceV1StatusOutputReference 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() *ServiceV1Status SetInternalValue(val *ServiceV1Status) LoadBalancer() ServiceV1StatusLoadBalancerList // 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 NewServiceV1StatusOutputReference ¶
func NewServiceV1StatusOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ServiceV1StatusOutputReference
type ServiceV1Timeouts ¶
type ServiceV1Timeouts struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/service_v1#create ServiceV1#create}. Create *string `field:"optional" json:"create" yaml:"create"` }
type ServiceV1TimeoutsOutputReference ¶
type ServiceV1TimeoutsOutputReference 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 // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val 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 ResetCreate() // 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 NewServiceV1TimeoutsOutputReference ¶
func NewServiceV1TimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceV1TimeoutsOutputReference
Source Files ¶
- servicev1.go
- servicev1_ServiceV1.go
- servicev1_ServiceV1Config.go
- servicev1_ServiceV1Metadata.go
- servicev1_ServiceV1MetadataOutputReference.go
- servicev1_ServiceV1MetadataOutputReference__runtime_type_checks.go
- servicev1_ServiceV1Spec.go
- servicev1_ServiceV1SpecOutputReference.go
- servicev1_ServiceV1SpecOutputReference__runtime_type_checks.go
- servicev1_ServiceV1SpecPort.go
- servicev1_ServiceV1SpecPortList.go
- servicev1_ServiceV1SpecPortList__runtime_type_checks.go
- servicev1_ServiceV1SpecPortOutputReference.go
- servicev1_ServiceV1SpecPortOutputReference__runtime_type_checks.go
- servicev1_ServiceV1SpecSessionAffinityConfig.go
- servicev1_ServiceV1SpecSessionAffinityConfigClientIp.go
- servicev1_ServiceV1SpecSessionAffinityConfigClientIpOutputReference.go
- servicev1_ServiceV1SpecSessionAffinityConfigClientIpOutputReference__runtime_type_checks.go
- servicev1_ServiceV1SpecSessionAffinityConfigOutputReference.go
- servicev1_ServiceV1SpecSessionAffinityConfigOutputReference__runtime_type_checks.go
- servicev1_ServiceV1Status.go
- servicev1_ServiceV1StatusList.go
- servicev1_ServiceV1StatusList__runtime_type_checks.go
- servicev1_ServiceV1StatusLoadBalancer.go
- servicev1_ServiceV1StatusLoadBalancerIngress.go
- servicev1_ServiceV1StatusLoadBalancerIngressList.go
- servicev1_ServiceV1StatusLoadBalancerIngressList__runtime_type_checks.go
- servicev1_ServiceV1StatusLoadBalancerIngressOutputReference.go
- servicev1_ServiceV1StatusLoadBalancerIngressOutputReference__runtime_type_checks.go
- servicev1_ServiceV1StatusLoadBalancerList.go
- servicev1_ServiceV1StatusLoadBalancerList__runtime_type_checks.go
- servicev1_ServiceV1StatusLoadBalancerOutputReference.go
- servicev1_ServiceV1StatusLoadBalancerOutputReference__runtime_type_checks.go
- servicev1_ServiceV1StatusOutputReference.go
- servicev1_ServiceV1StatusOutputReference__runtime_type_checks.go
- servicev1_ServiceV1Timeouts.go
- servicev1_ServiceV1TimeoutsOutputReference.go
- servicev1_ServiceV1TimeoutsOutputReference__runtime_type_checks.go
- servicev1_ServiceV1__runtime_type_checks.go