Class CfnConnectionFunction.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnConnectionFunction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionFunction>
- Enclosing class:
CfnConnectionFunction
@Stability(Stable)
public static final class CfnConnectionFunction.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionFunction>
A fluent builder for
CfnConnectionFunction.-
Method Summary
Modifier and TypeMethodDescriptionautoPublish(Boolean autoPublish) A flag that determines whether to automatically publish the function to theLIVEstage when it’s created.autoPublish(IResolvable autoPublish) A flag that determines whether to automatically publish the function to theLIVEstage when it’s created.build()connectionFunctionCode(String connectionFunctionCode) The code for the connection function.connectionFunctionConfig(IResolvable connectionFunctionConfig) Contains configuration information about a CloudFront function.connectionFunctionConfig(CfnConnectionFunction.ConnectionFunctionConfigProperty connectionFunctionConfig) Contains configuration information about a CloudFront function.The connection function name.A complex type that contains zero or moreTagelements.
-
Method Details
-
create
@Stability(Stable) public static CfnConnectionFunction.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnConnectionFunction.Builder.
-
connectionFunctionCode
@Stability(Stable) public CfnConnectionFunction.Builder connectionFunctionCode(String connectionFunctionCode) The code for the connection function.- Parameters:
connectionFunctionCode- The code for the connection function. This parameter is required.- Returns:
this- See Also:
-
connectionFunctionConfig
@Stability(Stable) public CfnConnectionFunction.Builder connectionFunctionConfig(IResolvable connectionFunctionConfig) Contains configuration information about a CloudFront function.- Parameters:
connectionFunctionConfig- Contains configuration information about a CloudFront function. This parameter is required.- Returns:
this- See Also:
-
connectionFunctionConfig
@Stability(Stable) public CfnConnectionFunction.Builder connectionFunctionConfig(CfnConnectionFunction.ConnectionFunctionConfigProperty connectionFunctionConfig) Contains configuration information about a CloudFront function.- Parameters:
connectionFunctionConfig- Contains configuration information about a CloudFront function. This parameter is required.- Returns:
this- See Also:
-
name
The connection function name.- Parameters:
name- The connection function name. This parameter is required.- Returns:
this- See Also:
-
autoPublish
A flag that determines whether to automatically publish the function to theLIVEstage when it’s created.To automatically publish to the
LIVEstage, set this property totrue.Default: - false
- Parameters:
autoPublish- A flag that determines whether to automatically publish the function to theLIVEstage when it’s created. This parameter is required.- Returns:
this- See Also:
-
autoPublish
A flag that determines whether to automatically publish the function to theLIVEstage when it’s created.To automatically publish to the
LIVEstage, set this property totrue.Default: - false
- Parameters:
autoPublish- A flag that determines whether to automatically publish the function to theLIVEstage when it’s created. This parameter is required.- Returns:
this- See Also:
-
tags
A complex type that contains zero or moreTagelements.- Parameters:
tags- A complex type that contains zero or moreTagelements. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectionFunction>- Returns:
- a newly built instance of
CfnConnectionFunction.
-