FunctionArgs constructor

const FunctionArgs({
  1. required Input<String> code,
  2. Input<String>? comment,
  3. Input<List<String>>? keyValueStoreAssociations,
  4. Input<String>? name,
  5. Input<bool>? publish,
  6. required Input<String> runtime,
  7. Input<Map<String, String>>? tags,
})

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,
});