published on Thursday, Sep 10, 2026 by Pulumi
published on Thursday, Sep 10, 2026 by Pulumi
Provides a CloudFront Function resource. With CloudFront Functions in Amazon CloudFront, you can write lightweight functions in JavaScript for high-scale, latency-sensitive CDN customizations.
NOTE: You cannot delete a function if it’s associated with a cache behavior. First, update your distributions to remove the function association from all cache behaviors, then delete the function.
Example Usage
Create Function Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Function(name: string, args: FunctionArgs, opts?: CustomResourceOptions);@overload
def Function(resource_name: str,
args: FunctionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Function(resource_name: str,
opts: Optional[ResourceOptions] = None,
code: Optional[str] = None,
runtime: Optional[str] = None,
comment: Optional[str] = None,
key_value_store_associations: Optional[Sequence[str]] = None,
name: Optional[str] = None,
publish: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None)func NewFunction(ctx *Context, name string, args FunctionArgs, opts ...ResourceOption) (*Function, error)public Function(string name, FunctionArgs args, CustomResourceOptions? opts = null)
public Function(String name, FunctionArgs args)
public Function(String name, FunctionArgs args, CustomResourceOptions options)
type: aws:cloudfront:Function
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_cloudfront_function" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args FunctionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FunctionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FunctionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FunctionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FunctionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var awsFunctionResource = new Aws.CloudFront.Function("awsFunctionResource", new()
{
Code = "string",
Runtime = "string",
Comment = "string",
KeyValueStoreAssociations = new[]
{
"string",
},
Name = "string",
Publish = false,
Tags =
{
{ "string", "string" },
},
});
example, err := cloudfront.NewFunction(ctx, "awsFunctionResource", &cloudfront.FunctionArgs{
Code: pulumi.String("string"),
Runtime: pulumi.String("string"),
Comment: pulumi.String("string"),
KeyValueStoreAssociations: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
Publish: pulumi.Bool(false),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
resource "aws_cloudfront_function" "awsFunctionResource" {
lifecycle {
create_before_destroy = true
}
code = "string"
runtime = "string"
comment = "string"
key_value_store_associations = ["string"]
name = "string"
publish = false
tags = {
"string" = "string"
}
}
var awsFunctionResource = new com.pulumi.aws.cloudfront.Function("awsFunctionResource", com.pulumi.aws.cloudfront.FunctionArgs.builder()
.code("string")
.runtime("string")
.comment("string")
.keyValueStoreAssociations("string")
.name("string")
.publish(false)
.tags(Map.of("string", "string"))
.build());
aws_function_resource = aws.cloudfront.Function("awsFunctionResource",
code="string",
runtime="string",
comment="string",
key_value_store_associations=["string"],
name="string",
publish=False,
tags={
"string": "string",
})
const awsFunctionResource = new aws.cloudfront.Function("awsFunctionResource", {
code: "string",
runtime: "string",
comment: "string",
keyValueStoreAssociations: ["string"],
name: "string",
publish: false,
tags: {
string: "string",
},
});
type: aws:cloudfront:Function
properties:
code: string
comment: string
keyValueStoreAssociations:
- string
name: string
publish: false
runtime: string
tags:
string: string
Function Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Function resource accepts the following input properties:
- Code string
- Source code of the function. Must be between 1 and 40960 bytes.
- Runtime string
Identifier of the function's runtime. Valid values are
cloudfront-js-1.0andcloudfront-js-2.0.The following arguments are optional:
- Comment string
- Comment. Must not exceed 128 characters.
- Key
Value List<string>Store Associations - List of
aws.cloudfront.KeyValueStoreARNs to be associated to the function. AWS limits associations to one key value store per function. - Name string
- Unique name for your CloudFront Function. Valid names contain only alphanumeric characters, hyphens, and underscores, and must be between 1 and 64 characters.
- Publish bool
- Whether to publish creation/change as Live CloudFront Function Version. Defaults to
true. - Dictionary<string, string>
- 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.
- Code string
- Source code of the function. Must be between 1 and 40960 bytes.
- Runtime string
Identifier of the function's runtime. Valid values are
cloudfront-js-1.0andcloudfront-js-2.0.The following arguments are optional:
- Comment string
- Comment. Must not exceed 128 characters.
- Key
Value []stringStore Associations - List of
aws.cloudfront.KeyValueStoreARNs to be associated to the function. AWS limits associations to one key value store per function. - Name string
- Unique name for your CloudFront Function. Valid names contain only alphanumeric characters, hyphens, and underscores, and must be between 1 and 64 characters.
- Publish bool
- Whether to publish creation/change as Live CloudFront Function Version. Defaults to
true. - map[string]string
- 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.
- code string
- Source code of the function. Must be between 1 and 40960 bytes.
- runtime string
Identifier of the function's runtime. Valid values are
cloudfront-js-1.0andcloudfront-js-2.0.The following arguments are optional:
- comment string
- Comment. Must not exceed 128 characters.
- key_
value_ list(string)store_ associations - List of
aws.cloudfront.KeyValueStoreARNs to be associated to the function. AWS limits associations to one key value store per function. - name string
- Unique name for your CloudFront Function. Valid names contain only alphanumeric characters, hyphens, and underscores, and must be between 1 and 64 characters.
- publish bool
- Whether to publish creation/change as Live CloudFront Function Version. Defaults to
true. - map(string)
- 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.
- code String
- Source code of the function. Must be between 1 and 40960 bytes.
- runtime String
Identifier of the function's runtime. Valid values are
cloudfront-js-1.0andcloudfront-js-2.0.The following arguments are optional:
- comment String
- Comment. Must not exceed 128 characters.
- key
Value List<String>Store Associations - List of
aws.cloudfront.KeyValueStoreARNs to be associated to the function. AWS limits associations to one key value store per function. - name String
- Unique name for your CloudFront Function. Valid names contain only alphanumeric characters, hyphens, and underscores, and must be between 1 and 64 characters.
- publish Boolean
- Whether to publish creation/change as Live CloudFront Function Version. Defaults to
true. - Map<String,String>
- 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.
- code string
- Source code of the function. Must be between 1 and 40960 bytes.
- runtime string
Identifier of the function's runtime. Valid values are
cloudfront-js-1.0andcloudfront-js-2.0.The following arguments are optional:
- comment string
- Comment. Must not exceed 128 characters.
- key
Value string[]Store Associations - List of
aws.cloudfront.KeyValueStoreARNs to be associated to the function. AWS limits associations to one key value store per function. - name string
- Unique name for your CloudFront Function. Valid names contain only alphanumeric characters, hyphens, and underscores, and must be between 1 and 64 characters.
- publish boolean
- Whether to publish creation/change as Live CloudFront Function Version. Defaults to
true. - {[key: string]: string}
- 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.
- code str
- Source code of the function. Must be between 1 and 40960 bytes.
- runtime str
Identifier of the function's runtime. Valid values are
cloudfront-js-1.0andcloudfront-js-2.0.The following arguments are optional:
- comment str
- Comment. Must not exceed 128 characters.
- key_
value_ Sequence[str]store_ associations - List of
aws.cloudfront.KeyValueStoreARNs to be associated to the function. AWS limits associations to one key value store per function. - name str
- Unique name for your CloudFront Function. Valid names contain only alphanumeric characters, hyphens, and underscores, and must be between 1 and 64 characters.
- publish bool
- Whether to publish creation/change as Live CloudFront Function Version. Defaults to
true. - Mapping[str, str]
- 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.
- code String
- Source code of the function. Must be between 1 and 40960 bytes.
- runtime String
Identifier of the function's runtime. Valid values are
cloudfront-js-1.0andcloudfront-js-2.0.The following arguments are optional:
- comment String
- Comment. Must not exceed 128 characters.
- key
Value List<String>Store Associations - List of
aws.cloudfront.KeyValueStoreARNs to be associated to the function. AWS limits associations to one key value store per function. - name String
- Unique name for your CloudFront Function. Valid names contain only alphanumeric characters, hyphens, and underscores, and must be between 1 and 64 characters.
- publish Boolean
- Whether to publish creation/change as Live CloudFront Function Version. Defaults to
true. - Map<String>
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Function resource produces the following output properties:
- Arn string
- ARN identifying your CloudFront Function.
- Etag string
- ETag hash of the function. This is the value for the
DEVELOPMENTstage of the function. - Id string
- The provider-assigned unique ID for this managed resource.
- Live
Stage stringEtag - ETag hash of any
LIVEstage of the function. - Status string
- Status of the function. Can be
UNPUBLISHED,UNASSOCIATEDorASSOCIATED. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- Arn string
- ARN identifying your CloudFront Function.
- Etag string
- ETag hash of the function. This is the value for the
DEVELOPMENTstage of the function. - Id string
- The provider-assigned unique ID for this managed resource.
- Live
Stage stringEtag - ETag hash of any
LIVEstage of the function. - Status string
- Status of the function. Can be
UNPUBLISHED,UNASSOCIATEDorASSOCIATED. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN identifying your CloudFront Function.
- etag string
- ETag hash of the function. This is the value for the
DEVELOPMENTstage of the function. - id string
- The provider-assigned unique ID for this managed resource.
- live_
stage_ stringetag - ETag hash of any
LIVEstage of the function. - status string
- Status of the function. Can be
UNPUBLISHED,UNASSOCIATEDorASSOCIATED. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN identifying your CloudFront Function.
- etag String
- ETag hash of the function. This is the value for the
DEVELOPMENTstage of the function. - id String
- The provider-assigned unique ID for this managed resource.
- live
Stage StringEtag - ETag hash of any
LIVEstage of the function. - status String
- Status of the function. Can be
UNPUBLISHED,UNASSOCIATEDorASSOCIATED. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN identifying your CloudFront Function.
- etag string
- ETag hash of the function. This is the value for the
DEVELOPMENTstage of the function. - id string
- The provider-assigned unique ID for this managed resource.
- live
Stage stringEtag - ETag hash of any
LIVEstage of the function. - status string
- Status of the function. Can be
UNPUBLISHED,UNASSOCIATEDorASSOCIATED. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn str
- ARN identifying your CloudFront Function.
- etag str
- ETag hash of the function. This is the value for the
DEVELOPMENTstage of the function. - id str
- The provider-assigned unique ID for this managed resource.
- live_
stage_ stretag - ETag hash of any
LIVEstage of the function. - status str
- Status of the function. Can be
UNPUBLISHED,UNASSOCIATEDorASSOCIATED. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN identifying your CloudFront Function.
- etag String
- ETag hash of the function. This is the value for the
DEVELOPMENTstage of the function. - id String
- The provider-assigned unique ID for this managed resource.
- live
Stage StringEtag - ETag hash of any
LIVEstage of the function. - status String
- Status of the function. Can be
UNPUBLISHED,UNASSOCIATEDorASSOCIATED. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
Look up Existing Function Resource
Get an existing Function resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FunctionState, opts?: CustomResourceOptions): Function@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
code: Optional[str] = None,
comment: Optional[str] = None,
etag: Optional[str] = None,
key_value_store_associations: Optional[Sequence[str]] = None,
live_stage_etag: Optional[str] = None,
name: Optional[str] = None,
publish: Optional[bool] = None,
runtime: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> Functionfunc GetFunction(ctx *Context, name string, id IDInput, state *FunctionState, opts ...ResourceOption) (*Function, error)public static Function Get(string name, Input<string> id, FunctionState? state, CustomResourceOptions? opts = null)public static Function get(String name, Output<String> id, FunctionState state, CustomResourceOptions options)resources: _: type: aws:cloudfront:Function get: id: ${id}import {
to = aws_cloudfront_function.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN identifying your CloudFront Function.
- Code string
- Source code of the function. Must be between 1 and 40960 bytes.
- Comment string
- Comment. Must not exceed 128 characters.
- Etag string
- ETag hash of the function. This is the value for the
DEVELOPMENTstage of the function. - Key
Value List<string>Store Associations - List of
aws.cloudfront.KeyValueStoreARNs to be associated to the function. AWS limits associations to one key value store per function. - Live
Stage stringEtag - ETag hash of any
LIVEstage of the function. - Name string
- Unique name for your CloudFront Function. Valid names contain only alphanumeric characters, hyphens, and underscores, and must be between 1 and 64 characters.
- Publish bool
- Whether to publish creation/change as Live CloudFront Function Version. Defaults to
true. - Runtime string
Identifier of the function's runtime. Valid values are
cloudfront-js-1.0andcloudfront-js-2.0.The following arguments are optional:
- Status string
- Status of the function. Can be
UNPUBLISHED,UNASSOCIATEDorASSOCIATED. - Dictionary<string, string>
- 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. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- Arn string
- ARN identifying your CloudFront Function.
- Code string
- Source code of the function. Must be between 1 and 40960 bytes.
- Comment string
- Comment. Must not exceed 128 characters.
- Etag string
- ETag hash of the function. This is the value for the
DEVELOPMENTstage of the function. - Key
Value []stringStore Associations - List of
aws.cloudfront.KeyValueStoreARNs to be associated to the function. AWS limits associations to one key value store per function. - Live
Stage stringEtag - ETag hash of any
LIVEstage of the function. - Name string
- Unique name for your CloudFront Function. Valid names contain only alphanumeric characters, hyphens, and underscores, and must be between 1 and 64 characters.
- Publish bool
- Whether to publish creation/change as Live CloudFront Function Version. Defaults to
true. - Runtime string
Identifier of the function's runtime. Valid values are
cloudfront-js-1.0andcloudfront-js-2.0.The following arguments are optional:
- Status string
- Status of the function. Can be
UNPUBLISHED,UNASSOCIATEDorASSOCIATED. - map[string]string
- 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. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN identifying your CloudFront Function.
- code string
- Source code of the function. Must be between 1 and 40960 bytes.
- comment string
- Comment. Must not exceed 128 characters.
- etag string
- ETag hash of the function. This is the value for the
DEVELOPMENTstage of the function. - key_
value_ list(string)store_ associations - List of
aws.cloudfront.KeyValueStoreARNs to be associated to the function. AWS limits associations to one key value store per function. - live_
stage_ stringetag - ETag hash of any
LIVEstage of the function. - name string
- Unique name for your CloudFront Function. Valid names contain only alphanumeric characters, hyphens, and underscores, and must be between 1 and 64 characters.
- publish bool
- Whether to publish creation/change as Live CloudFront Function Version. Defaults to
true. - runtime string
Identifier of the function's runtime. Valid values are
cloudfront-js-1.0andcloudfront-js-2.0.The following arguments are optional:
- status string
- Status of the function. Can be
UNPUBLISHED,UNASSOCIATEDorASSOCIATED. - map(string)
- 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. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN identifying your CloudFront Function.
- code String
- Source code of the function. Must be between 1 and 40960 bytes.
- comment String
- Comment. Must not exceed 128 characters.
- etag String
- ETag hash of the function. This is the value for the
DEVELOPMENTstage of the function. - key
Value List<String>Store Associations - List of
aws.cloudfront.KeyValueStoreARNs to be associated to the function. AWS limits associations to one key value store per function. - live
Stage StringEtag - ETag hash of any
LIVEstage of the function. - name String
- Unique name for your CloudFront Function. Valid names contain only alphanumeric characters, hyphens, and underscores, and must be between 1 and 64 characters.
- publish Boolean
- Whether to publish creation/change as Live CloudFront Function Version. Defaults to
true. - runtime String
Identifier of the function's runtime. Valid values are
cloudfront-js-1.0andcloudfront-js-2.0.The following arguments are optional:
- status String
- Status of the function. Can be
UNPUBLISHED,UNASSOCIATEDorASSOCIATED. - Map<String,String>
- 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. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN identifying your CloudFront Function.
- code string
- Source code of the function. Must be between 1 and 40960 bytes.
- comment string
- Comment. Must not exceed 128 characters.
- etag string
- ETag hash of the function. This is the value for the
DEVELOPMENTstage of the function. - key
Value string[]Store Associations - List of
aws.cloudfront.KeyValueStoreARNs to be associated to the function. AWS limits associations to one key value store per function. - live
Stage stringEtag - ETag hash of any
LIVEstage of the function. - name string
- Unique name for your CloudFront Function. Valid names contain only alphanumeric characters, hyphens, and underscores, and must be between 1 and 64 characters.
- publish boolean
- Whether to publish creation/change as Live CloudFront Function Version. Defaults to
true. - runtime string
Identifier of the function's runtime. Valid values are
cloudfront-js-1.0andcloudfront-js-2.0.The following arguments are optional:
- status string
- Status of the function. Can be
UNPUBLISHED,UNASSOCIATEDorASSOCIATED. - {[key: string]: string}
- 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. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn str
- ARN identifying your CloudFront Function.
- code str
- Source code of the function. Must be between 1 and 40960 bytes.
- comment str
- Comment. Must not exceed 128 characters.
- etag str
- ETag hash of the function. This is the value for the
DEVELOPMENTstage of the function. - key_
value_ Sequence[str]store_ associations - List of
aws.cloudfront.KeyValueStoreARNs to be associated to the function. AWS limits associations to one key value store per function. - live_
stage_ stretag - ETag hash of any
LIVEstage of the function. - name str
- Unique name for your CloudFront Function. Valid names contain only alphanumeric characters, hyphens, and underscores, and must be between 1 and 64 characters.
- publish bool
- Whether to publish creation/change as Live CloudFront Function Version. Defaults to
true. - runtime str
Identifier of the function's runtime. Valid values are
cloudfront-js-1.0andcloudfront-js-2.0.The following arguments are optional:
- status str
- Status of the function. Can be
UNPUBLISHED,UNASSOCIATEDorASSOCIATED. - Mapping[str, str]
- 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. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN identifying your CloudFront Function.
- code String
- Source code of the function. Must be between 1 and 40960 bytes.
- comment String
- Comment. Must not exceed 128 characters.
- etag String
- ETag hash of the function. This is the value for the
DEVELOPMENTstage of the function. - key
Value List<String>Store Associations - List of
aws.cloudfront.KeyValueStoreARNs to be associated to the function. AWS limits associations to one key value store per function. - live
Stage StringEtag - ETag hash of any
LIVEstage of the function. - name String
- Unique name for your CloudFront Function. Valid names contain only alphanumeric characters, hyphens, and underscores, and must be between 1 and 64 characters.
- publish Boolean
- Whether to publish creation/change as Live CloudFront Function Version. Defaults to
true. - runtime String
Identifier of the function's runtime. Valid values are
cloudfront-js-1.0andcloudfront-js-2.0.The following arguments are optional:
- status String
- Status of the function. Can be
UNPUBLISHED,UNASSOCIATEDorASSOCIATED. - Map<String>
- 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. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
Import
Using pulumi import, import CloudFront Functions using the name. For example:
$ pulumi import aws:cloudfront/function:Function test my_test_function
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Thursday, Sep 10, 2026 by Pulumi