Class CfnConnectionFunctionPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnConnectionFunctionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionFunctionPropsMixin>
- Enclosing class:
CfnConnectionFunctionPropsMixin
@Stability(Stable)
public static final class CfnConnectionFunctionPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionFunctionPropsMixin>
A fluent builder for
CfnConnectionFunctionPropsMixin.-
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(CfnConnectionFunctionPropsMixin.ConnectionFunctionConfigProperty connectionFunctionConfig) Contains configuration information about a CloudFront function.connectionFunctionConfig(IResolvable connectionFunctionConfig) Contains configuration information about a CloudFront function.create()create(CfnPropertyMixinOptions options) The connection function name.A complex type that contains zero or moreTagelements.
-
Method Details
-
create
@Stability(Stable) public static CfnConnectionFunctionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnConnectionFunctionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnConnectionFunctionPropsMixin.Builder.
-
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
@Stability(Stable) public CfnConnectionFunctionPropsMixin.Builder autoPublish(IResolvable 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:
-
connectionFunctionCode
@Stability(Stable) public CfnConnectionFunctionPropsMixin.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 CfnConnectionFunctionPropsMixin.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 CfnConnectionFunctionPropsMixin.Builder connectionFunctionConfig(CfnConnectionFunctionPropsMixin.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:
-
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<CfnConnectionFunctionPropsMixin>- Returns:
- a newly built instance of
CfnConnectionFunctionPropsMixin.
-