Interface CfnConnectionFunctionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnectionFunctionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:06.456Z")
@Stability(Stable)
public interface CfnConnectionFunctionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnConnectionFunction.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudfront.*;
CfnConnectionFunctionProps cfnConnectionFunctionProps = CfnConnectionFunctionProps.builder()
.connectionFunctionCode("connectionFunctionCode")
.connectionFunctionConfig(ConnectionFunctionConfigProperty.builder()
.comment("comment")
.runtime("runtime")
// the properties below are optional
.keyValueStoreAssociations(List.of(KeyValueStoreAssociationProperty.builder()
.keyValueStoreArn("keyValueStoreArn")
.build()))
.build())
.name("name")
// the properties below are optional
.autoPublish(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnectionFunctionPropsstatic final classAn implementation forCfnConnectionFunctionProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA flag that determines whether to automatically publish the function to theLIVEstage when it’s created.The code for the connection function.Contains configuration information about a CloudFront function.getName()The connection function name.getTags()A complex type that contains zero or moreTagelements.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConnectionFunctionCode
The code for the connection function.- See Also:
-
getConnectionFunctionConfig
Contains configuration information about a CloudFront function.Returns union: either
IResolvableorCfnConnectionFunction.ConnectionFunctionConfigProperty- See Also:
-
getName
The connection function name.- See Also:
-
getAutoPublish
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.Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
getTags
A complex type that contains zero or moreTagelements.- See Also:
-
builder
- Returns:
- a
CfnConnectionFunctionProps.BuilderofCfnConnectionFunctionProps
-