FunctionArgs constructor
const
FunctionArgs({})
Creates a new FunctionArgs.
code Source code of the function
comment Comment.
keyValueStoreAssociations List of aws.cloudfront.KeyValueStore ARNs to be associated to the function. AWS limits associations to one key value store per function.
name Unique name for your CloudFront Function.
publish Whether to publish creation/change as Live CloudFront Function Version. Defaults to true.
runtime Identifier of the function's runtime. Valid values are cloudfront-js-1.0 and cloudfront-js-2.0.
tags Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Implementation
const FunctionArgs({
required this.code,
this.comment,
this.keyValueStoreAssociations,
this.name,
this.publish,
required this.runtime,
this.tags,
});