typed-aws
Version:
Helps you write AWS CloudFormation in TypeScript
65 lines (64 loc) • 2.71 kB
TypeScript
import { CfnResource, Resolvable } from '../../base';
export declare type Function_Type = 'AWS::CloudFront::Function';
export declare const Function_Type = "AWS::CloudFront::Function";
/**
* Resource Type definition for AWS::CloudFront::Function {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html}
*/
export default function Function(props: Function_Properties): CfnResource<Function_Properties>;
/**
* Resource Type definition for AWS::CloudFront::Function {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html}
*/
export declare type Function_Properties = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html#cfn-cloudfront-function-autopublish}
*/
AutoPublish?: Resolvable<boolean>;
FunctionARN?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html#cfn-cloudfront-function-functioncode}
*/
FunctionCode?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html#cfn-cloudfront-function-functionconfig}
*/
FunctionConfig?: FunctionConfig;
FunctionMetadata?: FunctionMetadata;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html#cfn-cloudfront-function-name}
*/
Name: Resolvable<string>;
Stage?: Resolvable<string>;
};
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-function-functionconfig.html}
*/
export declare type FunctionConfig = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-function-functionconfig.html#cfn-cloudfront-function-functionconfig-comment}
*/
Comment: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-function-functionconfig.html#cfn-cloudfront-function-functionconfig-runtime}
*/
Runtime: Resolvable<string>;
};
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-function-functionmetadata.html}
*/
export declare type FunctionMetadata = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-function-functionmetadata.html#cfn-cloudfront-function-functionmetadata-functionarn}
*/
FunctionARN?: Resolvable<string>;
};