CfnFunctionProps

class aws_cdk.aws_cloudfront.CfnFunctionProps(*, name, auto_publish=None, function_code=None, function_config=None, function_metadata=None)

Bases: object

Properties for defining a AWS::CloudFront::Function.

Parameters
  • name (str) – AWS::CloudFront::Function.Name.

  • auto_publish (Union[bool, IResolvable, None]) – AWS::CloudFront::Function.AutoPublish.

  • function_code (Optional[str]) – AWS::CloudFront::Function.FunctionCode.

  • function_config (Union[IResolvable, FunctionConfigProperty, None]) – AWS::CloudFront::Function.FunctionConfig.

  • function_metadata (Union[IResolvable, FunctionMetadataProperty, None]) – AWS::CloudFront::Function.FunctionMetadata.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html

Attributes

auto_publish

AWS::CloudFront::Function.AutoPublish.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html#cfn-cloudfront-function-autopublish

Return type

Union[bool, IResolvable, None]

function_code

AWS::CloudFront::Function.FunctionCode.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html#cfn-cloudfront-function-functioncode

Return type

Optional[str]

function_config

AWS::CloudFront::Function.FunctionConfig.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html#cfn-cloudfront-function-functionconfig

Return type

Union[IResolvable, FunctionConfigProperty, None]

function_metadata

AWS::CloudFront::Function.FunctionMetadata.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html#cfn-cloudfront-function-functionmetadata

Return type

Union[IResolvable, FunctionMetadataProperty, None]

name

AWS::CloudFront::Function.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html#cfn-cloudfront-function-name

Return type

str