Documentation
¶
Index ¶
- func K8SCluster_IsConstruct(x interface{}) *bool
- func K8SCluster_IsTerraformElement(x interface{}) *bool
- func K8SCluster_IsTerraformResource(x interface{}) *bool
- func K8SCluster_TfResourceType() *string
- func NewK8SClusterMaintenanceWindowOutputReference_Override(k K8SClusterMaintenanceWindowOutputReference, ...)
- func NewK8SClusterS3BucketsList_Override(k K8SClusterS3BucketsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewK8SClusterS3BucketsOutputReference_Override(k K8SClusterS3BucketsOutputReference, ...)
- func NewK8SClusterTimeoutsOutputReference_Override(k K8SClusterTimeoutsOutputReference, ...)
- func NewK8SCluster_Override(k K8SCluster, scope constructs.Construct, id *string, config *K8SClusterConfig)
- type K8SCluster
- type K8SClusterConfig
- type K8SClusterMaintenanceWindow
- type K8SClusterMaintenanceWindowOutputReference
- type K8SClusterS3Buckets
- type K8SClusterS3BucketsList
- type K8SClusterS3BucketsOutputReference
- type K8SClusterTimeouts
- type K8SClusterTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func K8SCluster_IsConstruct ¶
func K8SCluster_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 K8SCluster_IsTerraformElement ¶
func K8SCluster_IsTerraformElement(x interface{}) *bool
Experimental.
func K8SCluster_IsTerraformResource ¶
func K8SCluster_IsTerraformResource(x interface{}) *bool
Experimental.
func K8SCluster_TfResourceType ¶
func K8SCluster_TfResourceType() *string
func NewK8SClusterMaintenanceWindowOutputReference_Override ¶
func NewK8SClusterMaintenanceWindowOutputReference_Override(k K8SClusterMaintenanceWindowOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewK8SClusterS3BucketsList_Override ¶
func NewK8SClusterS3BucketsList_Override(k K8SClusterS3BucketsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewK8SClusterS3BucketsOutputReference_Override ¶
func NewK8SClusterS3BucketsOutputReference_Override(k K8SClusterS3BucketsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewK8SClusterTimeoutsOutputReference_Override ¶
func NewK8SClusterTimeoutsOutputReference_Override(k K8SClusterTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewK8SCluster_Override ¶
func NewK8SCluster_Override(k K8SCluster, scope constructs.Construct, id *string, config *K8SClusterConfig)
Create a new {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.7/docs/resources/k8s_cluster ionoscloud_k8s_cluster} Resource.
Types ¶
type K8SCluster ¶
type K8SCluster interface { cdktf.TerraformResource ApiSubnetAllowList() *[]*string SetApiSubnetAllowList(val *[]*string) ApiSubnetAllowListInput() *[]*string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string K8SVersion() *string SetK8SVersion(val *string) K8SVersionInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) MaintenanceWindow() K8SClusterMaintenanceWindowOutputReference MaintenanceWindowInput() *K8SClusterMaintenanceWindow Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} S3Buckets() K8SClusterS3BucketsList S3BucketsInput() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() K8SClusterTimeoutsOutputReference TimeoutsInput() interface{} ViableNodePoolVersions() *[]*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) PutMaintenanceWindow(value *K8SClusterMaintenanceWindow) PutS3Buckets(value interface{}) PutTimeouts(value *K8SClusterTimeouts) ResetApiSubnetAllowList() ResetId() ResetK8SVersion() ResetMaintenanceWindow() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetS3Buckets() ResetTimeouts() 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/ionos-cloud/ionoscloud/6.4.7/docs/resources/k8s_cluster ionoscloud_k8s_cluster}.
func NewK8SCluster ¶
func NewK8SCluster(scope constructs.Construct, id *string, config *K8SClusterConfig) K8SCluster
Create a new {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.7/docs/resources/k8s_cluster ionoscloud_k8s_cluster} Resource.
type K8SClusterConfig ¶
type K8SClusterConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The desired name for the cluster. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.7/docs/resources/k8s_cluster#name K8SCluster#name} Name *string `field:"required" json:"name" yaml:"name"` // Access to the K8s API server is restricted to these CIDRs. // // Cluster-internal traffic is not affected by this restriction. If no allowlist is specified, access is not restricted. If an IP without subnet mask is provided, the default value will be used: 32 for IPv4 and 128 for IPv6. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.7/docs/resources/k8s_cluster#api_subnet_allow_list K8SCluster#api_subnet_allow_list} ApiSubnetAllowList *[]*string `field:"optional" json:"apiSubnetAllowList" yaml:"apiSubnetAllowList"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.7/docs/resources/k8s_cluster#id K8SCluster#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"` // The desired Kubernetes Version. // // For supported values, please check the API documentation. Downgrades are not supported. The provider will ignore downgrades of patch level. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.7/docs/resources/k8s_cluster#k8s_version K8SCluster#k8s_version} K8SVersion *string `field:"optional" json:"k8SVersion" yaml:"k8SVersion"` // maintenance_window block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.7/docs/resources/k8s_cluster#maintenance_window K8SCluster#maintenance_window} MaintenanceWindow *K8SClusterMaintenanceWindow `field:"optional" json:"maintenanceWindow" yaml:"maintenanceWindow"` // s3_buckets block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.7/docs/resources/k8s_cluster#s3_buckets K8SCluster#s3_buckets} S3Buckets interface{} `field:"optional" json:"s3Buckets" yaml:"s3Buckets"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.7/docs/resources/k8s_cluster#timeouts K8SCluster#timeouts} Timeouts *K8SClusterTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type K8SClusterMaintenanceWindow ¶
type K8SClusterMaintenanceWindow struct { // Day of the week when maintenance is allowed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.7/docs/resources/k8s_cluster#day_of_the_week K8SCluster#day_of_the_week} DayOfTheWeek *string `field:"required" json:"dayOfTheWeek" yaml:"dayOfTheWeek"` // A clock time in the day when maintenance is allowed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.7/docs/resources/k8s_cluster#time K8SCluster#time} Time *string `field:"required" json:"time" yaml:"time"` }
type K8SClusterMaintenanceWindowOutputReference ¶
type K8SClusterMaintenanceWindowOutputReference 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 DayOfTheWeek() *string SetDayOfTheWeek(val *string) DayOfTheWeekInput() *string // Experimental. Fqn() *string InternalValue() *K8SClusterMaintenanceWindow SetInternalValue(val *K8SClusterMaintenanceWindow) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Time() *string SetTime(val *string) TimeInput() *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 NewK8SClusterMaintenanceWindowOutputReference ¶
func NewK8SClusterMaintenanceWindowOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) K8SClusterMaintenanceWindowOutputReference
type K8SClusterS3Buckets ¶
type K8SClusterS3Buckets struct { // Name of the S3 bucket. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.7/docs/resources/k8s_cluster#name K8SCluster#name} Name *string `field:"optional" json:"name" yaml:"name"` }
type K8SClusterS3BucketsList ¶
type K8SClusterS3BucketsList 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) K8SClusterS3BucketsOutputReference // 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 NewK8SClusterS3BucketsList ¶
func NewK8SClusterS3BucketsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) K8SClusterS3BucketsList
type K8SClusterS3BucketsOutputReference ¶
type K8SClusterS3BucketsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *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 ResetName() // 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 NewK8SClusterS3BucketsOutputReference ¶
func NewK8SClusterS3BucketsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) K8SClusterS3BucketsOutputReference
type K8SClusterTimeouts ¶
type K8SClusterTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.7/docs/resources/k8s_cluster#create K8SCluster#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.7/docs/resources/k8s_cluster#default K8SCluster#default}. Default *string `field:"optional" json:"default" yaml:"default"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.7/docs/resources/k8s_cluster#delete K8SCluster#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.7/docs/resources/k8s_cluster#update K8SCluster#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type K8SClusterTimeoutsOutputReference ¶
type K8SClusterTimeoutsOutputReference 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 Default() *string SetDefault(val *string) DefaultInput() *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() ResetDefault() 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 NewK8SClusterTimeoutsOutputReference ¶
func NewK8SClusterTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) K8SClusterTimeoutsOutputReference
Source Files
¶
- K8SCluster.go
- K8SClusterConfig.go
- K8SClusterMaintenanceWindow.go
- K8SClusterMaintenanceWindowOutputReference.go
- K8SClusterMaintenanceWindowOutputReference__checks.go
- K8SClusterS3Buckets.go
- K8SClusterS3BucketsList.go
- K8SClusterS3BucketsList__checks.go
- K8SClusterS3BucketsOutputReference.go
- K8SClusterS3BucketsOutputReference__checks.go
- K8SClusterTimeouts.go
- K8SClusterTimeoutsOutputReference.go
- K8SClusterTimeoutsOutputReference__checks.go
- K8SCluster__checks.go
- main.go