cdk8s
Version:
This is the core library of Cloud Development Kit (CDK) for Kubernetes (cdk8s). cdk8s apps synthesize into standard Kubernetes manifests which can be applied to any Kubernetes cluster.
25 lines (24 loc) • 711 B
TypeScript
import { Construct } from 'constructs';
import { ApiObject } from './api-object';
export interface IncludeProps {
/**
* Local file path or URL which includes a Kubernetes YAML manifest.
*
* @example mymanifest.yaml
*/
readonly url: string;
}
/**
* Reads a YAML manifest from a file or a URL and defines all resources as API
* objects within the defined scope.
*
* The names (`metadata.name`) of imported resources will be preserved as-is
* from the manifest.
*/
export declare class Include extends Construct {
constructor(scope: Construct, id: string, props: IncludeProps);
/**
* Returns all the included API objects.
*/
get apiObjects(): ApiObject[];
}