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< ? keyValueStoreAssociations, Input<String> ?>String?> ? liveStageEtag, Input<String?> ? name, Input<bool?> ? publish, Input<String?> ? runtime, Input<String?> ? status, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll})String, String> ?> -
Creates a new FunctionState.
arnARN identifying your CloudFront Function.codeSource code of the function. Must be between 1 and 40960 bytes.commentComment. Must not exceed 128 characters.etagETag hash of the function. This is the value for theDEVELOPMENTstage of the function.keyValueStoreAssociationsList ofaws.cloudfront.KeyValueStoreARNs to be associated to the function. AWS limits associations to one key value store per function.liveStageEtagETag hash of anyLIVEstage of the function.nameUnique name for your CloudFront Function. Valid names contain only alphanumeric characters, hyphens, and underscores, and must be between 1 and 64 characters.publishWhether to publish creation/change as Live CloudFront Function Version. Defaults totrue.runtimeIdentifier of the function's runtime. Valid values arecloudfront-js-1.0andcloudfront-js-2.0.statusStatus of the function. Can beUNPUBLISHED,UNASSOCIATEDorASSOCIATED.tagsMap of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllMap of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration 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
DEVELOPMENTstage of the function.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
keyValueStoreAssociations
→ Input<
List< ?String> ?> -
List of
aws.cloudfront.KeyValueStoreARNs to be associated to the function. AWS limits associations to one key value store per function.final -
liveStageEtag
→ Input<
String?> ? -
ETag hash of any
LIVEstage 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.0andcloudfront-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,UNASSOCIATEDorASSOCIATED.final -
Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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