We recommend new projects start with resources from the AWS provider.
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::CloudFront::ConnectionFunction
Create ConnectionFunction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConnectionFunction(name: string, args: ConnectionFunctionArgs, opts?: CustomResourceOptions);@overload
def ConnectionFunction(resource_name: str,
args: ConnectionFunctionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConnectionFunction(resource_name: str,
opts: Optional[ResourceOptions] = None,
connection_function_code: Optional[str] = None,
connection_function_config: Optional[ConnectionFunctionConfigArgs] = None,
auto_publish: Optional[bool] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewConnectionFunction(ctx *Context, name string, args ConnectionFunctionArgs, opts ...ResourceOption) (*ConnectionFunction, error)public ConnectionFunction(string name, ConnectionFunctionArgs args, CustomResourceOptions? opts = null)
public ConnectionFunction(String name, ConnectionFunctionArgs args)
public ConnectionFunction(String name, ConnectionFunctionArgs args, CustomResourceOptions options)
type: aws-native:cloudfront:ConnectionFunction
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ConnectionFunctionArgs
- 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 ConnectionFunctionArgs
- 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 ConnectionFunctionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectionFunctionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectionFunctionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ConnectionFunction 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 ConnectionFunction resource accepts the following input properties:
- Connection
Function stringCode - The code for the connection function.
- Connection
Function Pulumi.Config Aws Native. Cloud Front. Inputs. Connection Function Config - Contains configuration information about a CloudFront function.
- Auto
Publish bool - A flag that determines whether to automatically publish the function to the
LIVEstage when it’s created. To automatically publish to theLIVEstage, set this property totrue. - Name string
- The connection function name.
-
List<Pulumi.
Aws Native. Inputs. Tag> - A complex type that contains zero or more
Tagelements.
- Connection
Function stringCode - The code for the connection function.
- Connection
Function ConnectionConfig Function Config Args - Contains configuration information about a CloudFront function.
- Auto
Publish bool - A flag that determines whether to automatically publish the function to the
LIVEstage when it’s created. To automatically publish to theLIVEstage, set this property totrue. - Name string
- The connection function name.
-
Tag
Args - A complex type that contains zero or more
Tagelements.
- connection
Function StringCode - The code for the connection function.
- connection
Function ConnectionConfig Function Config - Contains configuration information about a CloudFront function.
- auto
Publish Boolean - A flag that determines whether to automatically publish the function to the
LIVEstage when it’s created. To automatically publish to theLIVEstage, set this property totrue. - name String
- The connection function name.
- List<Tag>
- A complex type that contains zero or more
Tagelements.
- connection
Function stringCode - The code for the connection function.
- connection
Function ConnectionConfig Function Config - Contains configuration information about a CloudFront function.
- auto
Publish boolean - A flag that determines whether to automatically publish the function to the
LIVEstage when it’s created. To automatically publish to theLIVEstage, set this property totrue. - name string
- The connection function name.
- Tag[]
- A complex type that contains zero or more
Tagelements.
- connection_
function_ strcode - The code for the connection function.
- connection_
function_ Connectionconfig Function Config Args - Contains configuration information about a CloudFront function.
- auto_
publish bool - A flag that determines whether to automatically publish the function to the
LIVEstage when it’s created. To automatically publish to theLIVEstage, set this property totrue. - name str
- The connection function name.
-
Sequence[Tag
Args] - A complex type that contains zero or more
Tagelements.
- connection
Function StringCode - The code for the connection function.
- connection
Function Property MapConfig - Contains configuration information about a CloudFront function.
- auto
Publish Boolean - A flag that determines whether to automatically publish the function to the
LIVEstage when it’s created. To automatically publish to theLIVEstage, set this property totrue. - name String
- The connection function name.
- List<Property Map>
- A complex type that contains zero or more
Tagelements.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectionFunction resource produces the following output properties:
- Aws
Id string - The connection function ID.
- Connection
Function stringArn - The connection function Amazon Resource Name (ARN).
- Created
Time string - The connection function created time.
- ETag string
- A complex type that contains
Tagkey andTagvalue. - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringTime - The connection function last modified time.
- Stage
Pulumi.
Aws Native. Cloud Front. Connection Function Stage - The connection function stage.
- Status
Pulumi.
Aws Native. Cloud Front. Connection Function Status - The connection function status.
- Aws
Id string - The connection function ID.
- Connection
Function stringArn - The connection function Amazon Resource Name (ARN).
- Created
Time string - The connection function created time.
- ETag string
- A complex type that contains
Tagkey andTagvalue. - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringTime - The connection function last modified time.
- Stage
Connection
Function Stage - The connection function stage.
- Status
Connection
Function Status - The connection function status.
- aws
Id String - The connection function ID.
- connection
Function StringArn - The connection function Amazon Resource Name (ARN).
- created
Time String - The connection function created time.
- e
Tag String - A complex type that contains
Tagkey andTagvalue. - id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringTime - The connection function last modified time.
- stage
Connection
Function Stage - The connection function stage.
- status
Connection
Function Status - The connection function status.
- aws
Id string - The connection function ID.
- connection
Function stringArn - The connection function Amazon Resource Name (ARN).
- created
Time string - The connection function created time.
- e
Tag string - A complex type that contains
Tagkey andTagvalue. - id string
- The provider-assigned unique ID for this managed resource.
- last
Modified stringTime - The connection function last modified time.
- stage
Connection
Function Stage - The connection function stage.
- status
Connection
Function Status - The connection function status.
- aws_
id str - The connection function ID.
- connection_
function_ strarn - The connection function Amazon Resource Name (ARN).
- created_
time str - The connection function created time.
- e_
tag str - A complex type that contains
Tagkey andTagvalue. - id str
- The provider-assigned unique ID for this managed resource.
- last_
modified_ strtime - The connection function last modified time.
- stage
Connection
Function Stage - The connection function stage.
- status
Connection
Function Status - The connection function status.
- aws
Id String - The connection function ID.
- connection
Function StringArn - The connection function Amazon Resource Name (ARN).
- created
Time String - The connection function created time.
- e
Tag String - A complex type that contains
Tagkey andTagvalue. - id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringTime - The connection function last modified time.
- stage "DEVELOPMENT" | "LIVE"
- The connection function stage.
- status "UNPUBLISHED" | "DEPLOYED" | "UNASSOCIATED" | "PUBLISHING" | "IN_PROGRESS"
- The connection function status.
Supporting Types
ConnectionFunctionConfig, ConnectionFunctionConfigArgs
- Comment string
- A comment to describe the function.
- Runtime
Pulumi.
Aws Native. Cloud Front. Connection Function Config Runtime - The function's runtime environment version.
- Key
Value List<Pulumi.Store Associations Aws Native. Cloud Front. Inputs. Connection Function Key Value Store Association> - The configuration for the key value store associations.
- Comment string
- A comment to describe the function.
- Runtime
Connection
Function Config Runtime - The function's runtime environment version.
- Key
Value []ConnectionStore Associations Function Key Value Store Association - The configuration for the key value store associations.
- comment String
- A comment to describe the function.
- runtime
Connection
Function Config Runtime - The function's runtime environment version.
- key
Value List<ConnectionStore Associations Function Key Value Store Association> - The configuration for the key value store associations.
- comment string
- A comment to describe the function.
- runtime
Connection
Function Config Runtime - The function's runtime environment version.
- key
Value ConnectionStore Associations Function Key Value Store Association[] - The configuration for the key value store associations.
- comment str
- A comment to describe the function.
- runtime
Connection
Function Config Runtime - The function's runtime environment version.
- key_
value_ Sequence[Connectionstore_ associations Function Key Value Store Association] - 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.
- key
Value List<Property Map>Store Associations - The configuration for the key value store associations.
ConnectionFunctionConfigRuntime, ConnectionFunctionConfigRuntimeArgs
- Cloudfront
Js20 - cloudfront-js-2.0
- Connection
Function Config Runtime Cloudfront Js20 - cloudfront-js-2.0
- Cloudfront
Js20 - cloudfront-js-2.0
- Cloudfront
Js20 - cloudfront-js-2.0
- CLOUDFRONT_JS20
- cloudfront-js-2.0
- "cloudfront-js-2.0"
- cloudfront-js-2.0
ConnectionFunctionKeyValueStoreAssociation, ConnectionFunctionKeyValueStoreAssociationArgs
- Key
Value stringStore Arn - The Amazon Resource Name (ARN) of the key value store association.
- Key
Value stringStore Arn - The Amazon Resource Name (ARN) of the key value store association.
- key
Value StringStore Arn - The Amazon Resource Name (ARN) of the key value store association.
- key
Value stringStore Arn - The Amazon Resource Name (ARN) of the key value store association.
- key_
value_ strstore_ arn - The Amazon Resource Name (ARN) of the key value store association.
- key
Value StringStore Arn - The Amazon Resource Name (ARN) of the key value store association.
ConnectionFunctionStage, ConnectionFunctionStageArgs
- Development
- DEVELOPMENT
- Live
- LIVE
- Connection
Function Stage Development - DEVELOPMENT
- Connection
Function Stage Live - LIVE
- Development
- DEVELOPMENT
- Live
- LIVE
- Development
- DEVELOPMENT
- Live
- LIVE
- DEVELOPMENT
- DEVELOPMENT
- LIVE
- LIVE
- "DEVELOPMENT"
- DEVELOPMENT
- "LIVE"
- LIVE
ConnectionFunctionStatus, ConnectionFunctionStatusArgs
- Unpublished
- UNPUBLISHED
- Deployed
- DEPLOYED
- Unassociated
- UNASSOCIATED
- Publishing
- PUBLISHING
- In
Progress - IN_PROGRESS
- Connection
Function Status Unpublished - UNPUBLISHED
- Connection
Function Status Deployed - DEPLOYED
- Connection
Function Status Unassociated - UNASSOCIATED
- Connection
Function Status Publishing - PUBLISHING
- Connection
Function Status In Progress - IN_PROGRESS
- Unpublished
- UNPUBLISHED
- Deployed
- DEPLOYED
- Unassociated
- UNASSOCIATED
- Publishing
- PUBLISHING
- In
Progress - IN_PROGRESS
- Unpublished
- UNPUBLISHED
- Deployed
- DEPLOYED
- Unassociated
- UNASSOCIATED
- Publishing
- PUBLISHING
- In
Progress - IN_PROGRESS
- UNPUBLISHED
- UNPUBLISHED
- DEPLOYED
- DEPLOYED
- UNASSOCIATED
- UNASSOCIATED
- PUBLISHING
- PUBLISHING
- IN_PROGRESS
- IN_PROGRESS
- "UNPUBLISHED"
- UNPUBLISHED
- "DEPLOYED"
- DEPLOYED
- "UNASSOCIATED"
- UNASSOCIATED
- "PUBLISHING"
- PUBLISHING
- "IN_PROGRESS"
- IN_PROGRESS
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
