Documentation ¶
Index ¶
- func MutatingWebhookConfiguration_IsConstruct(x interface{}) *bool
- func MutatingWebhookConfiguration_TfResourceType() *string
- func NewMutatingWebhookConfigurationMetadataOutputReference_Override(m MutatingWebhookConfigurationMetadataOutputReference, ...)
- func NewMutatingWebhookConfigurationWebhookClientConfigOutputReference_Override(m MutatingWebhookConfigurationWebhookClientConfigOutputReference, ...)
- func NewMutatingWebhookConfigurationWebhookClientConfigServiceOutputReference_Override(m MutatingWebhookConfigurationWebhookClientConfigServiceOutputReference, ...)
- func NewMutatingWebhookConfigurationWebhookList_Override(m MutatingWebhookConfigurationWebhookList, ...)
- func NewMutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList_Override(m MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList, ...)
- func NewMutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference_Override(...)
- func NewMutatingWebhookConfigurationWebhookNamespaceSelectorOutputReference_Override(m MutatingWebhookConfigurationWebhookNamespaceSelectorOutputReference, ...)
- func NewMutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList_Override(m MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList, ...)
- func NewMutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference_Override(...)
- func NewMutatingWebhookConfigurationWebhookObjectSelectorOutputReference_Override(m MutatingWebhookConfigurationWebhookObjectSelectorOutputReference, ...)
- func NewMutatingWebhookConfigurationWebhookOutputReference_Override(m MutatingWebhookConfigurationWebhookOutputReference, ...)
- func NewMutatingWebhookConfigurationWebhookRuleList_Override(m MutatingWebhookConfigurationWebhookRuleList, ...)
- func NewMutatingWebhookConfigurationWebhookRuleOutputReference_Override(m MutatingWebhookConfigurationWebhookRuleOutputReference, ...)
- func NewMutatingWebhookConfiguration_Override(m MutatingWebhookConfiguration, scope constructs.Construct, id *string, ...)
- type MutatingWebhookConfiguration
- type MutatingWebhookConfigurationConfig
- type MutatingWebhookConfigurationMetadata
- type MutatingWebhookConfigurationMetadataOutputReference
- type MutatingWebhookConfigurationWebhook
- type MutatingWebhookConfigurationWebhookClientConfig
- type MutatingWebhookConfigurationWebhookClientConfigOutputReference
- type MutatingWebhookConfigurationWebhookClientConfigService
- type MutatingWebhookConfigurationWebhookClientConfigServiceOutputReference
- type MutatingWebhookConfigurationWebhookList
- type MutatingWebhookConfigurationWebhookNamespaceSelector
- type MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressions
- type MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList
- type MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference
- type MutatingWebhookConfigurationWebhookNamespaceSelectorOutputReference
- type MutatingWebhookConfigurationWebhookObjectSelector
- type MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressions
- type MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList
- type MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference
- type MutatingWebhookConfigurationWebhookObjectSelectorOutputReference
- type MutatingWebhookConfigurationWebhookOutputReference
- type MutatingWebhookConfigurationWebhookRule
- type MutatingWebhookConfigurationWebhookRuleList
- type MutatingWebhookConfigurationWebhookRuleOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MutatingWebhookConfiguration_IsConstruct ¶
func MutatingWebhookConfiguration_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 MutatingWebhookConfiguration_TfResourceType ¶
func MutatingWebhookConfiguration_TfResourceType() *string
func NewMutatingWebhookConfigurationMetadataOutputReference_Override ¶
func NewMutatingWebhookConfigurationMetadataOutputReference_Override(m MutatingWebhookConfigurationMetadataOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMutatingWebhookConfigurationWebhookClientConfigOutputReference_Override ¶
func NewMutatingWebhookConfigurationWebhookClientConfigOutputReference_Override(m MutatingWebhookConfigurationWebhookClientConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMutatingWebhookConfigurationWebhookClientConfigServiceOutputReference_Override ¶
func NewMutatingWebhookConfigurationWebhookClientConfigServiceOutputReference_Override(m MutatingWebhookConfigurationWebhookClientConfigServiceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMutatingWebhookConfigurationWebhookList_Override ¶
func NewMutatingWebhookConfigurationWebhookList_Override(m MutatingWebhookConfigurationWebhookList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewMutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList_Override ¶
func NewMutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList_Override(m MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewMutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference_Override ¶
func NewMutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference_Override(m MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewMutatingWebhookConfigurationWebhookNamespaceSelectorOutputReference_Override ¶
func NewMutatingWebhookConfigurationWebhookNamespaceSelectorOutputReference_Override(m MutatingWebhookConfigurationWebhookNamespaceSelectorOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList_Override ¶
func NewMutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList_Override(m MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewMutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference_Override ¶
func NewMutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference_Override(m MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewMutatingWebhookConfigurationWebhookObjectSelectorOutputReference_Override ¶
func NewMutatingWebhookConfigurationWebhookObjectSelectorOutputReference_Override(m MutatingWebhookConfigurationWebhookObjectSelectorOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMutatingWebhookConfigurationWebhookOutputReference_Override ¶
func NewMutatingWebhookConfigurationWebhookOutputReference_Override(m MutatingWebhookConfigurationWebhookOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewMutatingWebhookConfigurationWebhookRuleList_Override ¶
func NewMutatingWebhookConfigurationWebhookRuleList_Override(m MutatingWebhookConfigurationWebhookRuleList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewMutatingWebhookConfigurationWebhookRuleOutputReference_Override ¶
func NewMutatingWebhookConfigurationWebhookRuleOutputReference_Override(m MutatingWebhookConfigurationWebhookRuleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewMutatingWebhookConfiguration_Override ¶
func NewMutatingWebhookConfiguration_Override(m MutatingWebhookConfiguration, scope constructs.Construct, id *string, config *MutatingWebhookConfigurationConfig)
Create a new {@link https://www.terraform.io/docs/providers/kubernetes/r/mutating_webhook_configuration kubernetes_mutating_webhook_configuration} Resource.
Types ¶
type MutatingWebhookConfiguration ¶
type MutatingWebhookConfiguration 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() MutatingWebhookConfigurationMetadataOutputReference MetadataInput() *MutatingWebhookConfigurationMetadata // 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() MutatingWebhookConfigurationWebhookList 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 *MutatingWebhookConfigurationMetadata) 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/mutating_webhook_configuration kubernetes_mutating_webhook_configuration}.
func NewMutatingWebhookConfiguration ¶
func NewMutatingWebhookConfiguration(scope constructs.Construct, id *string, config *MutatingWebhookConfigurationConfig) MutatingWebhookConfiguration
Create a new {@link https://www.terraform.io/docs/providers/kubernetes/r/mutating_webhook_configuration kubernetes_mutating_webhook_configuration} Resource.
type MutatingWebhookConfigurationConfig ¶
type MutatingWebhookConfigurationConfig 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/mutating_webhook_configuration#metadata MutatingWebhookConfiguration#metadata} Metadata *MutatingWebhookConfigurationMetadata `field:"required" json:"metadata" yaml:"metadata"` // webhook block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/mutating_webhook_configuration#webhook MutatingWebhookConfiguration#webhook} Webhook interface{} `field:"required" json:"webhook" yaml:"webhook"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/mutating_webhook_configuration#id MutatingWebhookConfiguration#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 MutatingWebhookConfigurationMetadata ¶
type MutatingWebhookConfigurationMetadata struct { // An unstructured key value map stored with the mutating 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/mutating_webhook_configuration#annotations MutatingWebhookConfiguration#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/mutating_webhook_configuration#generate_name MutatingWebhookConfiguration#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 mutating 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/mutating_webhook_configuration#labels MutatingWebhookConfiguration#labels} Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"` // Name of the mutating 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/mutating_webhook_configuration#name MutatingWebhookConfiguration#name} Name *string `field:"optional" json:"name" yaml:"name"` }
type MutatingWebhookConfigurationMetadataOutputReference ¶
type MutatingWebhookConfigurationMetadataOutputReference 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() *MutatingWebhookConfigurationMetadata SetInternalValue(val *MutatingWebhookConfigurationMetadata) 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 NewMutatingWebhookConfigurationMetadataOutputReference ¶
func NewMutatingWebhookConfigurationMetadataOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MutatingWebhookConfigurationMetadataOutputReference
type MutatingWebhookConfigurationWebhook ¶
type MutatingWebhookConfigurationWebhook struct { // client_config block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/mutating_webhook_configuration#client_config MutatingWebhookConfiguration#client_config} ClientConfig *MutatingWebhookConfigurationWebhookClientConfig `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/mutating_webhook_configuration#name MutatingWebhookConfiguration#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/mutating_webhook_configuration#admission_review_versions MutatingWebhookConfiguration#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/mutating_webhook_configuration#failure_policy MutatingWebhookConfiguration#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/mutating_webhook_configuration#match_policy MutatingWebhookConfiguration#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/mutating_webhook_configuration#namespace_selector MutatingWebhookConfiguration#namespace_selector} NamespaceSelector *MutatingWebhookConfigurationWebhookNamespaceSelector `field:"optional" json:"namespaceSelector" yaml:"namespaceSelector"` // object_selector block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/mutating_webhook_configuration#object_selector MutatingWebhookConfiguration#object_selector} ObjectSelector *MutatingWebhookConfigurationWebhookObjectSelector `field:"optional" json:"objectSelector" yaml:"objectSelector"` // reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. // // Allowed values are "Never" and "IfNeeded". // // Never: the webhook will not be called more than once in a single admission evaluation. // // IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead. // // Defaults to "Never". // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/mutating_webhook_configuration#reinvocation_policy MutatingWebhookConfiguration#reinvocation_policy} ReinvocationPolicy *string `field:"optional" json:"reinvocationPolicy" yaml:"reinvocationPolicy"` // rule block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/mutating_webhook_configuration#rule MutatingWebhookConfiguration#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/mutating_webhook_configuration#side_effects MutatingWebhookConfiguration#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/mutating_webhook_configuration#timeout_seconds MutatingWebhookConfiguration#timeout_seconds} TimeoutSeconds *float64 `field:"optional" json:"timeoutSeconds" yaml:"timeoutSeconds"` }
type MutatingWebhookConfigurationWebhookClientConfig ¶
type MutatingWebhookConfigurationWebhookClientConfig 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/mutating_webhook_configuration#ca_bundle MutatingWebhookConfiguration#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/mutating_webhook_configuration#service MutatingWebhookConfiguration#service} Service *MutatingWebhookConfigurationWebhookClientConfigService `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/mutating_webhook_configuration#url MutatingWebhookConfiguration#url} Url *string `field:"optional" json:"url" yaml:"url"` }
type MutatingWebhookConfigurationWebhookClientConfigOutputReference ¶
type MutatingWebhookConfigurationWebhookClientConfigOutputReference 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() *MutatingWebhookConfigurationWebhookClientConfig SetInternalValue(val *MutatingWebhookConfigurationWebhookClientConfig) Service() MutatingWebhookConfigurationWebhookClientConfigServiceOutputReference ServiceInput() *MutatingWebhookConfigurationWebhookClientConfigService // 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 *MutatingWebhookConfigurationWebhookClientConfigService) 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 NewMutatingWebhookConfigurationWebhookClientConfigOutputReference ¶
func NewMutatingWebhookConfigurationWebhookClientConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MutatingWebhookConfigurationWebhookClientConfigOutputReference
type MutatingWebhookConfigurationWebhookClientConfigService ¶
type MutatingWebhookConfigurationWebhookClientConfigService struct { // `name` is the name of the service. Required. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/mutating_webhook_configuration#name MutatingWebhookConfiguration#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/mutating_webhook_configuration#namespace MutatingWebhookConfiguration#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/mutating_webhook_configuration#path MutatingWebhookConfiguration#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/mutating_webhook_configuration#port MutatingWebhookConfiguration#port} Port *float64 `field:"optional" json:"port" yaml:"port"` }
type MutatingWebhookConfigurationWebhookClientConfigServiceOutputReference ¶
type MutatingWebhookConfigurationWebhookClientConfigServiceOutputReference 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() *MutatingWebhookConfigurationWebhookClientConfigService SetInternalValue(val *MutatingWebhookConfigurationWebhookClientConfigService) 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 NewMutatingWebhookConfigurationWebhookClientConfigServiceOutputReference ¶
func NewMutatingWebhookConfigurationWebhookClientConfigServiceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MutatingWebhookConfigurationWebhookClientConfigServiceOutputReference
type MutatingWebhookConfigurationWebhookList ¶
type MutatingWebhookConfigurationWebhookList 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) MutatingWebhookConfigurationWebhookOutputReference // 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 NewMutatingWebhookConfigurationWebhookList ¶
func NewMutatingWebhookConfigurationWebhookList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) MutatingWebhookConfigurationWebhookList
type MutatingWebhookConfigurationWebhookNamespaceSelector ¶
type MutatingWebhookConfigurationWebhookNamespaceSelector struct { // match_expressions block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/mutating_webhook_configuration#match_expressions MutatingWebhookConfiguration#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/mutating_webhook_configuration#match_labels MutatingWebhookConfiguration#match_labels} MatchLabels *map[string]*string `field:"optional" json:"matchLabels" yaml:"matchLabels"` }
type MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressions ¶
type MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressions struct { // The label key that the selector applies to. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/mutating_webhook_configuration#key MutatingWebhookConfiguration#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/mutating_webhook_configuration#operator MutatingWebhookConfiguration#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/mutating_webhook_configuration#values MutatingWebhookConfiguration#values} Values *[]*string `field:"optional" json:"values" yaml:"values"` }
type MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList ¶
type MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList 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) MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference // 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 NewMutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList ¶
func NewMutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList
type MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference ¶
type MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference 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 NewMutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference ¶
func NewMutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference
type MutatingWebhookConfigurationWebhookNamespaceSelectorOutputReference ¶
type MutatingWebhookConfigurationWebhookNamespaceSelectorOutputReference 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() *MutatingWebhookConfigurationWebhookNamespaceSelector SetInternalValue(val *MutatingWebhookConfigurationWebhookNamespaceSelector) MatchExpressions() MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList 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 NewMutatingWebhookConfigurationWebhookNamespaceSelectorOutputReference ¶
func NewMutatingWebhookConfigurationWebhookNamespaceSelectorOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MutatingWebhookConfigurationWebhookNamespaceSelectorOutputReference
type MutatingWebhookConfigurationWebhookObjectSelector ¶
type MutatingWebhookConfigurationWebhookObjectSelector struct { // match_expressions block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/mutating_webhook_configuration#match_expressions MutatingWebhookConfiguration#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/mutating_webhook_configuration#match_labels MutatingWebhookConfiguration#match_labels} MatchLabels *map[string]*string `field:"optional" json:"matchLabels" yaml:"matchLabels"` }
type MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressions ¶
type MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressions struct { // The label key that the selector applies to. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/mutating_webhook_configuration#key MutatingWebhookConfiguration#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/mutating_webhook_configuration#operator MutatingWebhookConfiguration#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/mutating_webhook_configuration#values MutatingWebhookConfiguration#values} Values *[]*string `field:"optional" json:"values" yaml:"values"` }
type MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList ¶
type MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList 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) MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference // 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 NewMutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList ¶
func NewMutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList
type MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference ¶
type MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference 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 NewMutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference ¶
func NewMutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference
type MutatingWebhookConfigurationWebhookObjectSelectorOutputReference ¶
type MutatingWebhookConfigurationWebhookObjectSelectorOutputReference 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() *MutatingWebhookConfigurationWebhookObjectSelector SetInternalValue(val *MutatingWebhookConfigurationWebhookObjectSelector) MatchExpressions() MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList 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 NewMutatingWebhookConfigurationWebhookObjectSelectorOutputReference ¶
func NewMutatingWebhookConfigurationWebhookObjectSelectorOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MutatingWebhookConfigurationWebhookObjectSelectorOutputReference
type MutatingWebhookConfigurationWebhookOutputReference ¶
type MutatingWebhookConfigurationWebhookOutputReference interface { cdktf.ComplexObject AdmissionReviewVersions() *[]*string SetAdmissionReviewVersions(val *[]*string) AdmissionReviewVersionsInput() *[]*string ClientConfig() MutatingWebhookConfigurationWebhookClientConfigOutputReference ClientConfigInput() *MutatingWebhookConfigurationWebhookClientConfig // 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() MutatingWebhookConfigurationWebhookNamespaceSelectorOutputReference NamespaceSelectorInput() *MutatingWebhookConfigurationWebhookNamespaceSelector ObjectSelector() MutatingWebhookConfigurationWebhookObjectSelectorOutputReference ObjectSelectorInput() *MutatingWebhookConfigurationWebhookObjectSelector ReinvocationPolicy() *string SetReinvocationPolicy(val *string) ReinvocationPolicyInput() *string Rule() MutatingWebhookConfigurationWebhookRuleList 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 *MutatingWebhookConfigurationWebhookClientConfig) PutNamespaceSelector(value *MutatingWebhookConfigurationWebhookNamespaceSelector) PutObjectSelector(value *MutatingWebhookConfigurationWebhookObjectSelector) PutRule(value interface{}) ResetAdmissionReviewVersions() ResetFailurePolicy() ResetMatchPolicy() ResetNamespaceSelector() ResetObjectSelector() ResetReinvocationPolicy() 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 NewMutatingWebhookConfigurationWebhookOutputReference ¶
func NewMutatingWebhookConfigurationWebhookOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) MutatingWebhookConfigurationWebhookOutputReference
type MutatingWebhookConfigurationWebhookRule ¶
type MutatingWebhookConfigurationWebhookRule struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/mutating_webhook_configuration#api_groups MutatingWebhookConfiguration#api_groups}. ApiGroups *[]*string `field:"required" json:"apiGroups" yaml:"apiGroups"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/mutating_webhook_configuration#api_versions MutatingWebhookConfiguration#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/mutating_webhook_configuration#operations MutatingWebhookConfiguration#operations} Operations *[]*string `field:"required" json:"operations" yaml:"operations"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/mutating_webhook_configuration#resources MutatingWebhookConfiguration#resources}. Resources *[]*string `field:"required" json:"resources" yaml:"resources"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/mutating_webhook_configuration#scope MutatingWebhookConfiguration#scope}. Scope *string `field:"optional" json:"scope" yaml:"scope"` }
type MutatingWebhookConfigurationWebhookRuleList ¶
type MutatingWebhookConfigurationWebhookRuleList 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) MutatingWebhookConfigurationWebhookRuleOutputReference // 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 NewMutatingWebhookConfigurationWebhookRuleList ¶
func NewMutatingWebhookConfigurationWebhookRuleList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) MutatingWebhookConfigurationWebhookRuleList
type MutatingWebhookConfigurationWebhookRuleOutputReference ¶
type MutatingWebhookConfigurationWebhookRuleOutputReference 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 NewMutatingWebhookConfigurationWebhookRuleOutputReference ¶
func NewMutatingWebhookConfigurationWebhookRuleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) MutatingWebhookConfigurationWebhookRuleOutputReference
Source Files ¶
- mutatingwebhookconfiguration.go
- mutatingwebhookconfiguration_MutatingWebhookConfiguration.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationConfig.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationMetadata.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationMetadataOutputReference.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationMetadataOutputReference__runtime_type_checks.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhook.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookClientConfig.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookClientConfigOutputReference.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookClientConfigOutputReference__runtime_type_checks.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookClientConfigService.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookClientConfigServiceOutputReference.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookClientConfigServiceOutputReference__runtime_type_checks.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookList.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookList__runtime_type_checks.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookNamespaceSelector.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressions.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsList__runtime_type_checks.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookNamespaceSelectorMatchExpressionsOutputReference__runtime_type_checks.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookNamespaceSelectorOutputReference.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookNamespaceSelectorOutputReference__runtime_type_checks.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookObjectSelector.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressions.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsList__runtime_type_checks.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookObjectSelectorMatchExpressionsOutputReference__runtime_type_checks.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookObjectSelectorOutputReference.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookObjectSelectorOutputReference__runtime_type_checks.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookOutputReference.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookOutputReference__runtime_type_checks.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookRule.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookRuleList.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookRuleList__runtime_type_checks.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookRuleOutputReference.go
- mutatingwebhookconfiguration_MutatingWebhookConfigurationWebhookRuleOutputReference__runtime_type_checks.go
- mutatingwebhookconfiguration_MutatingWebhookConfiguration__runtime_type_checks.go