FunctionState constructor
- Input<
String?> ? arn, - Input<
String?> ? code, - Input<
String?> ? comment, - Input<
String?> ? etag, - Input<
List< ? keyValueStoreAssociations,String> ?> - Input<
String?> ? liveStageEtag, - Input<
String?> ? name, - Input<
bool?> ? publish, - Input<
String?> ? runtime, - Input<
String?> ? status, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?>
Creates a new FunctionState.
arn ARN identifying your CloudFront Function.
code Source code of the function. Must be between 1 and 40960 bytes.
comment Comment. Must not exceed 128 characters.
etag ETag hash of the function. This is the value for the DEVELOPMENT stage of the function.
keyValueStoreAssociations List of aws.cloudfront.KeyValueStore ARNs to be associated to the function. AWS limits associations to one key value store per function.
liveStageEtag ETag hash of any LIVE stage of the function.
name Unique name for your CloudFront Function. Valid names contain only alphanumeric characters, hyphens, and underscores, and must be between 1 and 64 characters.
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.
status Status of the function. Can be UNPUBLISHED, UNASSOCIATED or ASSOCIATED.
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.
tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
Implementation
const FunctionState({
this.arn,
this.code,
this.comment,
this.etag,
this.keyValueStoreAssociations,
this.liveStageEtag,
this.name,
this.publish,
this.runtime,
this.status,
this.tags,
this.tagsAll,
});