@studion/infra-code-blocks
Version:
Studion common infra components
21 lines • 900 B
TypeScript
import * as aws from '@pulumi/aws';
import * as pulumi from '@pulumi/pulumi';
import { CacheStrategy } from './types';
export declare namespace LbCacheStrategy {
type Args = {
pathPattern: string;
loadBalancer: pulumi.Input<aws.lb.LoadBalancer>;
};
}
export declare class LbCacheStrategy extends pulumi.ComponentResource implements CacheStrategy {
name: string;
pathPattern: string;
config: aws.types.input.cloudfront.DistributionDefaultCacheBehavior;
cachePolicy: aws.cloudfront.CachePolicy;
responseHeadersPolicy: aws.cloudfront.ResponseHeadersPolicy;
constructor(name: string, args: LbCacheStrategy.Args, opts?: pulumi.ComponentResourceOptions);
private createCachePolicy;
private createResponseHeadersPolicy;
getPathConfig(): aws.types.input.cloudfront.DistributionOrderedCacheBehavior;
}
//# sourceMappingURL=lb-cache-strategy.d.ts.map