FunctionState class

Input properties used for looking up and filtering Function resources.

Constructors

FunctionState({Input<String?>? arn, Input<String?>? code, Input<String?>? comment, Input<String?>? etag, Input<List<String>?>? keyValueStoreAssociations, Input<String?>? liveStageEtag, Input<String?>? name, Input<bool?>? publish, Input<String?>? runtime, Input<String?>? status, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll})
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.
const
FunctionState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
ARN identifying your CloudFront Function.
final
code → Input<String?>?
Source code of the function. Must be between 1 and 40960 bytes.
final
comment → Input<String?>?
Comment. Must not exceed 128 characters.
final
etag → Input<String?>?
ETag hash of the function. This is the value for the DEVELOPMENT stage of the function.
final
hashCode → int
The hash code for this object.
no setterinherited
keyValueStoreAssociations → Input<List<String>?>?
List of aws.cloudfront.KeyValueStore ARNs to be associated to the function. AWS limits associations to one key value store per function.
final
liveStageEtag → Input<String?>?
ETag hash of any LIVE stage of the function.
final
name → Input<String?>?
Unique name for your CloudFront Function. Valid names contain only alphanumeric characters, hyphens, and underscores, and must be between 1 and 64 characters.
final
publish → Input<bool?>?
Whether to publish creation/change as Live CloudFront Function Version. Defaults to true.
final
runtime → Input<String?>?
Identifier of the function's runtime. Valid values are cloudfront-js-1.0 and cloudfront-js-2.0.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → Input<String?>?
Status of the function. Can be UNPUBLISHED, UNASSOCIATED or ASSOCIATED.
final
tags → Input<Map<String, String>?>?
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.
final
tagsAll → Input<Map<String, String>?>?
Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited