Documentation ¶
Index ¶
- func NewValidatingWebhookConfigurationMetadataOutputReference_Override(v ValidatingWebhookConfigurationMetadataOutputReference, ...)
- func NewValidatingWebhookConfigurationWebhookClientConfigOutputReference_Override(v ValidatingWebhookConfigurationWebhookClientConfigOutputReference, ...)
- func NewValidatingWebhookConfigurationWebhookClientConfigServiceOutputReference_Override(v ValidatingWebhookConfigurationWebhookClientConfigServiceOutputReference, ...)
- func NewValidatingWebhookConfigurationWebhookList_Override(v ValidatingWebhookConfigurationWebhookList, ...)
- func NewValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList_Override(v ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList, ...)
- func NewValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference_Override(...)
- func NewValidatingWebhookConfigurationWebhookNamespaceSelectorOutputReference_Override(v ValidatingWebhookConfigurationWebhookNamespaceSelectorOutputReference, ...)
- func NewValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList_Override(v ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList, ...)
- func NewValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference_Override(...)
- func NewValidatingWebhookConfigurationWebhookObjectSelectorOutputReference_Override(v ValidatingWebhookConfigurationWebhookObjectSelectorOutputReference, ...)
- func NewValidatingWebhookConfigurationWebhookOutputReference_Override(v ValidatingWebhookConfigurationWebhookOutputReference, ...)
- func NewValidatingWebhookConfigurationWebhookRuleList_Override(v ValidatingWebhookConfigurationWebhookRuleList, ...)
- func NewValidatingWebhookConfigurationWebhookRuleOutputReference_Override(v ValidatingWebhookConfigurationWebhookRuleOutputReference, ...)
- func NewValidatingWebhookConfiguration_Override(v ValidatingWebhookConfiguration, scope constructs.Construct, id *string, ...)
- func ValidatingWebhookConfiguration_IsConstruct(x interface{}) *bool
- func ValidatingWebhookConfiguration_TfResourceType() *string
- type ValidatingWebhookConfiguration
- type ValidatingWebhookConfigurationConfig
- type ValidatingWebhookConfigurationMetadata
- type ValidatingWebhookConfigurationMetadataOutputReference
- type ValidatingWebhookConfigurationWebhook
- type ValidatingWebhookConfigurationWebhookClientConfig
- type ValidatingWebhookConfigurationWebhookClientConfigOutputReference
- type ValidatingWebhookConfigurationWebhookClientConfigService
- type ValidatingWebhookConfigurationWebhookClientConfigServiceOutputReference
- type ValidatingWebhookConfigurationWebhookList
- type ValidatingWebhookConfigurationWebhookNamespaceSelector
- type ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressions
- type ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList
- type ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference
- type ValidatingWebhookConfigurationWebhookNamespaceSelectorOutputReference
- type ValidatingWebhookConfigurationWebhookObjectSelector
- type ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressions
- type ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList
- type ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference
- type ValidatingWebhookConfigurationWebhookObjectSelectorOutputReference
- type ValidatingWebhookConfigurationWebhookOutputReference
- type ValidatingWebhookConfigurationWebhookRule
- type ValidatingWebhookConfigurationWebhookRuleList
- type ValidatingWebhookConfigurationWebhookRuleOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewValidatingWebhookConfigurationMetadataOutputReference_Override ¶
func NewValidatingWebhookConfigurationMetadataOutputReference_Override(v ValidatingWebhookConfigurationMetadataOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewValidatingWebhookConfigurationWebhookClientConfigOutputReference_Override ¶
func NewValidatingWebhookConfigurationWebhookClientConfigOutputReference_Override(v ValidatingWebhookConfigurationWebhookClientConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewValidatingWebhookConfigurationWebhookClientConfigServiceOutputReference_Override ¶
func NewValidatingWebhookConfigurationWebhookClientConfigServiceOutputReference_Override(v ValidatingWebhookConfigurationWebhookClientConfigServiceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewValidatingWebhookConfigurationWebhookList_Override ¶
func NewValidatingWebhookConfigurationWebhookList_Override(v ValidatingWebhookConfigurationWebhookList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList_Override ¶
func NewValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList_Override(v ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference_Override ¶
func NewValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference_Override(v ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewValidatingWebhookConfigurationWebhookNamespaceSelectorOutputReference_Override ¶
func NewValidatingWebhookConfigurationWebhookNamespaceSelectorOutputReference_Override(v ValidatingWebhookConfigurationWebhookNamespaceSelectorOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList_Override ¶
func NewValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList_Override(v ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference_Override ¶
func NewValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference_Override(v ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewValidatingWebhookConfigurationWebhookObjectSelectorOutputReference_Override ¶
func NewValidatingWebhookConfigurationWebhookObjectSelectorOutputReference_Override(v ValidatingWebhookConfigurationWebhookObjectSelectorOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewValidatingWebhookConfigurationWebhookOutputReference_Override ¶
func NewValidatingWebhookConfigurationWebhookOutputReference_Override(v ValidatingWebhookConfigurationWebhookOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewValidatingWebhookConfigurationWebhookRuleList_Override ¶
func NewValidatingWebhookConfigurationWebhookRuleList_Override(v ValidatingWebhookConfigurationWebhookRuleList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewValidatingWebhookConfigurationWebhookRuleOutputReference_Override ¶
func NewValidatingWebhookConfigurationWebhookRuleOutputReference_Override(v ValidatingWebhookConfigurationWebhookRuleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewValidatingWebhookConfiguration_Override ¶
func NewValidatingWebhookConfiguration_Override(v ValidatingWebhookConfiguration, scope constructs.Construct, id *string, config *ValidatingWebhookConfigurationConfig)
Create a new {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration kubernetes_validating_webhook_configuration} Resource.
func ValidatingWebhookConfiguration_IsConstruct ¶
func ValidatingWebhookConfiguration_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 ValidatingWebhookConfiguration_TfResourceType ¶
func ValidatingWebhookConfiguration_TfResourceType() *string
Types ¶
type ValidatingWebhookConfiguration ¶
type ValidatingWebhookConfiguration interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Metadata() ValidatingWebhookConfigurationMetadataOutputReference MetadataInput() *ValidatingWebhookConfigurationMetadata // 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() ValidatingWebhookConfigurationWebhookList 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 *ValidatingWebhookConfigurationMetadata) 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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration kubernetes_validating_webhook_configuration}.
func NewValidatingWebhookConfiguration ¶
func NewValidatingWebhookConfiguration(scope constructs.Construct, id *string, config *ValidatingWebhookConfigurationConfig) ValidatingWebhookConfiguration
Create a new {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration kubernetes_validating_webhook_configuration} Resource.
type ValidatingWebhookConfigurationConfig ¶
type ValidatingWebhookConfigurationConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // metadata block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#metadata ValidatingWebhookConfiguration#metadata} Metadata *ValidatingWebhookConfigurationMetadata `field:"required" json:"metadata" yaml:"metadata"` // webhook block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#webhook ValidatingWebhookConfiguration#webhook} Webhook interface{} `field:"required" json:"webhook" yaml:"webhook"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#id ValidatingWebhookConfiguration#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 ValidatingWebhookConfigurationMetadata ¶
type ValidatingWebhookConfigurationMetadata struct { // An unstructured key value map stored with the validating webhook configuration that may be used to store arbitrary metadata. // // More info: http://kubernetes.io/docs/user-guide/annotations // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#annotations ValidatingWebhookConfiguration#annotations} Annotations *map[string]*string `field:"optional" json:"annotations" yaml:"annotations"` // Prefix, used by the server, to generate a unique name ONLY IF the `name` field has not been provided. // // This value will also be combined with a unique suffix. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#idempotency // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#generate_name ValidatingWebhookConfiguration#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: http://kubernetes.io/docs/user-guide/labels // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#labels ValidatingWebhookConfiguration#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: http://kubernetes.io/docs/user-guide/identifiers#names. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#name ValidatingWebhookConfiguration#name} Name *string `field:"optional" json:"name" yaml:"name"` }
type ValidatingWebhookConfigurationMetadataOutputReference ¶
type ValidatingWebhookConfigurationMetadataOutputReference 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() *ValidatingWebhookConfigurationMetadata SetInternalValue(val *ValidatingWebhookConfigurationMetadata) 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 NewValidatingWebhookConfigurationMetadataOutputReference ¶
func NewValidatingWebhookConfigurationMetadataOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ValidatingWebhookConfigurationMetadataOutputReference
type ValidatingWebhookConfigurationWebhook ¶
type ValidatingWebhookConfigurationWebhook struct { // client_config block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#client_config ValidatingWebhookConfiguration#client_config} ClientConfig *ValidatingWebhookConfigurationWebhookClientConfig `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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#name ValidatingWebhookConfiguration#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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#admission_review_versions ValidatingWebhookConfiguration#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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#failure_policy ValidatingWebhookConfiguration#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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#match_policy ValidatingWebhookConfiguration#match_policy} MatchPolicy *string `field:"optional" json:"matchPolicy" yaml:"matchPolicy"` // namespace_selector block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#namespace_selector ValidatingWebhookConfiguration#namespace_selector} NamespaceSelector *ValidatingWebhookConfigurationWebhookNamespaceSelector `field:"optional" json:"namespaceSelector" yaml:"namespaceSelector"` // object_selector block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#object_selector ValidatingWebhookConfiguration#object_selector} ObjectSelector *ValidatingWebhookConfigurationWebhookObjectSelector `field:"optional" json:"objectSelector" yaml:"objectSelector"` // rule block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#rule ValidatingWebhookConfiguration#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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#side_effects ValidatingWebhookConfiguration#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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#timeout_seconds ValidatingWebhookConfiguration#timeout_seconds} TimeoutSeconds *float64 `field:"optional" json:"timeoutSeconds" yaml:"timeoutSeconds"` }
type ValidatingWebhookConfigurationWebhookClientConfig ¶
type ValidatingWebhookConfigurationWebhookClientConfig 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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#ca_bundle ValidatingWebhookConfiguration#ca_bundle} CaBundle *string `field:"optional" json:"caBundle" yaml:"caBundle"` // service block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#service ValidatingWebhookConfiguration#service} Service *ValidatingWebhookConfigurationWebhookClientConfigService `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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#url ValidatingWebhookConfiguration#url} Url *string `field:"optional" json:"url" yaml:"url"` }
type ValidatingWebhookConfigurationWebhookClientConfigOutputReference ¶
type ValidatingWebhookConfigurationWebhookClientConfigOutputReference 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() *ValidatingWebhookConfigurationWebhookClientConfig SetInternalValue(val *ValidatingWebhookConfigurationWebhookClientConfig) Service() ValidatingWebhookConfigurationWebhookClientConfigServiceOutputReference ServiceInput() *ValidatingWebhookConfigurationWebhookClientConfigService // 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 *ValidatingWebhookConfigurationWebhookClientConfigService) 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 NewValidatingWebhookConfigurationWebhookClientConfigOutputReference ¶
func NewValidatingWebhookConfigurationWebhookClientConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ValidatingWebhookConfigurationWebhookClientConfigOutputReference
type ValidatingWebhookConfigurationWebhookClientConfigService ¶
type ValidatingWebhookConfigurationWebhookClientConfigService struct { // `name` is the name of the service. Required. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#name ValidatingWebhookConfiguration#name} Name *string `field:"required" json:"name" yaml:"name"` // `namespace` is the namespace of the service. Required. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#namespace ValidatingWebhookConfiguration#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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#path ValidatingWebhookConfiguration#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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#port ValidatingWebhookConfiguration#port} Port *float64 `field:"optional" json:"port" yaml:"port"` }
type ValidatingWebhookConfigurationWebhookClientConfigServiceOutputReference ¶
type ValidatingWebhookConfigurationWebhookClientConfigServiceOutputReference 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() *ValidatingWebhookConfigurationWebhookClientConfigService SetInternalValue(val *ValidatingWebhookConfigurationWebhookClientConfigService) 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 NewValidatingWebhookConfigurationWebhookClientConfigServiceOutputReference ¶
func NewValidatingWebhookConfigurationWebhookClientConfigServiceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ValidatingWebhookConfigurationWebhookClientConfigServiceOutputReference
type ValidatingWebhookConfigurationWebhookList ¶
type ValidatingWebhookConfigurationWebhookList 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) ValidatingWebhookConfigurationWebhookOutputReference // 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 NewValidatingWebhookConfigurationWebhookList ¶
func NewValidatingWebhookConfigurationWebhookList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ValidatingWebhookConfigurationWebhookList
type ValidatingWebhookConfigurationWebhookNamespaceSelector ¶
type ValidatingWebhookConfigurationWebhookNamespaceSelector struct { // match_expressions block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#match_expressions ValidatingWebhookConfiguration#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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#match_labels ValidatingWebhookConfiguration#match_labels} MatchLabels *map[string]*string `field:"optional" json:"matchLabels" yaml:"matchLabels"` }
type ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressions ¶
type ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressions struct { // The label key that the selector applies to. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#key ValidatingWebhookConfiguration#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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#operator ValidatingWebhookConfiguration#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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#values ValidatingWebhookConfiguration#values} Values *[]*string `field:"optional" json:"values" yaml:"values"` }
type ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList ¶
type ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList 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) ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference // 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 NewValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList ¶
func NewValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList
type ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference ¶
type ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference 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 NewValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference ¶
func NewValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference
type ValidatingWebhookConfigurationWebhookNamespaceSelectorOutputReference ¶
type ValidatingWebhookConfigurationWebhookNamespaceSelectorOutputReference 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() *ValidatingWebhookConfigurationWebhookNamespaceSelector SetInternalValue(val *ValidatingWebhookConfigurationWebhookNamespaceSelector) MatchExpressions() ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList 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 NewValidatingWebhookConfigurationWebhookNamespaceSelectorOutputReference ¶
func NewValidatingWebhookConfigurationWebhookNamespaceSelectorOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ValidatingWebhookConfigurationWebhookNamespaceSelectorOutputReference
type ValidatingWebhookConfigurationWebhookObjectSelector ¶
type ValidatingWebhookConfigurationWebhookObjectSelector struct { // match_expressions block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#match_expressions ValidatingWebhookConfiguration#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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#match_labels ValidatingWebhookConfiguration#match_labels} MatchLabels *map[string]*string `field:"optional" json:"matchLabels" yaml:"matchLabels"` }
type ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressions ¶
type ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressions struct { // The label key that the selector applies to. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#key ValidatingWebhookConfiguration#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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#operator ValidatingWebhookConfiguration#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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#values ValidatingWebhookConfiguration#values} Values *[]*string `field:"optional" json:"values" yaml:"values"` }
type ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList ¶
type ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList 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) ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference // 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 NewValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList ¶
func NewValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList
type ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference ¶
type ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference 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 NewValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference ¶
func NewValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference
type ValidatingWebhookConfigurationWebhookObjectSelectorOutputReference ¶
type ValidatingWebhookConfigurationWebhookObjectSelectorOutputReference 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() *ValidatingWebhookConfigurationWebhookObjectSelector SetInternalValue(val *ValidatingWebhookConfigurationWebhookObjectSelector) MatchExpressions() ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList 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 NewValidatingWebhookConfigurationWebhookObjectSelectorOutputReference ¶
func NewValidatingWebhookConfigurationWebhookObjectSelectorOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ValidatingWebhookConfigurationWebhookObjectSelectorOutputReference
type ValidatingWebhookConfigurationWebhookOutputReference ¶
type ValidatingWebhookConfigurationWebhookOutputReference interface { cdktf.ComplexObject AdmissionReviewVersions() *[]*string SetAdmissionReviewVersions(val *[]*string) AdmissionReviewVersionsInput() *[]*string ClientConfig() ValidatingWebhookConfigurationWebhookClientConfigOutputReference ClientConfigInput() *ValidatingWebhookConfigurationWebhookClientConfig // 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() ValidatingWebhookConfigurationWebhookNamespaceSelectorOutputReference NamespaceSelectorInput() *ValidatingWebhookConfigurationWebhookNamespaceSelector ObjectSelector() ValidatingWebhookConfigurationWebhookObjectSelectorOutputReference ObjectSelectorInput() *ValidatingWebhookConfigurationWebhookObjectSelector Rule() ValidatingWebhookConfigurationWebhookRuleList 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 *ValidatingWebhookConfigurationWebhookClientConfig) PutNamespaceSelector(value *ValidatingWebhookConfigurationWebhookNamespaceSelector) PutObjectSelector(value *ValidatingWebhookConfigurationWebhookObjectSelector) 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 NewValidatingWebhookConfigurationWebhookOutputReference ¶
func NewValidatingWebhookConfigurationWebhookOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ValidatingWebhookConfigurationWebhookOutputReference
type ValidatingWebhookConfigurationWebhookRule ¶
type ValidatingWebhookConfigurationWebhookRule struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#api_groups ValidatingWebhookConfiguration#api_groups}. ApiGroups *[]*string `field:"required" json:"apiGroups" yaml:"apiGroups"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#api_versions ValidatingWebhookConfiguration#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://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#operations ValidatingWebhookConfiguration#operations} Operations *[]*string `field:"required" json:"operations" yaml:"operations"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#resources ValidatingWebhookConfiguration#resources}. Resources *[]*string `field:"required" json:"resources" yaml:"resources"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration#scope ValidatingWebhookConfiguration#scope}. Scope *string `field:"optional" json:"scope" yaml:"scope"` }
type ValidatingWebhookConfigurationWebhookRuleList ¶
type ValidatingWebhookConfigurationWebhookRuleList 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) ValidatingWebhookConfigurationWebhookRuleOutputReference // 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 NewValidatingWebhookConfigurationWebhookRuleList ¶
func NewValidatingWebhookConfigurationWebhookRuleList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ValidatingWebhookConfigurationWebhookRuleList
type ValidatingWebhookConfigurationWebhookRuleOutputReference ¶
type ValidatingWebhookConfigurationWebhookRuleOutputReference 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 NewValidatingWebhookConfigurationWebhookRuleOutputReference ¶
func NewValidatingWebhookConfigurationWebhookRuleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ValidatingWebhookConfigurationWebhookRuleOutputReference
Source Files ¶
- validatingwebhookconfiguration.go
- validatingwebhookconfiguration_ValidatingWebhookConfiguration.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationConfig.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationMetadata.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationMetadataOutputReference.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationMetadataOutputReference__runtime_type_checks.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhook.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookClientConfig.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookClientConfigOutputReference.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookClientConfigOutputReference__runtime_type_checks.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookClientConfigService.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookClientConfigServiceOutputReference.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookClientConfigServiceOutputReference__runtime_type_checks.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookList.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookList__runtime_type_checks.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookNamespaceSelector.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressions.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList__runtime_type_checks.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference__runtime_type_checks.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookNamespaceSelectorOutputReference.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookNamespaceSelectorOutputReference__runtime_type_checks.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookObjectSelector.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressions.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList__runtime_type_checks.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference__runtime_type_checks.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookObjectSelectorOutputReference.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookObjectSelectorOutputReference__runtime_type_checks.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookOutputReference.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookOutputReference__runtime_type_checks.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookRule.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookRuleList.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookRuleList__runtime_type_checks.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookRuleOutputReference.go
- validatingwebhookconfiguration_ValidatingWebhookConfigurationWebhookRuleOutputReference__runtime_type_checks.go
- validatingwebhookconfiguration_ValidatingWebhookConfiguration__runtime_type_checks.go