UNPKG

cdktf-crd

Version:
42 lines (41 loc) 2.08 kB
import { Construct } from "constructs"; import { Manifest, type ManifestConfig } from "@cdktn/provider-kubernetes/lib/manifest"; export declare class NetworkingGkeIoNetworkLoggingV1alpha1 extends Manifest { constructor(scope: Construct, id: string, config: NetworkingGkeIoNetworkLoggingV1alpha1Config); } export interface NetworkingGkeIoNetworkLoggingV1alpha1Config extends ManifestConfig { manifest: { apiVersion: "networking.gke.io/v1alpha1"; kind: "NetworkLogging"; metadata: { annotations?: { [key: string]: string; }; labels?: { [key: string]: string; }; name: string; namespace?: string; }; /** @description Spec is the desired configuration for network logging. */ spec?: { /** @description Cluster specifies the log options for cluster-level network logging. */ cluster?: { /** @description Allow specifies the log action for policy-allowed connections. */ allow?: { /** @description Delegate can only be true if Log is true. Log:false, Delegate:true is invalid. If Delegate is true, logging will be controlled by the annotation of matching network policies. */ delegate?: boolean; /** @description Log specifies if logging is enabled or not. The default value is false. */ log?: boolean; }; /** @description Deny specifies the log action for policy-denied connections. */ deny?: { /** @description Delegate can only be true if Log is true. Log:false, Delegate:true is invalid. If Delegate is true, logging will be controlled by the annotation of the pod's namespace. */ delegate?: boolean; /** @description Log specifies if logging is enabled or not. The default value is false. */ log?: boolean; }; }; }; }; }