1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. cloudfront
  5. getConnectionFunction

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.40.0 published on Thursday, Dec 11, 2025 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.40.0 published on Thursday, Dec 11, 2025 by Pulumi

    Resource Type definition for AWS::CloudFront::ConnectionFunction

    Using getConnectionFunction

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getConnectionFunction(args: GetConnectionFunctionArgs, opts?: InvokeOptions): Promise<GetConnectionFunctionResult>
    function getConnectionFunctionOutput(args: GetConnectionFunctionOutputArgs, opts?: InvokeOptions): Output<GetConnectionFunctionResult>
    def get_connection_function(id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetConnectionFunctionResult
    def get_connection_function_output(id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetConnectionFunctionResult]
    func LookupConnectionFunction(ctx *Context, args *LookupConnectionFunctionArgs, opts ...InvokeOption) (*LookupConnectionFunctionResult, error)
    func LookupConnectionFunctionOutput(ctx *Context, args *LookupConnectionFunctionOutputArgs, opts ...InvokeOption) LookupConnectionFunctionResultOutput

    > Note: This function is named LookupConnectionFunction in the Go SDK.

    public static class GetConnectionFunction 
    {
        public static Task<GetConnectionFunctionResult> InvokeAsync(GetConnectionFunctionArgs args, InvokeOptions? opts = null)
        public static Output<GetConnectionFunctionResult> Invoke(GetConnectionFunctionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetConnectionFunctionResult> getConnectionFunction(GetConnectionFunctionArgs args, InvokeOptions options)
    public static Output<GetConnectionFunctionResult> getConnectionFunction(GetConnectionFunctionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:cloudfront:getConnectionFunction
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The connection function ID.
    Id string
    The connection function ID.
    id String
    The connection function ID.
    id string
    The connection function ID.
    id str
    The connection function ID.
    id String
    The connection function ID.

    getConnectionFunction Result

    The following output properties are available:

    ConnectionFunctionArn string
    The connection function Amazon Resource Name (ARN).
    ConnectionFunctionCode string
    The code for the connection function.
    ConnectionFunctionConfig Pulumi.AwsNative.CloudFront.Outputs.ConnectionFunctionConfig
    Contains configuration information about a CloudFront function.
    CreatedTime string
    The connection function created time.
    ETag string
    A complex type that contains Tag key and Tag value.
    Id string
    The connection function ID.
    LastModifiedTime string
    The connection function last modified time.
    Stage Pulumi.AwsNative.CloudFront.ConnectionFunctionStage
    The connection function stage.
    Status Pulumi.AwsNative.CloudFront.ConnectionFunctionStatus
    The connection function status.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    A complex type that contains zero or more Tag elements.
    ConnectionFunctionArn string
    The connection function Amazon Resource Name (ARN).
    ConnectionFunctionCode string
    The code for the connection function.
    ConnectionFunctionConfig ConnectionFunctionConfig
    Contains configuration information about a CloudFront function.
    CreatedTime string
    The connection function created time.
    ETag string
    A complex type that contains Tag key and Tag value.
    Id string
    The connection function ID.
    LastModifiedTime string
    The connection function last modified time.
    Stage ConnectionFunctionStage
    The connection function stage.
    Status ConnectionFunctionStatus
    The connection function status.
    Tags Tag
    A complex type that contains zero or more Tag elements.
    connectionFunctionArn String
    The connection function Amazon Resource Name (ARN).
    connectionFunctionCode String
    The code for the connection function.
    connectionFunctionConfig ConnectionFunctionConfig
    Contains configuration information about a CloudFront function.
    createdTime String
    The connection function created time.
    eTag String
    A complex type that contains Tag key and Tag value.
    id String
    The connection function ID.
    lastModifiedTime String
    The connection function last modified time.
    stage ConnectionFunctionStage
    The connection function stage.
    status ConnectionFunctionStatus
    The connection function status.
    tags List<Tag>
    A complex type that contains zero or more Tag elements.
    connectionFunctionArn string
    The connection function Amazon Resource Name (ARN).
    connectionFunctionCode string
    The code for the connection function.
    connectionFunctionConfig ConnectionFunctionConfig
    Contains configuration information about a CloudFront function.
    createdTime string
    The connection function created time.
    eTag string
    A complex type that contains Tag key and Tag value.
    id string
    The connection function ID.
    lastModifiedTime string
    The connection function last modified time.
    stage ConnectionFunctionStage
    The connection function stage.
    status ConnectionFunctionStatus
    The connection function status.
    tags Tag[]
    A complex type that contains zero or more Tag elements.
    connection_function_arn str
    The connection function Amazon Resource Name (ARN).
    connection_function_code str
    The code for the connection function.
    connection_function_config ConnectionFunctionConfig
    Contains configuration information about a CloudFront function.
    created_time str
    The connection function created time.
    e_tag str
    A complex type that contains Tag key and Tag value.
    id str
    The connection function ID.
    last_modified_time str
    The connection function last modified time.
    stage ConnectionFunctionStage
    The connection function stage.
    status ConnectionFunctionStatus
    The connection function status.
    tags Sequence[root_Tag]
    A complex type that contains zero or more Tag elements.
    connectionFunctionArn String
    The connection function Amazon Resource Name (ARN).
    connectionFunctionCode String
    The code for the connection function.
    connectionFunctionConfig Property Map
    Contains configuration information about a CloudFront function.
    createdTime String
    The connection function created time.
    eTag String
    A complex type that contains Tag key and Tag value.
    id String
    The connection function ID.
    lastModifiedTime String
    The connection function last modified time.
    stage "DEVELOPMENT" | "LIVE"
    The connection function stage.
    status "UNPUBLISHED" | "DEPLOYED" | "UNASSOCIATED" | "PUBLISHING" | "IN_PROGRESS"
    The connection function status.
    tags List<Property Map>
    A complex type that contains zero or more Tag elements.

    Supporting Types

    ConnectionFunctionConfig

    Comment string
    A comment to describe the function.
    Runtime Pulumi.AwsNative.CloudFront.ConnectionFunctionConfigRuntime
    The function's runtime environment version.
    KeyValueStoreAssociations List<Pulumi.AwsNative.CloudFront.Inputs.ConnectionFunctionKeyValueStoreAssociation>
    The configuration for the key value store associations.
    Comment string
    A comment to describe the function.
    Runtime ConnectionFunctionConfigRuntime
    The function's runtime environment version.
    KeyValueStoreAssociations []ConnectionFunctionKeyValueStoreAssociation
    The configuration for the key value store associations.
    comment String
    A comment to describe the function.
    runtime ConnectionFunctionConfigRuntime
    The function's runtime environment version.
    keyValueStoreAssociations List<ConnectionFunctionKeyValueStoreAssociation>
    The configuration for the key value store associations.
    comment string
    A comment to describe the function.
    runtime ConnectionFunctionConfigRuntime
    The function's runtime environment version.
    keyValueStoreAssociations ConnectionFunctionKeyValueStoreAssociation[]
    The configuration for the key value store associations.
    comment str
    A comment to describe the function.
    runtime ConnectionFunctionConfigRuntime
    The function's runtime environment version.
    key_value_store_associations Sequence[ConnectionFunctionKeyValueStoreAssociation]
    The configuration for the key value store associations.
    comment String
    A comment to describe the function.
    runtime "-js-2.0"
    The function's runtime environment version.
    keyValueStoreAssociations List<Property Map>
    The configuration for the key value store associations.

    ConnectionFunctionConfigRuntime

    ConnectionFunctionKeyValueStoreAssociation

    KeyValueStoreArn string
    The Amazon Resource Name (ARN) of the key value store association.
    KeyValueStoreArn string
    The Amazon Resource Name (ARN) of the key value store association.
    keyValueStoreArn String
    The Amazon Resource Name (ARN) of the key value store association.
    keyValueStoreArn string
    The Amazon Resource Name (ARN) of the key value store association.
    key_value_store_arn str
    The Amazon Resource Name (ARN) of the key value store association.
    keyValueStoreArn String
    The Amazon Resource Name (ARN) of the key value store association.

    ConnectionFunctionStage

    ConnectionFunctionStatus

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.40.0 published on Thursday, Dec 11, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate