Documentation ¶
Index ¶
- func NewValidatingWebhookConfigurationV1MetadataOutputReference_Override(v ValidatingWebhookConfigurationV1MetadataOutputReference, ...)
- func NewValidatingWebhookConfigurationV1WebhookClientConfigOutputReference_Override(v ValidatingWebhookConfigurationV1WebhookClientConfigOutputReference, ...)
- func NewValidatingWebhookConfigurationV1WebhookClientConfigServiceOutputReference_Override(v ValidatingWebhookConfigurationV1WebhookClientConfigServiceOutputReference, ...)
- func NewValidatingWebhookConfigurationV1WebhookList_Override(v ValidatingWebhookConfigurationV1WebhookList, ...)
- func NewValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsList_Override(v ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsList, ...)
- func NewValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsOutputReference_Override(...)
- func NewValidatingWebhookConfigurationV1WebhookNamespaceSelectorOutputReference_Override(v ValidatingWebhookConfigurationV1WebhookNamespaceSelectorOutputReference, ...)
- func NewValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsList_Override(v ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsList, ...)
- func NewValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsOutputReference_Override(...)
- func NewValidatingWebhookConfigurationV1WebhookObjectSelectorOutputReference_Override(v ValidatingWebhookConfigurationV1WebhookObjectSelectorOutputReference, ...)
- func NewValidatingWebhookConfigurationV1WebhookOutputReference_Override(v ValidatingWebhookConfigurationV1WebhookOutputReference, ...)
- func NewValidatingWebhookConfigurationV1WebhookRuleList_Override(v ValidatingWebhookConfigurationV1WebhookRuleList, ...)
- func NewValidatingWebhookConfigurationV1WebhookRuleOutputReference_Override(v ValidatingWebhookConfigurationV1WebhookRuleOutputReference, ...)
- func NewValidatingWebhookConfigurationV1_Override(v ValidatingWebhookConfigurationV1, scope constructs.Construct, id *string, ...)
- func ValidatingWebhookConfigurationV1_IsConstruct(x interface{}) *bool
- func ValidatingWebhookConfigurationV1_IsTerraformElement(x interface{}) *bool
- func ValidatingWebhookConfigurationV1_IsTerraformResource(x interface{}) *bool
- func ValidatingWebhookConfigurationV1_TfResourceType() *string
- type ValidatingWebhookConfigurationV1
- type ValidatingWebhookConfigurationV1Config
- type ValidatingWebhookConfigurationV1Metadata
- type ValidatingWebhookConfigurationV1MetadataOutputReference
- type ValidatingWebhookConfigurationV1Webhook
- type ValidatingWebhookConfigurationV1WebhookClientConfig
- type ValidatingWebhookConfigurationV1WebhookClientConfigOutputReference
- type ValidatingWebhookConfigurationV1WebhookClientConfigService
- type ValidatingWebhookConfigurationV1WebhookClientConfigServiceOutputReference
- type ValidatingWebhookConfigurationV1WebhookList
- type ValidatingWebhookConfigurationV1WebhookNamespaceSelector
- type ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressions
- type ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsList
- type ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsOutputReference
- type ValidatingWebhookConfigurationV1WebhookNamespaceSelectorOutputReference
- type ValidatingWebhookConfigurationV1WebhookObjectSelector
- type ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressions
- type ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsList
- type ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsOutputReference
- type ValidatingWebhookConfigurationV1WebhookObjectSelectorOutputReference
- type ValidatingWebhookConfigurationV1WebhookOutputReference
- type ValidatingWebhookConfigurationV1WebhookRule
- type ValidatingWebhookConfigurationV1WebhookRuleList
- type ValidatingWebhookConfigurationV1WebhookRuleOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewValidatingWebhookConfigurationV1MetadataOutputReference_Override ¶
func NewValidatingWebhookConfigurationV1MetadataOutputReference_Override(v ValidatingWebhookConfigurationV1MetadataOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewValidatingWebhookConfigurationV1WebhookClientConfigOutputReference_Override ¶
func NewValidatingWebhookConfigurationV1WebhookClientConfigOutputReference_Override(v ValidatingWebhookConfigurationV1WebhookClientConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewValidatingWebhookConfigurationV1WebhookClientConfigServiceOutputReference_Override ¶
func NewValidatingWebhookConfigurationV1WebhookClientConfigServiceOutputReference_Override(v ValidatingWebhookConfigurationV1WebhookClientConfigServiceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewValidatingWebhookConfigurationV1WebhookList_Override ¶
func NewValidatingWebhookConfigurationV1WebhookList_Override(v ValidatingWebhookConfigurationV1WebhookList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsList_Override ¶
func NewValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsList_Override(v ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsOutputReference_Override ¶
func NewValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsOutputReference_Override(v ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewValidatingWebhookConfigurationV1WebhookNamespaceSelectorOutputReference_Override ¶
func NewValidatingWebhookConfigurationV1WebhookNamespaceSelectorOutputReference_Override(v ValidatingWebhookConfigurationV1WebhookNamespaceSelectorOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsList_Override ¶
func NewValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsList_Override(v ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsOutputReference_Override ¶
func NewValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsOutputReference_Override(v ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewValidatingWebhookConfigurationV1WebhookObjectSelectorOutputReference_Override ¶
func NewValidatingWebhookConfigurationV1WebhookObjectSelectorOutputReference_Override(v ValidatingWebhookConfigurationV1WebhookObjectSelectorOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewValidatingWebhookConfigurationV1WebhookOutputReference_Override ¶
func NewValidatingWebhookConfigurationV1WebhookOutputReference_Override(v ValidatingWebhookConfigurationV1WebhookOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewValidatingWebhookConfigurationV1WebhookRuleList_Override ¶
func NewValidatingWebhookConfigurationV1WebhookRuleList_Override(v ValidatingWebhookConfigurationV1WebhookRuleList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewValidatingWebhookConfigurationV1WebhookRuleOutputReference_Override ¶
func NewValidatingWebhookConfigurationV1WebhookRuleOutputReference_Override(v ValidatingWebhookConfigurationV1WebhookRuleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewValidatingWebhookConfigurationV1_Override ¶
func NewValidatingWebhookConfigurationV1_Override(v ValidatingWebhookConfigurationV1, scope constructs.Construct, id *string, config *ValidatingWebhookConfigurationV1Config)
Create a new {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1 kubernetes_validating_webhook_configuration_v1} Resource.
func ValidatingWebhookConfigurationV1_IsConstruct ¶
func ValidatingWebhookConfigurationV1_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 ValidatingWebhookConfigurationV1_IsTerraformElement ¶
func ValidatingWebhookConfigurationV1_IsTerraformElement(x interface{}) *bool
Experimental.
func ValidatingWebhookConfigurationV1_IsTerraformResource ¶
func ValidatingWebhookConfigurationV1_IsTerraformResource(x interface{}) *bool
Experimental.
func ValidatingWebhookConfigurationV1_TfResourceType ¶
func ValidatingWebhookConfigurationV1_TfResourceType() *string
Types ¶
type ValidatingWebhookConfigurationV1 ¶
type ValidatingWebhookConfigurationV1 interface { cdktf.TerraformResource // 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 // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Metadata() ValidatingWebhookConfigurationV1MetadataOutputReference MetadataInput() *ValidatingWebhookConfigurationV1Metadata // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Webhook() ValidatingWebhookConfigurationV1WebhookList WebhookInput() 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 *ValidatingWebhookConfigurationV1Metadata) PutWebhook(value interface{}) ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() 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/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1 kubernetes_validating_webhook_configuration_v1}.
func NewValidatingWebhookConfigurationV1 ¶
func NewValidatingWebhookConfigurationV1(scope constructs.Construct, id *string, config *ValidatingWebhookConfigurationV1Config) ValidatingWebhookConfigurationV1
Create a new {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1 kubernetes_validating_webhook_configuration_v1} Resource.
type ValidatingWebhookConfigurationV1Config ¶
type ValidatingWebhookConfigurationV1Config 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"` // metadata block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#metadata ValidatingWebhookConfigurationV1#metadata} Metadata *ValidatingWebhookConfigurationV1Metadata `field:"required" json:"metadata" yaml:"metadata"` // webhook block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#webhook ValidatingWebhookConfigurationV1#webhook} Webhook interface{} `field:"required" json:"webhook" yaml:"webhook"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#id ValidatingWebhookConfigurationV1#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"` }
type ValidatingWebhookConfigurationV1Metadata ¶
type ValidatingWebhookConfigurationV1Metadata struct { // An unstructured key value map stored with the validating webhook configuration that may be used to store arbitrary metadata. // // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#annotations ValidatingWebhookConfigurationV1#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. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#idempotency // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#generate_name ValidatingWebhookConfigurationV1#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 validating webhook configuration. // // May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#labels ValidatingWebhookConfigurationV1#labels} Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"` // Name of the validating webhook configuration, must be unique. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#name ValidatingWebhookConfigurationV1#name} Name *string `field:"optional" json:"name" yaml:"name"` }
type ValidatingWebhookConfigurationV1MetadataOutputReference ¶
type ValidatingWebhookConfigurationV1MetadataOutputReference 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() *ValidatingWebhookConfigurationV1Metadata SetInternalValue(val *ValidatingWebhookConfigurationV1Metadata) Labels() *map[string]*string SetLabels(val *map[string]*string) LabelsInput() *map[string]*string Name() *string SetName(val *string) NameInput() *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() // 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 NewValidatingWebhookConfigurationV1MetadataOutputReference ¶
func NewValidatingWebhookConfigurationV1MetadataOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ValidatingWebhookConfigurationV1MetadataOutputReference
type ValidatingWebhookConfigurationV1Webhook ¶
type ValidatingWebhookConfigurationV1Webhook struct { // client_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#client_config ValidatingWebhookConfigurationV1#client_config} ClientConfig *ValidatingWebhookConfigurationV1WebhookClientConfig `field:"required" json:"clientConfig" yaml:"clientConfig"` // The name of the admission webhook. // // Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#name ValidatingWebhookConfigurationV1#name} Name *string `field:"required" json:"name" yaml:"name"` // AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. // // API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#admission_review_versions ValidatingWebhookConfigurationV1#admission_review_versions} AdmissionReviewVersions *[]*string `field:"optional" json:"admissionReviewVersions" yaml:"admissionReviewVersions"` // FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. // // Defaults to Fail. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#failure_policy ValidatingWebhookConfigurationV1#failure_policy} FailurePolicy *string `field:"optional" json:"failurePolicy" yaml:"failurePolicy"` // matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent". // // - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook. // // - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. // // Defaults to "Equivalent" // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#match_policy ValidatingWebhookConfigurationV1#match_policy} MatchPolicy *string `field:"optional" json:"matchPolicy" yaml:"matchPolicy"` // namespace_selector block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#namespace_selector ValidatingWebhookConfigurationV1#namespace_selector} NamespaceSelector *ValidatingWebhookConfigurationV1WebhookNamespaceSelector `field:"optional" json:"namespaceSelector" yaml:"namespaceSelector"` // object_selector block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#object_selector ValidatingWebhookConfigurationV1#object_selector} ObjectSelector *ValidatingWebhookConfigurationV1WebhookObjectSelector `field:"optional" json:"objectSelector" yaml:"objectSelector"` // rule block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#rule ValidatingWebhookConfigurationV1#rule} Rule interface{} `field:"optional" json:"rule" yaml:"rule"` // SideEffects states whether this webhook has side effects. // // Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#side_effects ValidatingWebhookConfigurationV1#side_effects} SideEffects *string `field:"optional" json:"sideEffects" yaml:"sideEffects"` // TimeoutSeconds specifies the timeout for this webhook. // // After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#timeout_seconds ValidatingWebhookConfigurationV1#timeout_seconds} TimeoutSeconds *float64 `field:"optional" json:"timeoutSeconds" yaml:"timeoutSeconds"` }
type ValidatingWebhookConfigurationV1WebhookClientConfig ¶
type ValidatingWebhookConfigurationV1WebhookClientConfig struct { // `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. // // If unspecified, system trust roots on the apiserver are used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#ca_bundle ValidatingWebhookConfigurationV1#ca_bundle} CaBundle *string `field:"optional" json:"caBundle" yaml:"caBundle"` // service block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#service ValidatingWebhookConfigurationV1#service} Service *ValidatingWebhookConfigurationV1WebhookClientConfigService `field:"optional" json:"service" yaml:"service"` // `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). // // Exactly one of `url` or `service` must be specified. // // The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. // // Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. // // The scheme must be "https"; the URL must begin with "https://". // // A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. // // Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#url ValidatingWebhookConfigurationV1#url} Url *string `field:"optional" json:"url" yaml:"url"` }
type ValidatingWebhookConfigurationV1WebhookClientConfigOutputReference ¶
type ValidatingWebhookConfigurationV1WebhookClientConfigOutputReference interface { cdktf.ComplexObject CaBundle() *string SetCaBundle(val *string) CaBundleInput() *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() *ValidatingWebhookConfigurationV1WebhookClientConfig SetInternalValue(val *ValidatingWebhookConfigurationV1WebhookClientConfig) Service() ValidatingWebhookConfigurationV1WebhookClientConfigServiceOutputReference ServiceInput() *ValidatingWebhookConfigurationV1WebhookClientConfigService // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Url() *string SetUrl(val *string) UrlInput() *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 PutService(value *ValidatingWebhookConfigurationV1WebhookClientConfigService) ResetCaBundle() ResetService() ResetUrl() // 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 NewValidatingWebhookConfigurationV1WebhookClientConfigOutputReference ¶
func NewValidatingWebhookConfigurationV1WebhookClientConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ValidatingWebhookConfigurationV1WebhookClientConfigOutputReference
type ValidatingWebhookConfigurationV1WebhookClientConfigService ¶
type ValidatingWebhookConfigurationV1WebhookClientConfigService struct { // `name` is the name of the service. Required. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#name ValidatingWebhookConfigurationV1#name} Name *string `field:"required" json:"name" yaml:"name"` // `namespace` is the namespace of the service. Required. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#namespace ValidatingWebhookConfigurationV1#namespace} Namespace *string `field:"required" json:"namespace" yaml:"namespace"` // `path` is an optional URL path which will be sent in any request to this service. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#path ValidatingWebhookConfigurationV1#path} Path *string `field:"optional" json:"path" yaml:"path"` // If specified, the port on the service that hosting webhook. // // Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#port ValidatingWebhookConfigurationV1#port} Port *float64 `field:"optional" json:"port" yaml:"port"` }
type ValidatingWebhookConfigurationV1WebhookClientConfigServiceOutputReference ¶
type ValidatingWebhookConfigurationV1WebhookClientConfigServiceOutputReference 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() *ValidatingWebhookConfigurationV1WebhookClientConfigService SetInternalValue(val *ValidatingWebhookConfigurationV1WebhookClientConfigService) Name() *string SetName(val *string) NameInput() *string Namespace() *string SetNamespace(val *string) NamespaceInput() *string Path() *string SetPath(val *string) PathInput() *string Port() *float64 SetPort(val *float64) PortInput() *float64 // 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 ResetPath() ResetPort() // 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 NewValidatingWebhookConfigurationV1WebhookClientConfigServiceOutputReference ¶
func NewValidatingWebhookConfigurationV1WebhookClientConfigServiceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ValidatingWebhookConfigurationV1WebhookClientConfigServiceOutputReference
type ValidatingWebhookConfigurationV1WebhookList ¶
type ValidatingWebhookConfigurationV1WebhookList 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) ValidatingWebhookConfigurationV1WebhookOutputReference // 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 NewValidatingWebhookConfigurationV1WebhookList ¶
func NewValidatingWebhookConfigurationV1WebhookList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ValidatingWebhookConfigurationV1WebhookList
type ValidatingWebhookConfigurationV1WebhookNamespaceSelector ¶
type ValidatingWebhookConfigurationV1WebhookNamespaceSelector struct { // match_expressions block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#match_expressions ValidatingWebhookConfigurationV1#match_expressions} MatchExpressions interface{} `field:"optional" json:"matchExpressions" yaml:"matchExpressions"` // A map of {key,value} pairs. // // A single {key,value} in the matchLabels map is equivalent to an element of `match_expressions`, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#match_labels ValidatingWebhookConfigurationV1#match_labels} MatchLabels *map[string]*string `field:"optional" json:"matchLabels" yaml:"matchLabels"` }
type ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressions ¶
type ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressions struct { // The label key that the selector applies to. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#key ValidatingWebhookConfigurationV1#key} Key *string `field:"optional" json:"key" yaml:"key"` // A key's relationship to a set of values. Valid operators ard `In`, `NotIn`, `Exists` and `DoesNotExist`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#operator ValidatingWebhookConfigurationV1#operator} Operator *string `field:"optional" json:"operator" yaml:"operator"` // An array of string values. // // If the operator is `In` or `NotIn`, the values array must be non-empty. If the operator is `Exists` or `DoesNotExist`, the values array must be empty. This array is replaced during a strategic merge patch. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#values ValidatingWebhookConfigurationV1#values} Values *[]*string `field:"optional" json:"values" yaml:"values"` }
type ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsList ¶
type ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsList 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) ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsOutputReference // 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 NewValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsList ¶
func NewValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsList
type ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsOutputReference ¶
type ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsOutputReference 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{}) Key() *string SetKey(val *string) KeyInput() *string Operator() *string SetOperator(val *string) OperatorInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Values() *[]*string SetValues(val *[]*string) ValuesInput() *[]*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 ResetKey() ResetOperator() ResetValues() // 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 NewValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsOutputReference ¶
func NewValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsOutputReference
type ValidatingWebhookConfigurationV1WebhookNamespaceSelectorOutputReference ¶
type ValidatingWebhookConfigurationV1WebhookNamespaceSelectorOutputReference 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() *ValidatingWebhookConfigurationV1WebhookNamespaceSelector SetInternalValue(val *ValidatingWebhookConfigurationV1WebhookNamespaceSelector) MatchExpressions() ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsList MatchExpressionsInput() interface{} MatchLabels() *map[string]*string SetMatchLabels(val *map[string]*string) MatchLabelsInput() *map[string]*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 PutMatchExpressions(value interface{}) ResetMatchExpressions() ResetMatchLabels() // 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 NewValidatingWebhookConfigurationV1WebhookNamespaceSelectorOutputReference ¶
func NewValidatingWebhookConfigurationV1WebhookNamespaceSelectorOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ValidatingWebhookConfigurationV1WebhookNamespaceSelectorOutputReference
type ValidatingWebhookConfigurationV1WebhookObjectSelector ¶
type ValidatingWebhookConfigurationV1WebhookObjectSelector struct { // match_expressions block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#match_expressions ValidatingWebhookConfigurationV1#match_expressions} MatchExpressions interface{} `field:"optional" json:"matchExpressions" yaml:"matchExpressions"` // A map of {key,value} pairs. // // A single {key,value} in the matchLabels map is equivalent to an element of `match_expressions`, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#match_labels ValidatingWebhookConfigurationV1#match_labels} MatchLabels *map[string]*string `field:"optional" json:"matchLabels" yaml:"matchLabels"` }
type ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressions ¶
type ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressions struct { // The label key that the selector applies to. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#key ValidatingWebhookConfigurationV1#key} Key *string `field:"optional" json:"key" yaml:"key"` // A key's relationship to a set of values. Valid operators ard `In`, `NotIn`, `Exists` and `DoesNotExist`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#operator ValidatingWebhookConfigurationV1#operator} Operator *string `field:"optional" json:"operator" yaml:"operator"` // An array of string values. // // If the operator is `In` or `NotIn`, the values array must be non-empty. If the operator is `Exists` or `DoesNotExist`, the values array must be empty. This array is replaced during a strategic merge patch. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#values ValidatingWebhookConfigurationV1#values} Values *[]*string `field:"optional" json:"values" yaml:"values"` }
type ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsList ¶
type ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsList 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) ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsOutputReference // 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 NewValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsList ¶
func NewValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsList
type ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsOutputReference ¶
type ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsOutputReference 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{}) Key() *string SetKey(val *string) KeyInput() *string Operator() *string SetOperator(val *string) OperatorInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Values() *[]*string SetValues(val *[]*string) ValuesInput() *[]*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 ResetKey() ResetOperator() ResetValues() // 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 NewValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsOutputReference ¶
func NewValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsOutputReference
type ValidatingWebhookConfigurationV1WebhookObjectSelectorOutputReference ¶
type ValidatingWebhookConfigurationV1WebhookObjectSelectorOutputReference 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() *ValidatingWebhookConfigurationV1WebhookObjectSelector SetInternalValue(val *ValidatingWebhookConfigurationV1WebhookObjectSelector) MatchExpressions() ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsList MatchExpressionsInput() interface{} MatchLabels() *map[string]*string SetMatchLabels(val *map[string]*string) MatchLabelsInput() *map[string]*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 PutMatchExpressions(value interface{}) ResetMatchExpressions() ResetMatchLabels() // 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 NewValidatingWebhookConfigurationV1WebhookObjectSelectorOutputReference ¶
func NewValidatingWebhookConfigurationV1WebhookObjectSelectorOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ValidatingWebhookConfigurationV1WebhookObjectSelectorOutputReference
type ValidatingWebhookConfigurationV1WebhookOutputReference ¶
type ValidatingWebhookConfigurationV1WebhookOutputReference interface { cdktf.ComplexObject AdmissionReviewVersions() *[]*string SetAdmissionReviewVersions(val *[]*string) AdmissionReviewVersionsInput() *[]*string ClientConfig() ValidatingWebhookConfigurationV1WebhookClientConfigOutputReference ClientConfigInput() *ValidatingWebhookConfigurationV1WebhookClientConfig // 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 FailurePolicy() *string SetFailurePolicy(val *string) FailurePolicyInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) MatchPolicy() *string SetMatchPolicy(val *string) MatchPolicyInput() *string Name() *string SetName(val *string) NameInput() *string NamespaceSelector() ValidatingWebhookConfigurationV1WebhookNamespaceSelectorOutputReference NamespaceSelectorInput() *ValidatingWebhookConfigurationV1WebhookNamespaceSelector ObjectSelector() ValidatingWebhookConfigurationV1WebhookObjectSelectorOutputReference ObjectSelectorInput() *ValidatingWebhookConfigurationV1WebhookObjectSelector Rule() ValidatingWebhookConfigurationV1WebhookRuleList RuleInput() interface{} SideEffects() *string SetSideEffects(val *string) SideEffectsInput() *string // 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 PutClientConfig(value *ValidatingWebhookConfigurationV1WebhookClientConfig) PutNamespaceSelector(value *ValidatingWebhookConfigurationV1WebhookNamespaceSelector) PutObjectSelector(value *ValidatingWebhookConfigurationV1WebhookObjectSelector) PutRule(value interface{}) ResetAdmissionReviewVersions() ResetFailurePolicy() ResetMatchPolicy() ResetNamespaceSelector() ResetObjectSelector() ResetRule() ResetSideEffects() 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 NewValidatingWebhookConfigurationV1WebhookOutputReference ¶
func NewValidatingWebhookConfigurationV1WebhookOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ValidatingWebhookConfigurationV1WebhookOutputReference
type ValidatingWebhookConfigurationV1WebhookRule ¶
type ValidatingWebhookConfigurationV1WebhookRule struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#api_groups ValidatingWebhookConfigurationV1#api_groups}. ApiGroups *[]*string `field:"required" json:"apiGroups" yaml:"apiGroups"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#api_versions ValidatingWebhookConfigurationV1#api_versions}. ApiVersions *[]*string `field:"required" json:"apiVersions" yaml:"apiVersions"` // Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. // // If '*' is present, the length of the slice must be one. Required. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#operations ValidatingWebhookConfigurationV1#operations} Operations *[]*string `field:"required" json:"operations" yaml:"operations"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#resources ValidatingWebhookConfigurationV1#resources}. Resources *[]*string `field:"required" json:"resources" yaml:"resources"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/validating_webhook_configuration_v1#scope ValidatingWebhookConfigurationV1#scope}. Scope *string `field:"optional" json:"scope" yaml:"scope"` }
type ValidatingWebhookConfigurationV1WebhookRuleList ¶
type ValidatingWebhookConfigurationV1WebhookRuleList 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) ValidatingWebhookConfigurationV1WebhookRuleOutputReference // 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 NewValidatingWebhookConfigurationV1WebhookRuleList ¶
func NewValidatingWebhookConfigurationV1WebhookRuleList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ValidatingWebhookConfigurationV1WebhookRuleList
type ValidatingWebhookConfigurationV1WebhookRuleOutputReference ¶
type ValidatingWebhookConfigurationV1WebhookRuleOutputReference interface { cdktf.ComplexObject ApiGroups() *[]*string SetApiGroups(val *[]*string) ApiGroupsInput() *[]*string ApiVersions() *[]*string SetApiVersions(val *[]*string) ApiVersionsInput() *[]*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{}) Operations() *[]*string SetOperations(val *[]*string) OperationsInput() *[]*string Resources() *[]*string SetResources(val *[]*string) ResourcesInput() *[]*string Scope() *string SetScope(val *string) ScopeInput() *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 ResetScope() // 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 NewValidatingWebhookConfigurationV1WebhookRuleOutputReference ¶
func NewValidatingWebhookConfigurationV1WebhookRuleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ValidatingWebhookConfigurationV1WebhookRuleOutputReference
Source Files ¶
- ValidatingWebhookConfigurationV1.go
- ValidatingWebhookConfigurationV1Config.go
- ValidatingWebhookConfigurationV1Metadata.go
- ValidatingWebhookConfigurationV1MetadataOutputReference.go
- ValidatingWebhookConfigurationV1MetadataOutputReference__checks.go
- ValidatingWebhookConfigurationV1Webhook.go
- ValidatingWebhookConfigurationV1WebhookClientConfig.go
- ValidatingWebhookConfigurationV1WebhookClientConfigOutputReference.go
- ValidatingWebhookConfigurationV1WebhookClientConfigOutputReference__checks.go
- ValidatingWebhookConfigurationV1WebhookClientConfigService.go
- ValidatingWebhookConfigurationV1WebhookClientConfigServiceOutputReference.go
- ValidatingWebhookConfigurationV1WebhookClientConfigServiceOutputReference__checks.go
- ValidatingWebhookConfigurationV1WebhookList.go
- ValidatingWebhookConfigurationV1WebhookList__checks.go
- ValidatingWebhookConfigurationV1WebhookNamespaceSelector.go
- ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressions.go
- ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsList.go
- ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsList__checks.go
- ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsOutputReference.go
- ValidatingWebhookConfigurationV1WebhookNamespaceSelectorMatchExpressionsOutputReference__checks.go
- ValidatingWebhookConfigurationV1WebhookNamespaceSelectorOutputReference.go
- ValidatingWebhookConfigurationV1WebhookNamespaceSelectorOutputReference__checks.go
- ValidatingWebhookConfigurationV1WebhookObjectSelector.go
- ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressions.go
- ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsList.go
- ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsList__checks.go
- ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsOutputReference.go
- ValidatingWebhookConfigurationV1WebhookObjectSelectorMatchExpressionsOutputReference__checks.go
- ValidatingWebhookConfigurationV1WebhookObjectSelectorOutputReference.go
- ValidatingWebhookConfigurationV1WebhookObjectSelectorOutputReference__checks.go
- ValidatingWebhookConfigurationV1WebhookOutputReference.go
- ValidatingWebhookConfigurationV1WebhookOutputReference__checks.go
- ValidatingWebhookConfigurationV1WebhookRule.go
- ValidatingWebhookConfigurationV1WebhookRuleList.go
- ValidatingWebhookConfigurationV1WebhookRuleList__checks.go
- ValidatingWebhookConfigurationV1WebhookRuleOutputReference.go
- ValidatingWebhookConfigurationV1WebhookRuleOutputReference__checks.go
- ValidatingWebhookConfigurationV1__checks.go
- main.go